Created mimic blocks
This commit is contained in:
parent
c201beb87f
commit
9508eec4b0
7 changed files with 220 additions and 0 deletions
32
src/main/java/WayofTime/bloodmagic/tile/TileMimic.java
Normal file
32
src/main/java/WayofTime/bloodmagic/tile/TileMimic.java
Normal file
|
@ -0,0 +1,32 @@
|
|||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue