mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
Initial test of Gradle (not working yet)
This commit is contained in:
1 parent
e8b7378831
commit
cb87c836c8
519 files changed
+351
No files matched your search
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user