From 916b187aa8cc6dbd9663e728ec19b4675795163e Mon Sep 17 00:00:00 2001 From: JozsefA Date: Tue, 11 May 2021 11:39:13 -0700 Subject: [PATCH] Better belt breaking --- .../contraptions/relays/belt/BeltBlock.java | 3 ++- .../create/foundation/BreakProgressHook.java | 22 +++++++++++++++ .../foundation/mixin/BreakProgressMixin.java | 27 +++++++++++++++++++ src/main/resources/create.mixins.json | 21 ++++++++------- 4 files changed, 62 insertions(+), 11 deletions(-) create mode 100644 src/main/java/com/simibubi/create/foundation/BreakProgressHook.java create mode 100644 src/main/java/com/simibubi/create/foundation/mixin/BreakProgressMixin.java diff --git a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java index 444c963cf..f8a518fa7 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java +++ b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java @@ -126,7 +126,7 @@ public class BeltBlock extends HorizontalKineticBlock implements ITE