mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-11 15:57:31 +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
@@ -64,6 +64,8 @@ public class ChiselBlocks
|
||||
public static BlockCarvablePane blockPaperwall;
|
||||
public static BlockCarvable blockWoolenClay;
|
||||
public static BlockCarvable blockLaboratory;
|
||||
public static BlockCarvablePumpkin blockCarvablePumpkinOn;
|
||||
public static BlockCarvablePumpkin blockCarvablePumpkinOff;
|
||||
|
||||
public static BlockSnakestone blockSnakestone;
|
||||
public static BlockSnakestone blockSandSnakestone;
|
||||
@@ -1250,6 +1252,11 @@ public class ChiselBlocks
|
||||
blockLaboratory.carverHelper.register(blockLaboratory, "laboratoryblock");
|
||||
}
|
||||
|
||||
if(Configurations.featureEnabled("pumpkin"))
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
|
||||
Blocks.stone.setHarvestLevel("chisel", 0, 0);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package info.jbcs.minecraft.chisel.block;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
|
||||
/**
|
||||
* Created by Pokefenn.
|
||||
* Licensed under MIT (If this is one of my Mods)
|
||||
*/
|
||||
public class BlockCarvablePumpkin extends BlockCarvable
|
||||
{
|
||||
|
||||
public BlockCarvablePumpkin()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int onBlockPlaced(World world_, int x, int y, int z_, int p_149660_5_, float p_149660_6_, float p_149660_7_, float p_149660_8_, int p_149660_9_)
|
||||
{
|
||||
return p_149660_9_;
|
||||
}
|
||||
}
|
||||
@@ -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