From e1edd01069a9a35cb786563a9e76a7d63205002b Mon Sep 17 00:00:00 2001 From: James Seibel Date: Mon, 26 Jul 2021 22:20:00 -0500 Subject: [PATCH] Implement a few small features in LodServerWorld --- .../worldGeneration/LodServerWorld.java | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/seibel/lod/builders/worldGeneration/LodServerWorld.java b/src/main/java/com/seibel/lod/builders/worldGeneration/LodServerWorld.java index cdb55aed0..7c15b50a4 100644 --- a/src/main/java/com/seibel/lod/builders/worldGeneration/LodServerWorld.java +++ b/src/main/java/com/seibel/lod/builders/worldGeneration/LodServerWorld.java @@ -160,6 +160,17 @@ public class LodServerWorld implements ISeedReader { return new WorldLightManager(null, false, false); } + @Override + public long getSeed() + { + return serverWorld.getSeed(); + } + + @Override + public DynamicRegistries registryAccess() + { + return serverWorld.registryAccess(); + } @@ -190,10 +201,6 @@ public class LodServerWorld implements ISeedReader { throw new UnsupportedOperationException("Not Implemented"); } @Override - public DynamicRegistries registryAccess() { - throw new UnsupportedOperationException("Not Implemented"); - } - @Override public BiomeManager getBiomeManager() { throw new UnsupportedOperationException("Not Implemented"); } @@ -221,11 +228,6 @@ public class LodServerWorld implements ISeedReader { public boolean destroyBlock(BlockPos pos, boolean dropBlock, Entity entity, int recursionLeft) { throw new UnsupportedOperationException("Not Implemented"); } - - @Override - public long getSeed() { - throw new UnsupportedOperationException("Not Implemented"); - } @Override