@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/world/inventory/ContainerGrindstone.java
|
||||
+++ b/net/minecraft/world/inventory/ContainerGrindstone.java
|
||||
@@ -19,8 +19,30 @@
|
||||
@@ -20,8 +20,30 @@
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.phys.Vec3D;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
public static final int MAX_NAME_LENGTH = 35;
|
||||
public static final int INPUT_SLOT = 0;
|
||||
public static final int ADDITIONAL_SLOT = 1;
|
||||
@@ -46,15 +68,22 @@
|
||||
@@ -47,15 +69,22 @@
|
||||
super.setChanged();
|
||||
ContainerGrindstone.this.slotsChanged(this);
|
||||
}
|
||||
@@ -56,7 +56,7 @@
|
||||
@Override
|
||||
public boolean mayPlace(ItemStack itemstack) {
|
||||
return itemstack.isDamageableItem() || EnchantmentManager.hasAnyEnchantments(itemstack);
|
||||
@@ -124,6 +153,7 @@
|
||||
@@ -125,6 +154,7 @@
|
||||
this.addSlot(new Slot(playerinventory, j, 8 + j * 18, 142));
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -136,7 +166,8 @@
|
||||
@@ -137,7 +167,8 @@
|
||||
}
|
||||
|
||||
private void createResult() {
|
||||
@@ -74,7 +74,7 @@
|
||||
this.broadcastChanges();
|
||||
}
|
||||
|
||||
@@ -238,6 +269,7 @@
|
||||
@@ -239,6 +270,7 @@
|
||||
|
||||
@Override
|
||||
public boolean stillValid(EntityHuman entityhuman) {
|
||||
|
||||
Reference in New Issue
Block a user