mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
27 lines
531 B
Java
27 lines
531 B
Java
package 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;
|
|
}
|
|
}
|