Large chunk on the pattern terminal.

This commit is contained in:
AlgorithmX2
2014-04-09 23:51:08 -05:00
parent 01c76a6870
commit d84be03027
11 changed files with 206 additions and 45 deletions
+5 -4
View File
@@ -4,22 +4,23 @@ import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
public class SlotPatternTerm extends AppEngSlot
public class SlotPatternTerm extends OptionalSlotFake
{
public SlotPatternTerm(IInventory inv, int idx, int x, int y) {
super( inv, idx, x, y );
public SlotPatternTerm(IInventory inv, IOptionalSlotHost h, int idx, int x, int y, int grpnum) {
super( inv, h, idx, x, y, 0, 0, grpnum );
}
@Override
public boolean canTakeStack(EntityPlayer par1EntityPlayer)
{
return false;
return super.canTakeStack( par1EntityPlayer );
}
@Override
public void onPickupFromSlot(EntityPlayer p, ItemStack is)
{
super.onPickupFromSlot( p, is );
}
}