From cd95405c6aa700f191c8d9014f076dc73a154063 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Fri, 30 Jun 2023 07:32:53 -0500 Subject: [PATCH] update chunk wrapper docs --- .../common/wrappers/WrapperFactory.java | 10 +++++++--- coreSubProjects | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/WrapperFactory.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/WrapperFactory.java index ea931d8bf..a049f4392 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/WrapperFactory.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/WrapperFactory.java @@ -94,7 +94,7 @@ public class WrapperFactory implements IWrapperFactory } } - // MC 1.18 + // MC 1.18, 1.19, 1.20 #if POST_MC_1_17_1 else if (objectArray.length == 2) { @@ -123,7 +123,11 @@ public class WrapperFactory implements IWrapperFactory #else // Intentional compiler error to bring attention to the missing wrapper function. // If you need to work on an unimplemented version but don't have the ability to implement this yet - // you can comment it out, but please don't commit it. Someone will have to implement it + // you can comment it out, but please don't commit it. Someone will have to implement it . + + // After implementing the new version please read this method's javadocs for instructions + // on what other locations also need to be updated, the DhAPI specifically needs to + // be updated to state which objects this method accepts. not implemented for this version of Minecraft! #endif } @@ -137,7 +141,7 @@ public class WrapperFactory implements IWrapperFactory "Chunk wrapper creation failed. \n" + "Expected parameters: \n"); - // MC 1.18 + // MC 1.18, 1.19, 1.20 #if POST_MC_1_17_1 message.append("["+ChunkAccess.class.getName()+"], \n"); message.append("["+LevelReader.class.getName()+"]. \n"); diff --git a/coreSubProjects b/coreSubProjects index b9cfe535d..10b916118 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit b9cfe535d1073d624782d794c0d1f569b8103437 +Subproject commit 10b9161188deb2e676d611d6d38bbbbfad79990e