27 lines
545 B
Java
27 lines
545 B
Java
package mods.tinker.tconstruct.inventory;
|
|
|
|
import net.minecraft.inventory.IInventory;
|
|
import net.minecraft.inventory.Slot;
|
|
|
|
public class ActiveSlot extends Slot
|
|
{
|
|
protected boolean active;
|
|
public int activeSlotNumber;
|
|
|
|
public ActiveSlot(IInventory iinventory, int par2, int par3, int par4, boolean flag)
|
|
{
|
|
super(iinventory, par2, par3, par4);
|
|
active = flag;
|
|
}
|
|
|
|
public void setActive(boolean flag)
|
|
{
|
|
active = flag;
|
|
}
|
|
|
|
public boolean getActive()
|
|
{
|
|
return active;
|
|
}
|
|
}
|