change mixin name

This commit is contained in:
loenaaaa committed 2026-01-13 12:49:48 +08:00
1 parent 13f832e7c0
commit 82ba5efed6
1 file changed
+1 -1
@@ -26,7 +26,7 @@ public abstract class MixinPlayerControllerMP {
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/block/Block;getPlayerRelativeBlockHardness(Lnet/minecraft/entity/player/EntityPlayer;Lnet/minecraft/world/World;III)F"))
private void mixin(int x, int y, int z, int side, CallbackInfo ci) {
private void StorageDrawers$checkIfClickingDrawer(int x, int y, int z, int side, CallbackInfo ci) {
if (mc.theWorld.getTileEntity(x, y, z) instanceof TileEntityDrawers ted) {
if (ted.getDirection() == side) {
final int reach = 5;