mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 13:30:10 +00:00
implement world api changes
This commit is contained in:
1 parent
01f6df4a19
commit
1e9e1dce75
49 files changed
+111
-1428
No files matched your search
+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