mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-28 07:35:44 +00:00
22 lines
516 B
Java
22 lines
516 B
Java
package slimeknights.mantle.inventory;
|
|
|
|
import net.minecraft.inventory.IInventory;
|
|
import net.minecraft.inventory.container.Slot;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
/** 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(@Nonnull ItemStack stack) {
|
|
return false;
|
|
}
|
|
}
|