Skip to content

Commit

Permalink
Patch minecraft move mixin
Browse files Browse the repository at this point in the history
Fixes #898
  • Loading branch information
Su5eD committed Mar 10, 2024
1 parent 1d38572 commit 1323ce8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ public static List<Patch> getPatches() {
.targetInjectionPoint("TAIL", "")
.modifyTarget("connector_onSetKeyMapping")
.build(),
Patch.builder()
.targetClass("net/minecraft/world/entity/vehicle/AbstractMinecart")
.targetMethod("m_6401_")
.targetInjectionPoint("Lnet/minecraft/world/entity/vehicle/AbstractMinecart;m_6478_(Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V")
.modifyTarget("moveMinecartOnRail(Lnet/minecraft/core/BlockPos;)V")
.build(),
Patch.builder()
.targetClass("net/minecraft/world/level/block/piston/PistonStructureResolver")
.targetMethod("m_155937_")
Expand Down

0 comments on commit 1323ce8

Please sign in to comment.