mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 22:31:52 +00:00
add world context to Feature
This commit is contained in:
@@ -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