mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-27 22:40:23 +00:00
add world context to Feature
This commit is contained in:
1 parent
62cf861c22
commit
b52dcf2f15
1 file changed
+2
-1
@@ -1,9 +1,10 @@
|
|||||||
package com.dfsek.terra.api.structure.feature;
|
package com.dfsek.terra.api.structure.feature;
|
||||||
|
|
||||||
import com.dfsek.terra.api.structure.Structure;
|
import com.dfsek.terra.api.structure.Structure;
|
||||||
|
import com.dfsek.terra.api.world.World;
|
||||||
|
|
||||||
public interface Feature {
|
public interface Feature {
|
||||||
Structure getStructure(double x, double y, double z);
|
Structure getStructure(World world, int x, int y, int z);
|
||||||
|
|
||||||
Distributor getDistributor();
|
Distributor getDistributor();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user