mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-28 07:56:09 +00:00
Start of the Halloween blocks!
Added the textures and the basic files, will finish it off over the next few days. Sorry, been out of the loop so much :/
This commit is contained in:
1 parent
8e3761b83f
commit
880e7fbc9c
40 files changed
+63
No files matched your search
@@ -0,0 +1,34 @@
|
||||
package info.jbcs.minecraft.chisel.block.tile;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
/**
|
||||
* Created by Pokefenn.
|
||||
* Licensed under MIT (If this is one of my Mods)
|
||||
*/
|
||||
public class TilePumpkin extends TileEntity
|
||||
{
|
||||
|
||||
public int pos;
|
||||
|
||||
public TilePumpkin()
|
||||
{
|
||||
pos = 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToNBT(NBTTagCompound nbtTagCompound)
|
||||
{
|
||||
super.writeToNBT(nbtTagCompound);
|
||||
nbtTagCompound.setInteger("pos", pos);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound nbtTagCompound)
|
||||
{
|
||||
super.readFromNBT(nbtTagCompound);
|
||||
pos = nbtTagCompound.getInteger("pos");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user