diff --git a/README.md b/README.md index feb2a5d..81260c2 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ expansive and inspiring worlds to build and explore in! _Probably! (to some degree) - TerraForged is designed to work with many of the same world-gen systems that the majority of block & biome providing mods use. Certain biomes' terrain may not always look exactly as their author designed but should otherwise be compatible. Feel free to report any other -compatibility issues on the issue tracker_ +compatibility issues on the issue tracker._ 2. "How can I use this on my server?" _When Forge supports it, you can simply set level-type=terraforged in your server.properties file. In diff --git a/TerraForgedAPI/src/main/java/com/terraforged/api/chunk/ChunkAccess.java b/TerraForgedAPI/src/main/java/com/terraforged/api/chunk/ChunkAccess.java index 99281f8..ac47151 100644 --- a/TerraForgedAPI/src/main/java/com/terraforged/api/chunk/ChunkAccess.java +++ b/TerraForgedAPI/src/main/java/com/terraforged/api/chunk/ChunkAccess.java @@ -31,7 +31,5 @@ import net.minecraft.world.chunk.IChunk; public interface ChunkAccess extends IChunk { - default BlockState getState(BlockPos pos) { - return getBlockState(pos); - } + BlockState getState(BlockPos pos); } diff --git a/TerraForgedAPI/src/main/java/com/terraforged/api/chunk/ChunkDelegate.java b/TerraForgedAPI/src/main/java/com/terraforged/api/chunk/ChunkDelegate.java index 1362d49..6d405bd 100644 --- a/TerraForgedAPI/src/main/java/com/terraforged/api/chunk/ChunkDelegate.java +++ b/TerraForgedAPI/src/main/java/com/terraforged/api/chunk/ChunkDelegate.java @@ -73,6 +73,11 @@ public class ChunkDelegate implements ChunkAccess { return chunk; } + @Override + public BlockState getState(BlockPos pos) { + return chunk.getBlockState(pos); + } + @Override @Nullable public BlockState setBlockState(BlockPos pos, BlockState state, boolean isMoving) {