diff --git a/Libs/pom.xml b/Libs/pom.xml index 5714a19..a8a0f46 100644 --- a/Libs/pom.xml +++ b/Libs/pom.xml @@ -7,7 +7,7 @@ Libs Libs. - 1.20.6 + 1.21 ${minecraftVersion}-R0.1-SNAPSHOT diff --git a/README.md b/README.md index 6175124..386e79f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Paper Anti-Xray can't hide ores that are exposed to air in caves for example (se ![RayTraceAntiXray](https://user-images.githubusercontent.com/18699205/185815590-4b2efce6-5a26-4579-b079-e9958a454fd0.gif) ## How to install -* Download and install [Paper](https://papermc.io/downloads/paper) 1.20.6. Folia is supported since Minecraft 1.20.1. +* Download and install [Paper](https://papermc.io/downloads/paper) 1.21. Folia is supported since Minecraft 1.20.1. * Enable [Paper Anti-Xray](https://docs.papermc.io/paper/anti-xray) using `engine-mode: 1`. * Download and install [ProtocolLib](https://www.spigotmc.org/resources/protocollib.1997/). * Download and install [RayTraceAntiXray](https://builtbybit.com/resources/raytraceantixray.24914/). (For older Minecraft versions, browse the update history.) diff --git a/RayTraceAntiXray/pom.xml b/RayTraceAntiXray/pom.xml index b74be6a..3a7fa97 100644 --- a/RayTraceAntiXray/pom.xml +++ b/RayTraceAntiXray/pom.xml @@ -3,7 +3,7 @@ com.vanillage.raytraceantixray raytraceantixray-parent - 1.14.0 + 1.15.0 raytraceantixray RayTraceAntiXray @@ -40,12 +40,6 @@ ${paperVersion} provided - - io.papermc.paper - paper-mojangapi - ${paperVersion} - provided - io.papermc.paper paper-server @@ -56,7 +50,7 @@ com.mojang datafixerupper - 7.0.14 + 8.0.16 provided diff --git a/RayTraceAntiXray/src/main/java/com/vanillage/raytraceantixray/antixray/ChunkPacketBlockControllerAntiXray.java b/RayTraceAntiXray/src/main/java/com/vanillage/raytraceantixray/antixray/ChunkPacketBlockControllerAntiXray.java index fe26be4..8b606f1 100644 --- a/RayTraceAntiXray/src/main/java/com/vanillage/raytraceantixray/antixray/ChunkPacketBlockControllerAntiXray.java +++ b/RayTraceAntiXray/src/main/java/com/vanillage/raytraceantixray/antixray/ChunkPacketBlockControllerAntiXray.java @@ -161,7 +161,7 @@ public ChunkPacketBlockControllerAntiXray(RayTraceAntiXray plugin, boolean rayTr traceGlobal = new boolean[Block.BLOCK_STATE_REGISTRY.size()]; for (String id : toTrace) { - Block block = BuiltInRegistries.BLOCK.getOptional(new ResourceLocation(id)).orElse(null); + Block block = BuiltInRegistries.BLOCK.getOptional(ResourceLocation.parse(id)).orElse(null); // Don't obfuscate air because air causes unnecessary block updates and causes block updates to fail in the void if (block != null && !block.defaultBlockState().isAir()) { diff --git a/RayTraceAntiXray/src/main/resources/plugin.yml b/RayTraceAntiXray/src/main/resources/plugin.yml index 41561f2..4a9a6be 100644 --- a/RayTraceAntiXray/src/main/resources/plugin.yml +++ b/RayTraceAntiXray/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: RayTraceAntiXray main: com.vanillage.raytraceantixray.RayTraceAntiXray -version: 1.14.0 -api-version: '1.20' +version: 1.15.0 +api-version: '1.21' description: Paper plugin for server-side async multithreaded ray tracing to hide ores that are exposed to air using Paper Anti-Xray engine-mode 1. load: STARTUP depend: diff --git a/pom.xml b/pom.xml index d4b1e57..b5d854f 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.vanillage.raytraceantixray raytraceantixray-parent - 1.14.0 + 1.15.0 pom RayTraceAntiXray-Parent Paper plugin for server-side async multithreaded ray tracing to hide ores that are exposed to air using Paper Anti-Xray engine-mode 1. @@ -11,7 +11,7 @@ RayTraceAntiXray - 1.20.6 + 1.21 ${minecraftVersion}-R0.1-SNAPSHOT