Skip to content

Commit

Permalink
Update adapter definition to 1.13.19
Browse files Browse the repository at this point in the history
Fixes #1303
  • Loading branch information
Su5eD committed Aug 9, 2024
1 parent 3577a23 commit 556cb22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,6 @@ public static List<Patch> 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")
Expand Down

0 comments on commit 556cb22

Please sign in to comment.