mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 06:11:24 +00:00
implement world api changes
This commit is contained in:
+2
-1
@@ -14,6 +14,7 @@ import com.dfsek.terra.api.structure.feature.Feature;
|
||||
import com.dfsek.terra.api.structure.feature.Locator;
|
||||
import com.dfsek.terra.api.util.collection.ProbabilityCollection;
|
||||
import com.dfsek.terra.api.world.access.World;
|
||||
import com.dfsek.terra.api.world.access.WorldAccess;
|
||||
|
||||
|
||||
public class ConfiguredFeature implements Feature {
|
||||
@@ -32,7 +33,7 @@ public class ConfiguredFeature implements Feature {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Structure getStructure(World world, int x, int y, int z) {
|
||||
public Structure getStructure(WorldAccess world, int x, int y, int z) {
|
||||
return structures.get(structureSelector, x, y, z, world.getSeed());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user