mappin updates

This commit is contained in:
gnembon committed 2020-01-28 12:26:53 -04:00
1 parent 00a540505e
commit c5afe202f7
1 file changed
+2 -2
@@ -58,7 +58,7 @@ public class ServerPlayNetworkHandler_interactionUpdatesMixin
} }
@Inject(method = "onPlayerAction", at = @At( @Inject(method = "onPlayerAction", at = @At(
value = "INVOKE", value = "INVOKE",
target = "Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_14263(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/network/packet/PlayerActionC2SPacket$Action;Lnet/minecraft/util/math/Direction;I)V", target = "Lnet/minecraft/server/network/ServerPlayerInteractionManager;processBlockBreakingAction(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/network/packet/PlayerActionC2SPacket$Action;Lnet/minecraft/util/math/Direction;I)V",
shift = At.Shift.BEFORE shift = At.Shift.BEFORE
)) ))
private void beforeBlockBroken(PlayerActionC2SPacket packet, CallbackInfo ci) private void beforeBlockBroken(PlayerActionC2SPacket packet, CallbackInfo ci)
@@ -69,7 +69,7 @@ public class ServerPlayNetworkHandler_interactionUpdatesMixin
@Inject(method = "onPlayerAction", at = @At( @Inject(method = "onPlayerAction", at = @At(
value = "INVOKE", value = "INVOKE",
target = "Lnet/minecraft/server/network/ServerPlayerInteractionManager;method_14263(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/network/packet/PlayerActionC2SPacket$Action;Lnet/minecraft/util/math/Direction;I)V", target = "Lnet/minecraft/server/network/ServerPlayerInteractionManager;processBlockBreakingAction(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/network/packet/PlayerActionC2SPacket$Action;Lnet/minecraft/util/math/Direction;I)V",
shift = At.Shift.AFTER shift = At.Shift.AFTER
)) ))
private void afterBlockBroken(PlayerActionC2SPacket packet, CallbackInfo ci) private void afterBlockBroken(PlayerActionC2SPacket packet, CallbackInfo ci)