Fixed mixins conflicts and recipes console spam
This commit is contained in:
parent
d45c37c370
commit
89e327240d
32 changed files with 84 additions and 85 deletions
|
@ -20,7 +20,7 @@ public abstract class CraftingScreenHandlerMixin
|
|||
private ScreenHandlerContext context;
|
||||
|
||||
@Inject(method = "canUse", at = @At("HEAD"), cancellable = true)
|
||||
private void canUse(PlayerEntity player, CallbackInfoReturnable<Boolean> info) {
|
||||
private void be_canUse(PlayerEntity player, CallbackInfoReturnable<Boolean> info) {
|
||||
if (context.run((world, pos) -> {
|
||||
return world.getBlockState(pos).getBlock() instanceof CraftingTableBlock;
|
||||
}, true)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue