32 lines
630 B
Java
32 lines
630 B
Java
![]() |
package WayofTime.bloodmagic.tile;
|
||
|
|
||
|
import net.minecraft.item.ItemStack;
|
||
|
import net.minecraft.nbt.NBTTagCompound;
|
||
|
|
||
|
public class TileMimic extends TileInventory
|
||
|
{
|
||
|
public TileMimic()
|
||
|
{
|
||
|
super(1, "mimic");
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void readFromNBT(NBTTagCompound tagCompound)
|
||
|
{
|
||
|
super.readFromNBT(tagCompound);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public NBTTagCompound writeToNBT(NBTTagCompound tagCompound)
|
||
|
{
|
||
|
super.writeToNBT(tagCompound);
|
||
|
|
||
|
return tagCompound;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public boolean isItemValidForSlot(int slot, ItemStack itemstack)
|
||
|
{
|
||
|
return slot == 0;
|
||
|
}
|
||
|
}
|