diff --git a/gradle.properties b/gradle.properties index cc6368a..b32f7d5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ org.gradle.caching=true # Versions versionConnector=2.0.0-beta.2 versionAdapter=1.13.1+1.21-20240719.094540 -versionAdapterDefinition=1.13.16+1.21 +versionAdapterDefinition=1.13.19+1.21 versionAdapterRuntime=1.0.0+1.21 versionMc=1.21 diff --git a/src/main/java/org/sinytra/connector/transformer/MixinPatches.java b/src/main/java/org/sinytra/connector/transformer/MixinPatches.java index 229bed8..ff3a126 100644 --- a/src/main/java/org/sinytra/connector/transformer/MixinPatches.java +++ b/src/main/java/org/sinytra/connector/transformer/MixinPatches.java @@ -151,13 +151,6 @@ public static List getPatches() { }) .modifyInjectionPoint("Lnet/minecraft/client/renderer/entity/layers/ElytraLayer;shouldRender(Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/LivingEntity;)Z") .build(), - // ======= GUI Rendering patches TODO Can adapter automate these? - Patch.builder() - .targetClass("net/minecraft/client/gui/Gui") - .targetMethod("renderPlayerHealth") - .targetInjectionPoint("Lnet/minecraft/client/gui/Gui;renderHearts(Lnet/minecraft/client/gui/GuiGraphics;Lnet/minecraft/world/entity/player/Player;IIIIFIIIZ)V") - .modifyTarget("renderHealthLevel") - .build(), // ======= TODO Handle in adapter Patch.builder() .targetClass("net/minecraft/world/entity/vehicle/Boat")