diff --git a/dist/baritone-api-1.0.0.jar b/dist/baritone-api-1.0.0.jar index eefa759..f23f3fe 100644 Binary files a/dist/baritone-api-1.0.0.jar and b/dist/baritone-api-1.0.0.jar differ diff --git a/dist/baritone-api-forge-1.0.0.jar b/dist/baritone-api-forge-1.0.0.jar index d43c57c..2a02f11 100644 Binary files a/dist/baritone-api-forge-1.0.0.jar and b/dist/baritone-api-forge-1.0.0.jar differ diff --git a/dist/baritone-deobf-1.0.0.jar b/dist/baritone-deobf-1.0.0.jar index 45f96f7..d739c7d 100644 Binary files a/dist/baritone-deobf-1.0.0.jar and b/dist/baritone-deobf-1.0.0.jar differ diff --git a/dist/baritone-standalone-1.0.0.jar b/dist/baritone-standalone-1.0.0.jar index 9a9291a..c564400 100644 Binary files a/dist/baritone-standalone-1.0.0.jar and b/dist/baritone-standalone-1.0.0.jar differ diff --git a/dist/baritone-standalone-forge-1.0.0.jar b/dist/baritone-standalone-forge-1.0.0.jar index 777c52f..1913f03 100644 Binary files a/dist/baritone-standalone-forge-1.0.0.jar and b/dist/baritone-standalone-forge-1.0.0.jar differ diff --git a/dist/baritone-unoptimized-1.0.0.jar b/dist/baritone-unoptimized-1.0.0.jar index f2b6d5a..38802ee 100644 Binary files a/dist/baritone-unoptimized-1.0.0.jar and b/dist/baritone-unoptimized-1.0.0.jar differ diff --git a/dist/checksums.txt b/dist/checksums.txt index b30c5be..0ae0d21 100644 --- a/dist/checksums.txt +++ b/dist/checksums.txt @@ -1,6 +1,6 @@ -31d1e4c533457c1cdb6d37bf755fe69920910e4a baritone-api-1.0.0.jar -b2a16f2d1e0054104650bca60a20046879a2e14a baritone-deobf-1.0.0.jar -dadf3cf8a589b19c072958a9d655b494318adc13 baritone-api-forge-1.0.0.jar -f393d668386d305a843cbfa08a489d1c55fba79e baritone-standalone-1.0.0.jar -df6545605712832b4056f5a826c8c3b8118486e7 baritone-standalone-forge-1.0.0.jar -c5260c519ea88403f0d7860fc8f176b7b420729c baritone-unoptimized-1.0.0.jar +ad3d2c4e422bcf1e0cc8bfca8cb0ad5d7a73b6e3 baritone-api-1.0.0.jar +17b3cbe02e0d37e980a7c65b04698692a680eff5 baritone-deobf-1.0.0.jar +60e9ee9e357636d1a6ad4a43a18c62a099add534 baritone-api-forge-1.0.0.jar +689197faa2dda7179e97f8d7f9d011fdc1712d34 baritone-standalone-1.0.0.jar +222000c72252ec940393274ec73f549df8f3f380 baritone-standalone-forge-1.0.0.jar +ee4d271ef6b985660d08f86c0916bb08f5b43f99 baritone-unoptimized-1.0.0.jar diff --git a/src/launch/java/baritone/launch/mixins/MixinMinecraft.java b/src/launch/java/baritone/launch/mixins/MixinMinecraft.java index 4a95cd8..b601622 100644 --- a/src/launch/java/baritone/launch/mixins/MixinMinecraft.java +++ b/src/launch/java/baritone/launch/mixins/MixinMinecraft.java @@ -116,28 +116,28 @@ private void postLoadWorld(WorldClient world, String worldName, CallbackInfo ci) ); } - @Inject( - method = "clickMouse", - at = @At( - value = "INVOKE", - target = "net/minecraft/client/multiplayer/PlayerControllerMP.clickBlock(Lnet/minecraft/util/BlockPos;Lnet/minecraft/util/EnumFacing;)Z" - ), - locals = LocalCapture.CAPTURE_FAILHARD - ) - private void onBlockBreak(CallbackInfo ci, BlockPos pos) { - BaritoneAPI.getProvider().getPrimaryBaritone().getGameEventHandler().onBlockInteract(new BlockInteractEvent(pos, BlockInteractEvent.Type.START_BREAK)); - } - - @Inject( - method = "rightClickMouse", - at = @At( - value = "INVOKE", - target = "net/minecraft/client/entity/EntityPlayerSP.swingItem()V" - ), - locals = LocalCapture.CAPTURE_FAILHARD - ) - private void onBlockUse(CallbackInfo ci, boolean noAction, ItemStack itemStack, BlockPos pos, int stackSize) { - BaritoneAPI.getProvider().getPrimaryBaritone().getGameEventHandler().onBlockInteract(new BlockInteractEvent(pos, BlockInteractEvent.Type.USE)); - } +// @Inject( +// method = "clickMouse", +// at = @At( +// value = "INVOKE", +// target = "net/minecraft/client/multiplayer/PlayerControllerMP.clickBlock(Lnet/minecraft/util/BlockPos;Lnet/minecraft/util/EnumFacing;)Z" +// ), +// locals = LocalCapture.CAPTURE_FAILHARD +// ) +// private void onBlockBreak(CallbackInfo ci, BlockPos pos) { +// BaritoneAPI.getProvider().getPrimaryBaritone().getGameEventHandler().onBlockInteract(new BlockInteractEvent(pos, BlockInteractEvent.Type.START_BREAK)); +// } +// +// @Inject( +// method = "rightClickMouse", +// at = @At( +// value = "INVOKE", +// target = "net/minecraft/client/entity/EntityPlayerSP.swingItem()V" +// ), +// locals = LocalCapture.CAPTURE_FAILHARD +// ) +// private void onBlockUse(CallbackInfo ci, boolean noAction, ItemStack itemStack, BlockPos pos, int stackSize) { +// BaritoneAPI.getProvider().getPrimaryBaritone().getGameEventHandler().onBlockInteract(new BlockInteractEvent(pos, BlockInteractEvent.Type.USE)); +// } }