@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/world/inventory/ContainerBrewingStand.java
|
||||
+++ b/net/minecraft/world/inventory/ContainerBrewingStand.java
|
||||
@@ -13,18 +13,29 @@
|
||||
@@ -12,6 +12,11 @@
|
||||
import net.minecraft.world.item.alchemy.PotionRegistry;
|
||||
import net.minecraft.world.item.alchemy.PotionUtil;
|
||||
|
||||
@@ -11,9 +11,10 @@
|
||||
+
|
||||
public class ContainerBrewingStand extends Container {
|
||||
|
||||
private final IInventory brewingStand;
|
||||
private final IContainerProperties d;
|
||||
private final Slot e;
|
||||
private static final int BOTTLE_SLOT_START = 0;
|
||||
@@ -28,12 +33,18 @@
|
||||
private final IContainerProperties brewingStandData;
|
||||
private final Slot ingredientSlot;
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ private CraftInventoryView bukkitEntity = null;
|
||||
@@ -30,7 +31,7 @@
|
||||
a(iinventory, 5);
|
||||
a(icontainerproperties, 2);
|
||||
this.brewingStand = iinventory;
|
||||
@@ -52,6 +63,7 @@
|
||||
@@ -61,6 +72,7 @@
|
||||
|
||||
@Override
|
||||
public boolean canUse(EntityHuman entityhuman) {
|
||||
@@ -38,8 +39,8 @@
|
||||
return this.brewingStand.a(entityhuman);
|
||||
}
|
||||
|
||||
@@ -184,4 +196,17 @@
|
||||
return item == Items.POTION || item == Items.SPLASH_POTION || item == Items.LINGERING_POTION || item == Items.GLASS_BOTTLE;
|
||||
@@ -198,4 +210,17 @@
|
||||
return 64;
|
||||
}
|
||||
}
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user