mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-26 14:53:04 +00:00
19 lines
463 B
Java
19 lines
463 B
Java
package slimeknights.mantle.inventory;
|
|
|
|
import net.minecraft.inventory.IInventory;
|
|
import net.minecraft.inventory.Slot;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
/** Slot that can only be taken out of */
|
|
public class SlotOut extends Slot {
|
|
|
|
public SlotOut(IInventory inventoryIn, int index, int xPosition, int yPosition) {
|
|
super(inventoryIn, index, xPosition, yPosition);
|
|
}
|
|
|
|
@Override
|
|
public boolean isItemValid(ItemStack stack) {
|
|
return false;
|
|
}
|
|
}
|