mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
29 lines
648 B
Java
29 lines
648 B
Java
package com.hbm.inventory;
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
import net.minecraft.inventory.IInventory;
|
|
import net.minecraft.inventory.Slot;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
/**
|
|
* Deprecated slots can hold items from previous versions, but are otherwise entirely uninteractable
|
|
*/
|
|
public class SlotDeprecated extends Slot {
|
|
|
|
public SlotDeprecated(IInventory inventory, int id, int x, int y) {
|
|
super(inventory, id, x, y);
|
|
}
|
|
|
|
@Override
|
|
public boolean isItemValid(ItemStack stack) {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
@SideOnly(Side.CLIENT)
|
|
public boolean func_111238_b() {
|
|
return false;
|
|
}
|
|
}
|