Fixed mixins conflicts and recipes console spam

This commit is contained in:
Aleksey 2021-01-10 11:22:24 +03:00
parent d45c37c370
commit 89e327240d
32 changed files with 84 additions and 85 deletions

View file

@ -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)) {