mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-06 07:46:13 +00:00
basic Feature API
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.dfsek.terra.api.structure;
|
||||
package com.dfsek.terra.api.structure.configured;
|
||||
|
||||
import com.dfsek.terra.api.structure.Structure;
|
||||
import com.dfsek.terra.api.structure.StructureSpawn;
|
||||
import com.dfsek.terra.api.util.Range;
|
||||
import com.dfsek.terra.api.util.collection.ProbabilityCollection;
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.dfsek.terra.api.structure.feature;
|
||||
|
||||
public interface Distributor {
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.dfsek.terra.api.structure.feature;
|
||||
|
||||
import com.dfsek.terra.api.structure.Structure;
|
||||
|
||||
public interface Feature {
|
||||
Structure getStructure(double x, double y, double z);
|
||||
|
||||
Distributor getDistributor();
|
||||
|
||||
Locator getLocator();
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.dfsek.terra.api.structure.feature;
|
||||
|
||||
public interface Locator {
|
||||
}
|
||||
Reference in New Issue
Block a user