mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
20 lines
483 B
Java
20 lines
483 B
Java
package tconstruct.armor.inventory;
|
|
|
|
import net.minecraft.inventory.*;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class SlotOnlyTake extends Slot {
|
|
|
|
public SlotOnlyTake(IInventory builder, int par3, int par4, int par5) {
|
|
super(builder, par3, par4, par5);
|
|
}
|
|
|
|
/**
|
|
* Check if the stack is a valid item for this slot. Always true beside for the armor slots.
|
|
*/
|
|
@Override
|
|
public boolean isItemValid(ItemStack stack) {
|
|
return false;
|
|
}
|
|
}
|