2014-12-15 00:11:48 +00:00
package com.cricketcraft.chisel.init ;
2014-12-16 22:27:44 +00:00
import net.minecraft.block.Block ;
import net.minecraft.block.material.Material ;
import net.minecraft.init.Blocks ;
import net.minecraft.item.ItemStack ;
import net.minecraft.util.StatCollector ;
import net.minecraftforge.oredict.OreDictionary ;
2014-12-15 00:11:48 +00:00
import com.cricketcraft.chisel.Chisel ;
import com.cricketcraft.chisel.Configurations ;
2014-12-16 22:27:44 +00:00
import com.cricketcraft.chisel.block.BlockAutoChisel ;
import com.cricketcraft.chisel.block.BlockBeaconBase ;
import com.cricketcraft.chisel.block.BlockCarvable ;
import com.cricketcraft.chisel.block.BlockCarvableGlass ;
import com.cricketcraft.chisel.block.BlockCarvablePane ;
import com.cricketcraft.chisel.block.BlockCarvablePowered ;
import com.cricketcraft.chisel.block.BlockCarvablePumpkin ;
import com.cricketcraft.chisel.block.BlockCarvableTorch ;
import com.cricketcraft.chisel.block.BlockCloud ;
import com.cricketcraft.chisel.block.BlockConcrete ;
import com.cricketcraft.chisel.block.BlockEldritch ;
import com.cricketcraft.chisel.block.BlockGrimstone ;
import com.cricketcraft.chisel.block.BlockHolystone ;
import com.cricketcraft.chisel.block.BlockLavastone ;
import com.cricketcraft.chisel.block.BlockLeaf ;
import com.cricketcraft.chisel.block.BlockLightstoneCarvable ;
import com.cricketcraft.chisel.block.BlockMarbleBookshelf ;
import com.cricketcraft.chisel.block.BlockMarbleCarpet ;
import com.cricketcraft.chisel.block.BlockMarbleIce ;
import com.cricketcraft.chisel.block.BlockMarbleIceStairs ;
import com.cricketcraft.chisel.block.BlockMarblePillar ;
import com.cricketcraft.chisel.block.BlockMarbleSlab ;
import com.cricketcraft.chisel.block.BlockMarbleStairs ;
import com.cricketcraft.chisel.block.BlockMarbleStairsMaker ;
import com.cricketcraft.chisel.block.BlockMarbleStairsMakerCreator ;
import com.cricketcraft.chisel.block.BlockMarbleWall ;
import com.cricketcraft.chisel.block.BlockPresent ;
import com.cricketcraft.chisel.block.BlockRoadLine ;
import com.cricketcraft.chisel.block.BlockSnakestone ;
import com.cricketcraft.chisel.block.BlockSnakestoneObsidian ;
import com.cricketcraft.chisel.block.BlockVoidstone ;
import com.cricketcraft.chisel.block.BlockVoidstonePillar ;
import com.cricketcraft.chisel.block.BlockVoidstonePillar2 ;
import com.cricketcraft.chisel.block.BlockWaterstone ;
import com.cricketcraft.chisel.block.ItemBlockAutoChisel ;
2014-12-15 00:11:48 +00:00
import com.cricketcraft.chisel.carving.CarvableHelper ;
import com.cricketcraft.chisel.carving.CarvableVariation ;
import com.cricketcraft.chisel.carving.Carving ;
import com.cricketcraft.chisel.item.ItemCarvable ;
import com.cricketcraft.chisel.item.ItemMarbleSlab ;
2014-12-16 14:03:15 +00:00
2014-12-14 19:08:11 -05:00
import cpw.mods.fml.common.registry.GameRegistry ;
2014-10-28 21:10:08 -04:00
public class ModBlocks {
public static BlockCarvable marble ;
public static BlockCarvable marblePillar ;
public static BlockCarvable limestone ;
public static BlockMarbleSlab marbleSlab ;
public static BlockMarbleSlab limestoneSlab ;
public static BlockMarbleSlab marblePillarSlab ;
public static BlockCarvable cobblestone ;
public static BlockMarbleWall cobblestoneWall ;
public static BlockCarvableGlass glass ;
public static BlockCarvablePane paneGlass ;
public static BlockCarvable sandstone ;
public static BlockCarvable sandstoneScribbles ;
public static BlockConcrete concrete ;
public static BlockRoadLine roadLine ;
public static BlockCarvable iron ;
public static BlockCarvable gold ;
public static BlockCarvable diamond ;
public static BlockLightstoneCarvable lightstone ;
public static BlockCarvable lapis ;
public static BlockCarvable emerald ;
public static BlockCarvable netherBrick ;
public static BlockCarvable netherrack ;
public static BlockCarvable cobblestoneMossy ;
public static BlockCarvable stoneBrick ;
public static BlockMarbleStairs marbleStairs ;
public static BlockMarbleStairs limestoneStairs ;
public static BlockCarvablePane paneIron ;
public static BlockMarbleIce ice ;
public static BlockMarbleIce icePillar ;
public static BlockMarbleIceStairs iceStairs ;
public static BlockCarvable [] planks = new BlockCarvable [ 6 ] ;
public static BlockCarvable obsidian ;
public static BlockCarvablePowered redstone ;
public static BlockHolystone holystone ;
2014-12-14 14:22:17 -05:00
public static BlockGrimstone grimstone ;
2014-10-28 21:10:08 -04:00
public static BlockLavastone lavastone ;
2014-11-30 18:02:58 -05:00
public static BlockWaterstone waterstone ;
2014-11-24 18:48:10 -05:00
public static BlockCarvable leaf ;
2014-10-28 21:10:08 -04:00
public static BlockCarvable fantasy ;
2014-12-14 14:22:17 -05:00
public static BlockCarvable fantasy2 ;
2014-10-28 21:10:08 -04:00
public static BlockCarvable carpet ;
public static BlockMarbleCarpet carpetFloor ;
public static BlockCarvable bookshelf ;
public static BlockCarvable tyrian ;
public static BlockCarvable dirt ;
public static BlockCloud cloud ;
public static BlockCarvable temple ;
public static BlockCarvable templeMossy ;
public static BlockCarvable factory ;
public static BlockCarvablePane paperWall ;
public static BlockCarvable woolenClay ;
public static BlockCarvable laboratory ;
2014-12-15 14:24:31 -05:00
public static BlockCarvablePumpkin pumpkin ;
public static BlockCarvablePumpkin jackolantern ;
2014-12-01 19:54:35 -05:00
public static BlockVoidstone voidstone ;
2014-12-15 00:49:28 +00:00
public static BlockVoidstone voidstone2 ;
2014-12-14 19:08:11 -05:00
public static BlockVoidstonePillar voidstonePillar ;
2014-12-15 00:58:00 +00:00
public static BlockVoidstonePillar2 voidstonePillar2 ;
2014-10-28 21:10:08 -04:00
public static Block autoChisel ;
2014-11-26 20:03:54 -05:00
public static BlockPresent present ;
2014-10-28 21:10:08 -04:00
public static BlockSnakestone snakestone ;
public static BlockSnakestone sandSnakestone ;
public static BlockSnakestoneObsidian obsidianSnakestone ;
2014-12-07 20:45:17 -05:00
public static BlockCarvable hexPlating ;
2014-12-16 13:01:11 +00:00
public static BlockCarvable technical ;
2014-12-15 12:56:58 +00:00
public static BlockCarvable bone ;
2014-12-16 14:03:15 +00:00
public static BlockCarvable scorching ;
2014-12-16 21:51:30 +00:00
public static BlockCarvable brickCustom ;
public static BlockCarvableTorch torch ;
2014-10-28 21:10:08 -04:00
// 1.7
public static BlockCarvableGlass [] stainedGlass = new BlockCarvableGlass [ 4 ] ;
public static BlockCarvablePane [] stainedGlassPane = new BlockCarvablePane [ 8 ] ;
public static void load ()
{
if ( Configurations . featureEnabled ( "autoChisel" )){
2014-12-07 20:45:17 -05:00
autoChisel = new BlockAutoChisel (). setBlockTextureName ( "Chisel:autoChisel" ). setCreativeTab ( ModTabs . tabChisel ). setBlockName ( "autoChisel" ). setBlockTextureName ( Chisel . MOD_ID + ":factory/circuit" );
2014-12-03 20:59:03 -05:00
GameRegistry . registerBlock ( autoChisel , ItemBlockAutoChisel . class , "autoChisel" );
2014-10-28 21:10:08 -04:00
Chisel . proxy . registerTileEntities ();
}
if ( Configurations . featureEnabled ( "marble" ))
{
2014-12-14 19:28:28 -05:00
marble = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
marble . carverHelper . setChiselBlockName ( "Marble" );
2014-11-24 18:48:10 -05:00
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.0.desc" ), 0 , "marble" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.1.desc" ), 1 , "marble/a1-stoneornamental-marblebrick" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.2.desc" ), 2 , "marble/a1-stoneornamental-marbleclassicpanel" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.3.desc" ), 3 , "marble/a1-stoneornamental-marbleornate" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.4.desc" ), 4 , "marble/panel" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.5.desc" ), 5 , "marble/block" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.6.desc" ), 6 , "marble/terrain-pistonback-marblecreeperdark" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.7.desc" ), 7 , "marble/terrain-pistonback-marblecreeperlight" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.8.desc" ), 8 , "marble/a1-stoneornamental-marblecarved" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.9.desc" ), 9 , "marble/a1-stoneornamental-marblecarvedradial" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.10.desc" ), 10 , "marble/terrain-pistonback-marbledent" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.11.desc" ), 11 , "marble/terrain-pistonback-marbledent-small" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.12.desc" ), 12 , "marble/marble-bricks" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.13.desc" ), 13 , "marble/marble-arranged-bricks" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.14.desc" ), 14 , "marble/marble-fancy-bricks" );
marble . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marble.15.desc" ), 15 , "marble/marble-blocks" );
2014-10-28 21:10:08 -04:00
marble . carverHelper . register ( marble , "marble" );
OreDictionary . registerOre ( "marble" , marble );
2014-12-08 16:42:43 -05:00
OreDictionary . registerOre ( "blockMarble" , marble );
2014-10-28 21:10:08 -04:00
Carving . chisel . registerOre ( "marble" , "marble" );
marbleSlab = ( BlockMarbleSlab ) new BlockMarbleSlab ( marble ). setHardness ( 2 . 0F ). setResistance ( 10F );
marbleSlab . carverHelper . setChiselBlockName ( "Marble Slab" );
2014-11-24 18:48:10 -05:00
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.0.desc" ), 0 , "marble" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.1.desc" ), 1 , "marbleslab/a1-stoneornamental-marblebrick" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.2.desc" ), 2 , "marbleslab/a1-stoneornamental-marbleclassicpanel" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.3.desc" ), 3 , "marbleslab/a1-stoneornamental-marbleornate" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.4.desc" ), 4 , "marbleslab/a1-stoneornamental-marblepanel" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.5.desc" ), 5 , "marbleslab/terrain-pistonback-marble" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.6.desc" ), 6 , "marbleslab/terrain-pistonback-marblecreeperdark" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.7.desc" ), 7 , "marbleslab/terrain-pistonback-marblecreeperlight" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.8.desc" ), 8 , "marbleslab/a1-stoneornamental-marblecarved" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.9.desc" ), 9 , "marbleslab/a1-stoneornamental-marblecarvedradial" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.10.desc" ), 10 , "marbleslab/terrain-pistonback-marbledent" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.11.desc" ), 11 , "marbleslab/terrain-pistonback-marbledent-small" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.12.desc" ), 12 , "marbleslab/marble-bricks" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.13.desc" ), 13 , "marbleslab/marble-arranged-bricks" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.14.desc" ), 14 , "marbleslab/marble-fancy-bricks" );
marbleSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleSlab.15.desc" ), 15 , "marbleslab/marble-blocks" );
2014-10-28 21:10:08 -04:00
marbleSlab . carverHelper . register ( marbleSlab , "marble_slab" , ItemMarbleSlab . class );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "marble_slab" , "marble_slab" );
2014-10-28 21:10:08 -04:00
if ( Configurations . featureEnabled ( "marblePillar" ))
{
if ( Configurations . oldPillars )
{
2014-12-14 19:28:28 -05:00
marblePillar = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
marblePillar . carverHelper . setChiselBlockName ( "Marble Pillar" );
2014-11-24 18:48:10 -05:00
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.0.desc" ), 0 , "marblepillarold/column" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.1.desc" ), 1 , "marblepillarold/capstone" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.2.desc" ), 2 , "marblepillarold/base" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.3.desc" ), 3 , "marblepillarold/small" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.4.desc" ), 4 , "marblepillarold/pillar-carved" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.5.desc" ), 5 , "marblepillarold/a1-stoneornamental-marblegreek" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.6.desc" ), 6 , "marblepillarold/a1-stonepillar-greek" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.7.desc" ), 7 , "marblepillarold/a1-stonepillar-plain" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.8.desc" ), 8 , "marblepillarold/a1-stonepillar-greektopplain" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.9.desc" ), 9 , "marblepillarold/a1-stonepillar-plaintopplain" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.10.desc" ), 10 , "marblepillarold/a1-stonepillar-greekbottomplain" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.11.desc" ), 11 , "marblepillarold/a1-stonepillar-plainbottomplain" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.12.desc" ), 12 , "marblepillarold/a1-stonepillar-greektopgreek" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.13.desc" ), 13 , "marblepillarold/a1-stonepillar-plaintopgreek" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.14.desc" ), 14 , "marblepillarold/a1-stonepillar-greekbottomgreek" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarOld.15.desc" ), 15 , "marblepillarold/a1-stonepillar-plainbottomgreek" );
2014-10-28 21:10:08 -04:00
} else
{
marblePillar = ( BlockCarvable ) new BlockMarblePillar ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Block . soundTypeStone );
marblePillar . carverHelper . setChiselBlockName ( "Marble Pillar" );
2014-11-24 18:48:10 -05:00
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.0.desc" ), 0 , "marblepillar/pillar" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.1.desc" ), 1 , "marblepillar/default" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.2.desc" ), 2 , "marblepillar/simple" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.3.desc" ), 3 , "marblepillar/convex" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.4.desc" ), 4 , "marblepillar/rough" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.5.desc" ), 5 , "marblepillar/greekdecor" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.6.desc" ), 6 , "marblepillar/greekgreek" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.7.desc" ), 7 , "marblepillar/greekplain" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.8.desc" ), 8 , "marblepillar/plaindecor" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.9.desc" ), 9 , "marblepillar/plaingreek" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.10.desc" ), 10 , "marblepillar/plainplain" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.11.desc" ), 11 , "marblepillar/widedecor" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.12.desc" ), 12 , "marblepillar/widegreek" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.13.desc" ), 13 , "marblepillar/wideplain" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.14.desc" ), 14 , "marblepillar/carved" );
marblePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillar.15.desc" ), 15 , "marblepillar/ornamental" );
2014-10-28 21:10:08 -04:00
}
marblePillar . carverHelper . register ( marblePillar , "marble_pillar" );
Carving . chisel . setGroupClass ( "marble_pillar" , "marble" );
marblePillarSlab = ( BlockMarbleSlab ) new BlockMarbleSlab ( marblePillar ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Block . soundTypeStone );
marblePillarSlab . carverHelper . setChiselBlockName ( "Marble Pillar Slab" );
if ( Configurations . oldPillars )
{
2014-11-24 18:48:10 -05:00
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.0.desc" ), 0 , "marblepillarslabold/column" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.1.desc" ), 1 , "marblepillarslabold/capstone" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.2.desc" ), 2 , "marblepillarslabold/base" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.3.desc" ), 3 , "marblepillarslabold/small" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.4.desc" ), 4 , "marblepillarslabold/pillar-carved" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.5.desc" ), 5 , "marblepillarslabold/a1-stoneornamental-marblegreek" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.6.desc" ), 6 , "marblepillarslabold/a1-stonepillar-greek" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.7.desc" ), 7 , "marblepillarslabold/a1-stonepillar-plain" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.8.desc" ), 8 , "marblepillarslabold/a1-stonepillar-greektopplain" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.9.desc" ), 9 , "marblepillarslabold/a1-stonepillar-plaintopplain" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.10.desc" ), 10 , "marblepillarslabold/a1-stonepillar-greekbottomplain" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.11.desc" ), 11 , "marblepillarslabold/a1-stonepillar-plainbottomplain" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.12.desc" ), 12 , "marblepillarslabold/a1-stonepillar-greektopgreek" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.13.desc" ), 13 , "marblepillarslabold/a1-stonepillar-plaintopgreek" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.14.desc" ), 14 , "marblepillarslabold/a1-stonepillar-greekbottomgreek" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlabOld.15.desc" ), 15 , "marblepillarslabold/a1-stonepillar-plainbottomgreek" );
2014-10-28 21:10:08 -04:00
} else
{
2014-11-24 18:48:10 -05:00
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.0.desc" ), 0 , "marblepillarslab/pillar" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.1.desc" ), 1 , "marblepillarslab/default" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.2.desc" ), 2 , "marblepillarslab/simple" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.3.desc" ), 3 , "marblepillarslab/convex" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.4.desc" ), 4 , "marblepillarslab/rough" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.5.desc" ), 5 , "marblepillarslab/greekdecor" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.6.desc" ), 6 , "marblepillarslab/greekgreek" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.7.desc" ), 7 , "marblepillarslab/greekplain" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.8.desc" ), 8 , "marblepillarslab/plaindecor" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.9.desc" ), 9 , "marblepillarslab/plaingreek" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.10.desc" ), 10 , "marblepillarslab/plainplain" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.11.desc" ), 11 , "marblepillarslab/widedecor" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.12.desc" ), 12 , "marblepillarslab/widegreek" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.13.desc" ), 13 , "marblepillarslab/wideplain" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.14.desc" ), 14 , "marblepillarslab/carved" );
marblePillarSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marblePillarSlab.15.desc" ), 15 , "marblepillarslab/ornamental" );
2014-10-28 21:10:08 -04:00
}
marblePillarSlab . carverHelper . register ( marblePillarSlab , "marble_pillar_slab" , ItemMarbleSlab . class );
}
BlockMarbleStairsMaker makerMarbleStairs = new BlockMarbleStairsMaker ( marble );
makerMarbleStairs . carverHelper . setChiselBlockName ( "Marble Stairs" );
2014-11-24 18:48:10 -05:00
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.0.desc" ), 0 , "marble" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.6.desc" ), 1 , "marbleslab/a1-stoneornamental-marblebrick" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.2.desc" ), 2 , "marbleslab/a1-stoneornamental-marbleclassicpanel" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.3.desc" ), 3 , "marbleslab/a1-stoneornamental-marbleornate" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.4.desc" ), 4 , "marbleslab/a1-stoneornamental-marblepanel" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.5.desc" ), 5 , "marbleslab/terrain-pistonback-marble" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.6.desc" ), 6 , "marbleslab/terrain-pistonback-marblecreeperdark" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.7.desc" ), 7 , "marbleslab/terrain-pistonback-marblecreeperlight" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.8.desc" ), 8 , "marbleslab/a1-stoneornamental-marblecarved" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.9.desc" ), 9 , "marbleslab/a1-stoneornamental-marblecarvedradial" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.10.desc" ), 10 , "marbleslab/terrain-pistonback-marbledent" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.11.desc" ), 11 , "marbleslab/terrain-pistonback-marbledent-small" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.12.desc" ), 12 , "marbleslab/marble-bricks" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.13.desc" ), 13 , "marbleslab/marble-arranged-bricks" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.14.desc" ), 14 , "marbleslab/marble-fancy-bricks" );
makerMarbleStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.marbleStairs.15.desc" ), 15 , "marbleslab/marble-blocks" );
2014-10-28 21:10:08 -04:00
makerMarbleStairs . create ( "marble_stairs" );
}
if ( Configurations . featureEnabled ( "limestone" ))
{
2014-12-14 19:28:28 -05:00
limestone = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
limestone . carverHelper . setChiselBlockName ( "Limestone" );
2014-11-24 18:48:10 -05:00
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.0.desc" ), 0 , "limestone" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.1.desc" ), 1 , "limestone/terrain-cobbsmalltilelight" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.2.desc" ), 2 , "limestone/terrain-cob-frenchlight" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.3.desc" ), 3 , "limestone/terrain-cob-french2light" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.4.desc" ), 4 , "limestone/terrain-cobmoss-creepdungeonlight" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.5.desc" ), 5 , "limestone/terrain-cob-smallbricklight" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.6.desc" ), 6 , "limestone/terrain-mossysmalltilelight" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.7.desc" ), 7 , "limestone/terrain-pistonback-dungeon" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.8.desc" ), 8 , "limestone/terrain-pistonback-dungeonornate" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.9.desc" ), 9 , "limestone/terrain-pistonback-dungeonvent" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.10.desc" ), 10 , "limestone/terrain-pistonback-lightcreeper" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.11.desc" ), 11 , "limestone/terrain-pistonback-lightdent" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.12.desc" ), 12 , "limestone/terrain-pistonback-lightemboss" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.13.desc" ), 13 , "limestone/terrain-pistonback-lightfour" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.14.desc" ), 14 , "limestone/terrain-pistonback-lightmarker" );
limestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestone.15.desc" ), 15 , "limestone/terrain-pistonback-lightpanel" );
2014-10-28 21:10:08 -04:00
limestone . carverHelper . register ( limestone , "limestone" );
OreDictionary . registerOre ( "limestone" , limestone );
Carving . chisel . registerOre ( "limestone" , "limestone" );
limestoneSlab = ( BlockMarbleSlab ) new BlockMarbleSlab ( limestone ). setHardness ( 2 . 0F ). setResistance ( 10F );
limestoneSlab . carverHelper . setChiselBlockName ( "Limestone Slab" );
2014-11-24 18:48:10 -05:00
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.0.desc" ), 0 , "limestone" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.1.desc" ), 1 , "limestone/terrain-cobbsmalltilelight" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.2.desc" ), 2 , "limestone/terrain-cob-frenchlight" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.3.desc" ), 3 , "limestone/terrain-cob-french2light" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.4.desc" ), 4 , "limestone/terrain-cobmoss-creepdungeonlight" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.5.desc" ), 5 , "limestone/terrain-cob-smallbricklight" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.6.desc" ), 6 , "limestone/terrain-mossysmalltilelight" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.7.desc" ), 7 , "limestone/terrain-pistonback-dungeon" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.8.desc" ), 8 , "limestone/terrain-pistonback-dungeonornate" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.9.desc" ), 9 , "limestone/terrain-pistonback-dungeonvent" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.10.desc" ), 10 , "limestone/terrain-pistonback-lightcreeper" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.11.desc" ), 11 , "limestone/terrain-pistonback-lightdent" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.12.desc" ), 12 , "limestone/terrain-pistonback-lightemboss" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.13.desc" ), 13 , "limestone/terrain-pistonback-lightfour" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.14.desc" ), 14 , "limestone/terrain-pistonback-lightmarker" );
limestoneSlab . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneSlab.15.desc" ), 15 , "limestone/terrain-pistonback-lightpanel" );
2014-10-28 21:10:08 -04:00
limestoneSlab . carverHelper . register ( limestoneSlab , "limestone_slab" , ItemMarbleSlab . class );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "limestone_slab" , "limestone_slab" );
2014-10-28 21:10:08 -04:00
BlockMarbleStairsMaker makerLimestoneStairs = new BlockMarbleStairsMaker ( limestone );
makerLimestoneStairs . carverHelper . setChiselBlockName ( "Limestone Stairs" );
2014-11-24 18:48:10 -05:00
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.0.desc" ), 0 , "limestone" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.1.desc" ), 1 , "limestone/terrain-cobbsmalltilelight" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.2.desc" ), 2 , "limestone/terrain-cob-frenchlight" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.3.desc" ), 3 , "limestone/terrain-cob-french2light" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.4.desc" ), 4 , "limestone/terrain-cobmoss-creepdungeonlight" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.5.desc" ), 5 , "limestone/terrain-cob-smallbricklight" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.6.desc" ), 6 , "limestone/terrain-mossysmalltilelight" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.7.desc" ), 7 , "limestone/terrain-pistonback-dungeon" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.8.desc" ), 8 , "limestone/terrain-pistonback-dungeonornate" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.9.desc" ), 9 , "limestone/terrain-pistonback-dungeonvent" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.10.desc" ), 10 , "limestone/terrain-pistonback-lightcreeper" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.11.desc" ), 11 , "limestone/terrain-pistonback-lightdent" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.12.desc" ), 12 , "limestone/terrain-pistonback-lightemboss" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.13.desc" ), 13 , "limestone/terrain-pistonback-lightfour" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.14.desc" ), 14 , "limestone/terrain-pistonback-lightmarker" );
makerLimestoneStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.limestoneStairs.15.desc" ), 15 , "limestone/terrain-pistonback-lightpanel" );
2014-10-28 21:10:08 -04:00
makerLimestoneStairs . create ( "limestone_stairs" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "limestone_stairs" , "limestone_stairs" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "cobblestone" ))
{
2014-12-14 19:28:28 -05:00
cobblestone = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
Carving . chisel . addVariation ( "cobblestone" , Blocks . cobblestone , 0 , 0 );
2014-11-24 18:48:10 -05:00
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.0.desc" ), 1 , "cobblestone/terrain-cobb-brickaligned" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.1.desc" ), 2 , "cobblestone/terrain-cob-detailedbrick" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.2.desc" ), 3 , "cobblestone/terrain-cob-smallbrick" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.3.desc" ), 4 , "cobblestone/terrain-cobblargetiledark" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.4.desc" ), 5 , "cobblestone/terrain-cobbsmalltile" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.5.desc" ), 6 , "cobblestone/terrain-cob-french" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.6.desc" ), 7 , "cobblestone/terrain-cob-french2" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.7.desc" ), 8 , "cobblestone/terrain-cobmoss-creepdungeon" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.8.desc" ), 9 , "cobblestone/terrain-mossysmalltiledark" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.9.desc" ), 10 , "cobblestone/terrain-pistonback-dungeontile" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.10.desc" ), 11 , "cobblestone/terrain-pistonback-darkcreeper" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.11.desc" ), 12 , "cobblestone/terrain-pistonback-darkdent" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.12.desc" ), 13 , "cobblestone/terrain-pistonback-darkemboss" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.13.desc" ), 14 , "cobblestone/terrain-pistonback-darkmarker" );
cobblestone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cobblestone.14.desc" ), 15 , "cobblestone/terrain-pistonback-darkpanel" );
2014-10-28 21:10:08 -04:00
cobblestone . carverHelper . register ( cobblestone , "cobblestone" );
Carving . chisel . registerOre ( "cobblestone" , "cobblestone" );
}
if ( Configurations . featureEnabled ( "glass" ))
{
glass = ( BlockCarvableGlass ) new BlockCarvableGlass (). setHardness ( 0 . 3F ). setStepSound ( Block . soundTypeGlass );
Carving . chisel . addVariation ( "glass" , Blocks . glass , 0 , 0 );
2014-11-24 18:48:10 -05:00
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.1.desc" ), 1 , "glass/terrain-glassbubble" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.2.desc" ), 2 , "glass/terrain-glass-chinese" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.3.desc" ), 3 , "glass/japanese" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.4.desc" ), 4 , "glass/terrain-glassdungeon" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.5.desc" ), 5 , "glass/terrain-glasslight" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.6.desc" ), 6 , "glass/terrain-glassnoborder" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.7.desc" ), 7 , "glass/terrain-glass-ornatesteel" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.8.desc" ), 8 , "glass/terrain-glass-screen" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.9.desc" ), 9 , "glass/terrain-glassshale" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.10.desc" ), 10 , "glass/terrain-glass-steelframe" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.11.desc" ), 11 , "glass/terrain-glassstone" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.12.desc" ), 12 , "glass/terrain-glassstreak" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.13.desc" ), 13 , "glass/terrain-glass-thickgrid" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.14.desc" ), 14 , "glass/terrain-glass-thingrid" );
glass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass.15.desc" ), 15 , "glass/a1-glasswindow-ironfencemodern" );
2014-10-28 21:10:08 -04:00
glass . carverHelper . register ( glass , "glass" );
Carving . chisel . registerOre ( "glass" , "glass" );
}
if ( Configurations . featureEnabled ( "sandstone" ))
{
2014-12-14 19:28:28 -05:00
sandstone = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setStepSound ( Block . soundTypeStone ). setHardness ( 0 . 8F );
2014-10-28 21:10:08 -04:00
Carving . chisel . addVariation ( "sandstone" , Blocks . sandstone , 0 , 0 );
Carving . chisel . addVariation ( "sandstone" , Blocks . sandstone , 1 , 1 );
Carving . chisel . addVariation ( "sandstone" , Blocks . sandstone , 2 , 2 );
2014-11-24 18:48:10 -05:00
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.3.desc" ), 3 , "sandstone/faded" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.4.desc" ), 4 , "sandstone/column" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.5.desc" ), 5 , "sandstone/capstone" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.6.desc" ), 6 , "sandstone/small" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.7.desc" ), 7 , "sandstone/base" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.8.desc" ), 8 , "sandstone/smooth" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.9.desc" ), 9 , "sandstone/smooth-cap" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.10.desc" ), 10 , "sandstone/smooth-small" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.11.desc" ), 11 , "sandstone/smooth-base" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.12.desc" ), 12 , "sandstone/block" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.13.desc" ), 13 , "sandstone/blocks" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.14.desc" ), 14 , "sandstone/mosaic" );
sandstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstone.15.desc" ), 15 , "sandstone/horizontal-tiles" );
2014-10-28 21:10:08 -04:00
sandstone . carverHelper . register ( sandstone , "sandstone" );
Carving . chisel . registerOre ( "sandstone" , "sandstone" );
if ( Configurations . featureEnabled ( "snakeSandstone" ))
{
sandSnakestone = ( BlockSnakestone ) new BlockSnakestone ( "Chisel:snakestone/sandsnake/" ). setBlockName ( "snakestoneSand" );
GameRegistry . registerBlock ( sandSnakestone , ItemCarvable . class , "sand_snakestone" );
//TODO- eat me!
//LanguageRegistry.addName(new ItemStack(sandSnakestone, 1, 1), "Sandstone snake block head");
//LanguageRegistry.addName(new ItemStack(sandSnakestone, 1, 13), "Sandstone snake block body");
Carving . chisel . addVariation ( "sandstone" , sandSnakestone , 1 , 16 );
Carving . chisel . addVariation ( "sandstone" , sandSnakestone , 13 , 17 );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "sandSnakestone" , "sandSnakestone" );
2014-10-28 21:10:08 -04:00
}
}
if ( Configurations . featureEnabled ( "sandstoneScribbles" ))
{
2014-12-14 19:28:28 -05:00
sandstoneScribbles = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setStepSound ( Block . soundTypeStone ). setHardness ( 0 . 8F );
2014-11-24 18:48:10 -05:00
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 0 , "sandstone-scribbles/scribbles-0" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 1 , "sandstone-scribbles/scribbles-1" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 2 , "sandstone-scribbles/scribbles-2" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 3 , "sandstone-scribbles/scribbles-3" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 4 , "sandstone-scribbles/scribbles-4" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 5 , "sandstone-scribbles/scribbles-5" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 6 , "sandstone-scribbles/scribbles-6" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 7 , "sandstone-scribbles/scribbles-7" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 8 , "sandstone-scribbles/scribbles-8" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 9 , "sandstone-scribbles/scribbles-9" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 10 , "sandstone-scribbles/scribbles-10" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 11 , "sandstone-scribbles/scribbles-11" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 12 , "sandstone-scribbles/scribbles-12" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 13 , "sandstone-scribbles/scribbles-13" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 14 , "sandstone-scribbles/scribbles-14" );
sandstoneScribbles . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.sandstoneScribbles.desc" ), 15 , "sandstone-scribbles/scribbles-15" );
2014-10-28 21:10:08 -04:00
sandstoneScribbles . carverHelper . register ( sandstoneScribbles , "sandstone_scribbles" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "sandstone_scribbles" , "sandstone_scribbles" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "concrete" ))
{
concrete = ( BlockConcrete ) new BlockConcrete (). setStepSound ( Block . soundTypeStone ). setHardness ( 0 . 5F );
2014-11-24 18:48:10 -05:00
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.0.desc" ), 0 , "concrete/default" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.1.desc" ), 1 , "concrete/block" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.2.desc" ), 2 , "concrete/doubleslab" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.3.desc" ), 3 , "concrete/blocks" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.4.desc" ), 4 , "concrete/weathered" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.5.desc" ), 5 , "concrete/weathered-block" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.6.desc" ), 6 , "concrete/weathered-doubleslab" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.7.desc" ), 7 , "concrete/weathered-blocks" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.8.desc" ), 8 , "concrete/weathered-half" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.9.desc" ), 9 , "concrete/weathered-block-half" );
concrete . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.concrete.10.desc" ), 10 , "concrete/asphalt" );
2014-10-28 21:10:08 -04:00
concrete . carverHelper . register ( concrete , "concrete" );
OreDictionary . registerOre ( "concrete" , concrete );
Carving . chisel . registerOre ( "concrete" , "concrete" );
}
if ( Configurations . featureEnabled ( "roadLine" ))
{
roadLine = ( BlockRoadLine ) new BlockRoadLine (). setStepSound ( Block . soundTypeStone ). setHardness ( 0 . 01F ). setBlockName ( "roadLine" );
GameRegistry . registerBlock ( roadLine , ItemCarvable . class , "road_line" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "roadLine" , "roadLine" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "ironBlock" ))
{
iron = ( BlockBeaconBase ) new BlockBeaconBase (). setHardness ( 5F ). setResistance ( 10F ). setStepSound ( Block . soundTypeMetal );
Carving . chisel . addVariation ( "iron_block" , Blocks . iron_block , 0 , 0 );
2014-11-24 18:48:10 -05:00
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.1.desc" ), 1 , "iron/terrain-iron-largeingot" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.2.desc" ), 2 , "iron/terrain-iron-smallingot" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.3.desc" ), 3 , "iron/terrain-iron-gears" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.4.desc" ), 4 , "iron/terrain-iron-brick" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.5.desc" ), 5 , "iron/terrain-iron-plates" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.6.desc" ), 6 , "iron/terrain-iron-rivets" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.7.desc" ), 7 , "iron/terrain-iron-coin-heads" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.8.desc" ), 8 , "iron/terrain-iron-coin-tails" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.9.desc" ), 9 , "iron/terrain-iron-crate-dark" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.10.desc" ), 10 , "iron/terrain-iron-crate-light" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.11.desc" ), 11 , "iron/terrain-iron-moon" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.12.desc" ), 12 , "iron/terrain-iron-space" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.13.desc" ), 13 , "iron/terrain-iron-spaceblack" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.14.desc" ), 14 , "iron/terrain-iron-vents" );
iron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron.15.desc" ), 15 , "iron/terrain-iron-simple" );
2014-10-28 21:10:08 -04:00
iron . carverHelper . register ( iron , "iron_block" );
Carving . chisel . registerOre ( "iron_block" , "iron" );
}
if ( Configurations . featureEnabled ( "goldBlock" ))
{
gold = ( BlockBeaconBase ) new BlockBeaconBase (). setHardness ( 3F ). setResistance ( 10F ). setStepSound ( Block . soundTypeMetal );
Carving . chisel . addVariation ( "gold_block" , Blocks . gold_block , 0 , 0 );
2014-11-24 18:48:10 -05:00
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.1.desc" ), 1 , "gold/terrain-gold-largeingot" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.2.desc" ), 2 , "gold/terrain-gold-smallingot" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.3.desc" ), 3 , "gold/terrain-gold-brick" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.4.desc" ), 4 , "gold/terrain-gold-cart" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.5.desc" ), 5 , "gold/terrain-gold-coin-heads" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.6.desc" ), 6 , "gold/terrain-gold-coin-tails" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.7.desc" ), 7 , "gold/terrain-gold-crate-dark" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.8.desc" ), 8 , "gold/terrain-gold-crate-light" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.9.desc" ), 9 , "gold/terrain-gold-plates" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.10.desc" ), 10 , "gold/terrain-gold-rivets" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.11.desc" ), 11 , "gold/terrain-gold-star" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.12.desc" ), 12 , "gold/terrain-gold-space" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.13.desc" ), 13 , "gold/terrain-gold-spaceblack" );
gold . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.gold.14.desc" ), 14 , "gold/terrain-gold-simple" );
2014-10-28 21:10:08 -04:00
gold . carverHelper . register ( gold , "gold_block" );
Carving . chisel . registerOre ( "gold_block" , "gold" );
}
if ( Configurations . featureEnabled ( "diamondBlock" ))
{
diamond = ( BlockBeaconBase ) new BlockBeaconBase (). setHardness ( 5F ). setResistance ( 10F ). setStepSound ( Block . soundTypeMetal );
Carving . chisel . addVariation ( "diamond_block" , Blocks . diamond_block , 0 , 0 );
2014-11-24 18:48:10 -05:00
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.1.desc" ), 1 , "diamond/terrain-diamond-embossed" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.2.desc" ), 2 , "diamond/terrain-diamond-gem" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.3.desc" ), 3 , "diamond/terrain-diamond-cells" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.4.desc" ), 4 , "diamond/terrain-diamond-space" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.5.desc" ), 5 , "diamond/terrain-diamond-spaceblack" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.6.desc" ), 6 , "diamond/terrain-diamond-simple" );
2014-12-14 21:21:28 +00:00
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.7.desc" ), 7 , "diamond/terrain-diamond-bismuth" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.8.desc" ), 8 , "diamond/terrain-diamond-crushed" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.9.desc" ), 9 , "diamond/terrain-diamond-four" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.10.desc" ), 10 , "diamond/terrain-diamond-fourornate" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.11.desc" ), 11 , "diamond/terrain-diamond-zelda" );
diamond . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.diamond.12.desc" ), 12 , "diamond/terrain-diamond-ornatelayer" );
2014-10-28 21:10:08 -04:00
diamond . carverHelper . register ( diamond , "diamond_block" );
Carving . chisel . registerOre ( "diamond_block" , "diamond" );
}
if ( Configurations . featureEnabled ( "glowstone" ))
{
lightstone = ( BlockLightstoneCarvable ) new BlockLightstoneCarvable (). setHardness ( 0 . 3F ). setLightLevel ( 1 . 0F ). setStepSound ( Block . soundTypeGlass );
Carving . chisel . addVariation ( "glowstone" , Blocks . glowstone , 0 , 0 );
2014-11-24 18:48:10 -05:00
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.1.desc" ), 1 , "lightstone/terrain-sulphur-cobble" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.2.desc" ), 2 , "lightstone/terrain-sulphur-corroded" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.3.desc" ), 3 , "lightstone/terrain-sulphur-glass" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.4.desc" ), 4 , "lightstone/terrain-sulphur-neon" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.5.desc" ), 5 , "lightstone/terrain-sulphur-ornate" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.6.desc" ), 6 , "lightstone/terrain-sulphur-rocky" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.7.desc" ), 7 , "lightstone/terrain-sulphur-shale" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.8.desc" ), 8 , "lightstone/terrain-sulphur-tile" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.9.desc" ), 9 , "lightstone/terrain-sulphur-weavelanternlight" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.10.desc" ), 10 , "lightstone/a1-glowstone-cobble" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.11.desc" ), 11 , "lightstone/a1-glowstone-growth" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.12.desc" ), 12 , "lightstone/a1-glowstone-layers" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.13.desc" ), 13 , "lightstone/a1-glowstone-tilecorroded" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.14.desc" ), 14 , "lightstone/glowstone-bismuth" );
lightstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lightstone.15.desc" ), 15 , "lightstone/glowstone-bismuth-panel" );
2014-10-28 21:10:08 -04:00
lightstone . carverHelper . register ( lightstone , "glowstone" );
Carving . chisel . registerOre ( "glowstone" , "glowstone" );
}
if ( Configurations . featureEnabled ( "lapisBlock" ))
{
2014-12-14 19:28:28 -05:00
lapis = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 3F ). setResistance ( 5F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
Carving . chisel . addVariation ( "lapis_block" , Blocks . lapis_block , 0 , 0 );
2014-11-24 18:48:10 -05:00
lapis . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lapis.1.desc" ), 1 , "lapis/terrain-lapisblock-chunky" );
lapis . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lapis.2.desc" ), 2 , "lapis/terrain-lapisblock-panel" );
lapis . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lapis.3.desc" ), 3 , "lapis/terrain-lapisblock-zelda" );
lapis . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lapis.4.desc" ), 4 , "lapis/terrain-lapisornate" );
lapis . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lapis.5.desc" ), 5 , "lapis/terrain-lapistile" );
lapis . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lapis.6.desc" ), 6 , "lapis/a1-blocklapis-panel" );
lapis . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lapis.7.desc" ), 7 , "lapis/a1-blocklapis-smooth" );
lapis . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lapis.8.desc" ), 8 , "lapis/a1-blocklapis-ornatelayer" );
2014-10-28 21:10:08 -04:00
lapis . carverHelper . register ( lapis , "lapis_block" );
Carving . chisel . registerOre ( "lapis_block" , "lapis" );
}
if ( Configurations . featureEnabled ( "emeraldBlock" ))
{
emerald = ( BlockBeaconBase ) new BlockBeaconBase (). setHardness ( 5 . 0F ). setResistance ( 10 . 0F ). setStepSound ( Block . soundTypeMetal );
Carving . chisel . addVariation ( "emerald_block" , Blocks . emerald_block , 0 , 0 );
2014-12-14 21:21:28 +00:00
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.1.desc" ), 1 , "emerald/panel" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.2.desc" ), 2 , "emerald/panelclassic" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.3.desc" ), 3 , "emerald/smooth" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.4.desc" ), 4 , "emerald/chunk" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.5.desc" ), 5 , "emerald/goldborder" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.6.desc" ), 6 , "emerald/zelda" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.7.desc" ), 7 , "emerald/cell" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.8.desc" ), 8 , "emerald/cellbismuth" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.9.desc" ), 9 , "emerald/four" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.10.desc" ), 10 , "emerald/fourornate" );
emerald . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.emerald.11.desc" ), 11 , "emerald/ornate" );
2014-10-28 21:10:08 -04:00
emerald . carverHelper . register ( emerald , "emerald_block" );
Carving . chisel . registerOre ( "emerald_block" , "emerald" );
}
if ( Configurations . featureEnabled ( "netherBrick" ))
{
2014-12-14 19:28:28 -05:00
netherBrick = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10 . 0F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
Carving . chisel . addVariation ( "nether_brick" , Blocks . nether_brick , 0 , 0 );
//netherBrick.carverHelper.addVariation("Nether brick", 0, Blocks.nether_brick);
2014-11-24 18:48:10 -05:00
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.1.desc" ), 1 , "netherbrick/a1-netherbrick-brinstar" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.2.desc" ), 2 , "netherbrick/a1-netherbrick-classicspatter" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.3.desc" ), 3 , "netherbrick/a1-netherbrick-guts" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.4.desc" ), 4 , "netherbrick/a1-netherbrick-gutsdark" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.5.desc" ), 5 , "netherbrick/a1-netherbrick-gutssmall" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.6.desc" ), 6 , "netherbrick/a1-netherbrick-lavabrinstar" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.7.desc" ), 7 , "netherbrick/a1-netherbrick-lavabrown" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.8.desc" ), 8 , "netherbrick/a1-netherbrick-lavaobsidian" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.9.desc" ), 9 , "netherbrick/a1-netherbrick-lavastonedark" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.10.desc" ), 10 , "netherbrick/a1-netherbrick-meat" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.11.desc" ), 11 , "netherbrick/a1-netherbrick-meatred" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.12.desc" ), 12 , "netherbrick/a1-netherbrick-meatredsmall" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.13.desc" ), 13 , "netherbrick/a1-netherbrick-meatsmall" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.14.desc" ), 14 , "netherbrick/a1-netherbrick-red" );
netherBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.netherBrick.15.desc" ), 15 , "netherbrick/a1-netherbrick-redsmall" );
2014-10-28 21:10:08 -04:00
netherBrick . carverHelper . register ( netherBrick , "nether_brick" );
Carving . chisel . registerOre ( "nether_brick" , "nether_brick" );
}
if ( Configurations . featureEnabled ( "netherRack" ))
{
2014-12-14 19:28:28 -05:00
netherrack = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 0 . 4F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
Carving . chisel . addVariation ( "netherrack" , Blocks . netherrack , 0 , 0 );
2014-11-24 18:48:10 -05:00
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.1.desc" ), 1 , "netherrack/a1-netherrack-bloodgravel" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.2.desc" ), 2 , "netherrack/a1-netherrack-bloodrock" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.3.desc" ), 3 , "netherrack/a1-netherrack-bloodrockgrey" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.4.desc" ), 4 , "netherrack/a1-netherrack-brinstar" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.5.desc" ), 5 , "netherrack/a1-netherrack-brinstarshale" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.6.desc" ), 6 , "netherrack/a1-netherrack-classic" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.7.desc" ), 7 , "netherrack/a1-netherrack-classicspatter" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.8.desc" ), 8 , "netherrack/a1-netherrack-guts" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.9.desc" ), 9 , "netherrack/a1-netherrack-gutsdark" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.10.desc" ), 10 , "netherrack/a1-netherrack-meat" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.11.desc" ), 11 , "netherrack/a1-netherrack-meatred" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.12.desc" ), 12 , "netherrack/a1-netherrack-meatrock" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.13.desc" ), 13 , "netherrack/a1-netherrack-red" );
netherrack . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hellrock.14.desc" ), 14 , "netherrack/a1-netherrack-wells" );
2014-10-28 21:10:08 -04:00
netherrack . carverHelper . register ( netherrack , "netherrack" );
Carving . chisel . registerOre ( "netherrack" , "netherrack" );
}
if ( Configurations . featureEnabled ( "cobblestoneMossy" ))
{
2014-12-14 19:28:28 -05:00
cobblestoneMossy = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10 . 0F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
Carving . chisel . addVariation ( "mossy_cobblestone" , Blocks . mossy_cobblestone , 0 , 0 );
2014-11-24 18:48:10 -05:00
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.1.desc" ), 1 , "cobblestonemossy/terrain-cobb-brickaligned" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.2.desc" ), 2 , "cobblestonemossy/terrain-cob-detailedbrick" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.3.desc" ), 3 , "cobblestonemossy/terrain-cob-smallbrick" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.4.desc" ), 4 , "cobblestonemossy/terrain-cobblargetiledark" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.5.desc" ), 5 , "cobblestonemossy/terrain-cobbsmalltile" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.6.desc" ), 6 , "cobblestonemossy/terrain-cob-french" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.7.desc" ), 7 , "cobblestonemossy/terrain-cob-french2" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.8.desc" ), 8 , "cobblestonemossy/terrain-cobmoss-creepdungeon" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.9.desc" ), 9 , "cobblestonemossy/terrain-mossysmalltiledark" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.10.desc" ), 10 , "cobblestonemossy/terrain-pistonback-dungeontile" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.11.desc" ), 11 , "cobblestonemossy/terrain-pistonback-darkcreeper" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.12.desc" ), 12 , "cobblestonemossy/terrain-pistonback-darkdent" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.13.desc" ), 13 , "cobblestonemossy/terrain-pistonback-darkemboss" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.14.desc" ), 14 , "cobblestonemossy/terrain-pistonback-darkmarker" );
cobblestoneMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneMoss.15.desc" ), 15 , "cobblestonemossy/terrain-pistonback-darkpanel" );
2014-10-28 21:10:08 -04:00
cobblestoneMossy . carverHelper . register ( cobblestoneMossy , "mossy_cobblestone" );
Carving . chisel . registerOre ( "mossy_cobblestone" , "mossy_cobblestone" );
}
if ( Configurations . featureEnabled ( "stoneBrick" ))
{
2014-12-14 19:28:28 -05:00
stoneBrick = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 1 . 5F ). setResistance ( 10 . 0F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
for ( int i = 0 ; i < 4 ; i ++ )
{
if ( i == 1 )
{
if ( Configurations . allowMossy )
2014-11-03 17:16:23 -05:00
Carving . chisel . addVariation ( "stonebricksmooth" , Blocks . stonebrick , i , i );
2014-10-28 21:10:08 -04:00
} else
2014-11-03 17:16:23 -05:00
Carving . chisel . addVariation ( "stonebricksmooth" , Blocks . stonebrick , i , i );
2014-10-28 21:10:08 -04:00
}
2014-11-24 18:48:10 -05:00
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.4.desc" ), 4 , "stonebrick/smallbricks" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.5.desc" ), 5 , "stonebrick/largebricks" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.6.desc" ), 6 , "stonebrick/smallchaotic" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.7.desc" ), 7 , "stonebrick/chaoticbricks" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.8.desc" ), 8 , "stonebrick/chaotic" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.9.desc" ), 9 , "stonebrick/fancy" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.10.desc" ), 10 , "stonebrick/ornate" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.11.desc" ), 11 , "stonebrick/largeornate" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.12.desc" ), 12 , "stonebrick/panel-hard" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.13.desc" ), 13 , "stonebrick/sunken" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.14.desc" ), 14 , "stonebrick/ornatepanel" );
stoneBrick . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.stoneBrick.15.desc" ), 15 , "stonebrick/poison" );
2014-11-03 17:16:23 -05:00
stoneBrick . carverHelper . register ( stoneBrick , "stonebricksmooth" );
Carving . chisel . registerOre ( "stonebricksmooth" , "stonebricksmooth" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "snakestone" ))
{
snakestone = ( BlockSnakestone ) new BlockSnakestone ( "Chisel:snakestone/snake/" ). setBlockName ( "snakestoneStone" );
GameRegistry . registerBlock ( snakestone , ItemCarvable . class , "stone_snakestone" );
//LanguageRegistry.addName(new ItemStack(snakestone, 1, 1), "Stone snake block head");
//LanguageRegistry.addName(new ItemStack(snakestone, 1, 13), "Stone snake block body");
Carving . chisel . addVariation ( "stonebrick" , snakestone , 1 , 16 );
Carving . chisel . addVariation ( "stonebrick" , snakestone , 13 , 17 );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "snakestoneStone" , "snakestoneStone" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "dirt" ))
{
2014-11-30 18:10:51 -05:00
dirt = ( BlockCarvable ) new BlockCarvable ( Material . ground ). setHardness ( 0 . 5F ). setStepSound ( Block . soundTypeGravel ). setBlockName ( "dirt.default" );
2014-10-28 21:10:08 -04:00
Carving . chisel . addVariation ( "dirt" , Blocks . dirt , 0 , 0 );
dirt . carverHelper . setChiselBlockName ( "Dirt" );
//dirt.carverHelper.addVariation("Dirt", 0, Blocks.dirt);
2014-11-24 18:48:10 -05:00
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.0.desc" ), 0 , "dirt/bricks" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.1.desc" ), 1 , "dirt/netherbricks" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.2.desc" ), 2 , "dirt/bricks3" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.3.desc" ), 3 , "dirt/cobble" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.4.desc" ), 4 , "dirt/reinforced" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.5.desc" ), 5 , "dirt/dirt-reinforced" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.6.desc" ), 6 , "dirt/happy" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.7.desc" ), 7 , "dirt/bricks2" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.8.desc" ), 8 , "dirt/bricks+dirt2" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.9.desc" ), 9 , "dirt/hor" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.10.desc" ), 10 , "dirt/vert" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.11.desc" ), 11 , "dirt/layers" );
dirt . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.dirt.12.desc" ), 12 , "dirt/vertical" );
2014-10-28 21:10:08 -04:00
dirt . carverHelper . register ( dirt , "dirt" );
dirt . setHarvestLevel ( "shovel" , 0 );
OreDictionary . registerOre ( "dirt" , dirt );
Carving . chisel . registerOre ( "dirt" , "dirt" );
}
if ( Configurations . featureEnabled ( "ice" ))
{
ice = ( BlockMarbleIce ) new BlockMarbleIce (). setHardness ( 0 . 5F ). setLightOpacity ( 3 ). setStepSound ( Block . soundTypeGlass );
Carving . chisel . addVariation ( "ice" , Blocks . ice , 0 , 0 );
2014-11-24 18:48:10 -05:00
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.1.desc" ), 1 , "ice/a1-ice-light" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.2.desc" ), 2 , "ice/a1-stonecobble-icecobble" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.3.desc" ), 3 , "ice/a1-netherbrick-ice" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.4.desc" ), 4 , "ice/a1-stonecobble-icebrick" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.5.desc" ), 5 , "ice/a1-stonecobble-icebricksmall" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.6.desc" ), 6 , "ice/a1-stonecobble-icedungeon" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.7.desc" ), 7 , "ice/a1-stonecobble-icefour" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.8.desc" ), 8 , "ice/a1-stonecobble-icefrench" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.9.desc" ), 9 , "ice/sunkentiles" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.10.desc" ), 10 , "ice/tiles" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.11.desc" ), 11 , "ice/a1-stonecobble-icepanel" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.12.desc" ), 12 , "ice/a1-stoneslab-ice" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.13.desc" ), 13 , "ice/zelda" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.14.desc" ), 14 , "ice/bismuth" );
ice . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.ice.15.desc" ), 15 , "ice/poison" );
2014-10-28 21:10:08 -04:00
ice . carverHelper . register ( ice , "ice" );
Carving . chisel . registerOre ( "ice" , "ice" );
if ( Configurations . featureEnabled ( "icePillar" ))
{
icePillar = ( BlockMarbleIce ) new BlockMarbleIce (). setHardness ( 0 . 5F ). setLightOpacity ( 3 ). setStepSound ( Block . soundTypeGlass );
icePillar . carverHelper . setChiselBlockName ( "Ice Pillar" );
2014-11-24 18:48:10 -05:00
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.0.desc" ), 0 , "icepillar/column" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.1.desc" ), 1 , "icepillar/capstone" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.2.desc" ), 2 , "icepillar/base" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.3.desc" ), 3 , "icepillar/small" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.4.desc" ), 4 , "icepillar/pillar-carved" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.5.desc" ), 5 , "icepillar/a1-stoneornamental-marblegreek" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.6.desc" ), 6 , "icepillar/a1-stonepillar-greek" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.7.desc" ), 7 , "icepillar/a1-stonepillar-plain" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.8.desc" ), 8 , "icepillar/a1-stonepillar-greektopplain" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.9.desc" ), 9 , "icepillar/a1-stonepillar-plaintopplain" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.10.desc" ), 10 , "icepillar/a1-stonepillar-greekbottomplain" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.11.desc" ), 11 , "icepillar/a1-stonepillar-plainbottomplain" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.12.desc" ), 12 , "icepillar/a1-stonepillar-greektopgreek" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.13.desc" ), 13 , "icepillar/a1-stonepillar-plaintopgreek" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.14.desc" ), 14 , "icepillar/a1-stonepillar-greekbottomgreek" );
icePillar . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.icePillar.15.desc" ), 15 , "icepillar/a1-stonepillar-plainbottomgreek" );
2014-10-28 21:10:08 -04:00
icePillar . carverHelper . register ( icePillar , "ice_pillar" );
Carving . chisel . setGroupClass ( "ice_pillar" , "ice" );
}
if ( Configurations . featureEnabled ( "iceStairs" ))
{
BlockMarbleStairsMaker makerIceStairs = new BlockMarbleStairsMaker ( Blocks . ice );
makerIceStairs . carverHelper . setChiselBlockName ( "Ice Stairs" );
2014-11-24 18:48:10 -05:00
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.0.desc" ), 0 , Blocks . ice );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.1.desc" ), 1 , "ice/a1-ice-light" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.2.desc" ), 2 , "ice/a1-stonecobble-icecobble" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.3.desc" ), 3 , "ice/a1-netherbrick-ice" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.4.desc" ), 4 , "ice/a1-stonecobble-icebrick" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.5.desc" ), 5 , "ice/a1-stonecobble-icebricksmall" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.6.desc" ), 6 , "ice/a1-stonecobble-icedungeon" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.7.desc" ), 7 , "ice/a1-stonecobble-icefour" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.8.desc" ), 8 , "ice/a1-stonecobble-icefrench" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.9.desc" ), 9 , "ice/sunkentiles" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.10.desc" ), 10 , "ice/tiles" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.11.desc" ), 11 , "ice/a1-stonecobble-icepanel" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.12.desc" ), 12 , "ice/a1-stoneslab-ice" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.13.desc" ), 13 , "ice/zelda" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.14.desc" ), 14 , "ice/bismuth" );
makerIceStairs . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iceStairs.15.desc" ), 15 , "ice/poison" );
2014-10-28 21:10:08 -04:00
makerIceStairs . create ( new BlockMarbleStairsMakerCreator ()
{
@Override
public BlockMarbleStairs create ( Block block , int meta , CarvableHelper helper )
{
return new BlockMarbleIceStairs ( block , meta , helper );
}
}, "ice_stairs" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "iceStairs" , "iceStairs" );
2014-10-28 21:10:08 -04:00
}
}
if ( Configurations . featureEnabled ( "wood" ))
{
String [] plank_names = { "oak" , "spruce" , "birch" , "jungle" , "acacia" , "dark-oak" };
String [] plank_ucnames = { "Oak" , "Spruce" , "Birch" , "Jungle" , "Acacia" , "Dark Oak" };
for ( int i = 0 ; i < 6 ; i ++ )
{
String n = plank_names [ i ] ;
String u = plank_ucnames [ i ] ;
final String orename = n . replace ( '-' , '_' ) + "_planks" ;
2014-12-14 19:28:28 -05:00
planks [ i ] = ( BlockCarvable ) ( new BlockCarvable ( Material . wood )). setHardness ( 2 . 0F ). setResistance ( 5 . 0F ). setStepSound ( Block . soundTypeWood );
2014-10-28 21:10:08 -04:00
planks [ i ] . carverHelper . setChiselBlockName ( u + " Wood Planks" );
planks [ i ] . carverHelper . addVariation ( "Smooth " + n + " wood planks" , 1 , "planks-" + n + "/clean" );
planks [ i ] . carverHelper . addVariation ( "Short " + n + " wood planks" , 2 , "planks-" + n + "/short" );
planks [ i ] . carverHelper . addVariation ( "Fancy " + n + " wood plank arrangement" , 6 , "planks-" + n + "/fancy" );
planks [ i ] . carverHelper . addVariation ( u + " wood panel" , 8 , "planks-" + n + "/panel-nails" );
planks [ i ] . carverHelper . addVariation ( u + " wood double slab" , 9 , "planks-" + n + "/double" );
planks [ i ] . carverHelper . addVariation ( u + " wood crate" , 10 , "planks-" + n + "/crate" );
planks [ i ] . carverHelper . addVariation ( "Fancy " + n + " wood crate" , 11 , "planks-" + n + "/crate-fancy" );
planks [ i ] . carverHelper . addVariation ( "Large long " + n + " wood planks" , 13 , "planks-" + n + "/large" );
2014-12-10 20:13:52 -05:00
planks [ i ] . carverHelper . addVariation ( "Vertical " + n + " wood planks" , 3 , "planks-" + n + "/vertical" );
planks [ i ] . carverHelper . addVariation ( "Vertical uneven " + n + " wood planks" , 4 , "planks-" + n + "/vertical-uneven" );
planks [ i ] . carverHelper . addVariation ( u + " wood parquet" , 5 , "planks-" + n + "/parquet" );
planks [ i ] . carverHelper . addVariation ( u + " wood plank blinds" , 7 , "planks-" + n + "/blinds" );
planks [ i ] . carverHelper . addVariation ( u + " wood scaffold" , 12 , "planks-" + n + "/crateex" );
planks [ i ] . carverHelper . addVariation ( u + " wood planks in disarray" , 14 , "planks-" + n + "/chaotic-hor" );
planks [ i ] . carverHelper . addVariation ( "Vertical " + n + " wood planks in disarray" , 15 , "planks-" + n + "/chaotic" );
2014-10-28 21:10:08 -04:00
planks [ i ] . carverHelper . register ( planks [ i ] , orename );
Carving . chisel . addVariation ( orename , Blocks . planks , i , 0 );
planks [ i ] . setHarvestLevel ( "axe" , 0 );
2014-11-26 20:03:54 -05:00
Carving . chisel . registerOre ( "wood" , "wood" );
2014-10-28 21:10:08 -04:00
Carving . chisel . setVariationSound ( orename , Chisel . MOD_ID + ":chisel.wood" );
}
}
if ( Configurations . featureEnabled ( "obsidian" ))
{
2014-12-14 19:28:28 -05:00
obsidian = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 50 . 0F ). setResistance ( 2000 . 0F ). setStepSound ( Block . soundTypeStone );
2014-10-28 21:10:08 -04:00
Carving . chisel . addVariation ( "obsidian" , Blocks . obsidian , 0 , 0 );
2014-11-24 18:48:10 -05:00
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.1.desc" ), 1 , "obsidian/pillar" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.2.desc" ), 2 , "obsidian/pillar-quartz" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.3.desc" ), 3 , "obsidian/chiseled" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.4.desc" ), 4 , "obsidian/panel-shiny" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.5.desc" ), 5 , "obsidian/panel" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.6.desc" ), 6 , "obsidian/chunks" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.7.desc" ), 7 , "obsidian/growth" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.8.desc" ), 8 , "obsidian/crystal" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.9.desc" ), 9 , "obsidian/map-a" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.10.desc" ), 10 , "obsidian/map-b" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.11.desc" ), 11 , "obsidian/panel-light" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.12.desc" ), 12 , "obsidian/blocks" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.13.desc" ), 13 , "obsidian/tiles" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.14.desc" ), 14 , "obsidian/greek" );
obsidian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.obsidian.15.desc" ), 15 , "obsidian/crate" );
2014-10-28 21:10:08 -04:00
obsidian . carverHelper . register ( obsidian , "obsidian" );
Carving . chisel . registerOre ( "obsidian" , "obsidian" );
}
if ( Configurations . featureEnabled ( "snakestoneObsidian" ))
{
obsidianSnakestone = ( BlockSnakestoneObsidian ) new BlockSnakestoneObsidian ( "Chisel:snakestone/obsidian/" ). setBlockName ( "obsidianSnakestone" ). setHardness ( 50 . 0F ). setResistance ( 2000 . 0F );
GameRegistry . registerBlock ( obsidianSnakestone , ItemCarvable . class , "obsidian_snakestone" );
Carving . chisel . addVariation ( "obsidian" , obsidianSnakestone , 1 , 16 );
Carving . chisel . addVariation ( "obsidian" , obsidianSnakestone , 13 , 17 );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "obsidianSnakestone" , "obsidianSnakestone" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "ironBars" ))
{
paneIron = ( BlockCarvablePane ) new BlockCarvablePane ( Material . iron , true ). setHardness ( 0 . 3F ). setStepSound ( Block . soundTypeMetal );
Carving . chisel . addVariation ( "iron_bars" , Blocks . iron_bars , 0 , 0 );
2014-11-24 18:48:10 -05:00
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.1.desc" ), 1 , "ironpane/fenceIron" );
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.2.desc" ), 2 , "ironpane/barbedwire" );
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.3.desc" ), 3 , "ironpane/cage" );
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.4.desc" ), 4 , "ironpane/fenceIronTop" );
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.5.desc" ), 5 , "ironpane/terrain-glass-thickgrid" );
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.6.desc" ), 6 , "ironpane/terrain-glass-thingrid" );
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.7.desc" ), 7 , "ironpane/terrain-glass-ornatesteel" );
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.8.desc" ), 8 , "ironpane/bars" );
paneIron . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.iron_bars.9.desc" ), 9 , "ironpane/spikes" );
2014-10-28 21:10:08 -04:00
paneIron . carverHelper . register ( paneIron , "iron_bars" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "iron_bars" , "iron_bars" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "glassPane" ))
{
paneGlass = ( BlockCarvablePane ) new BlockCarvablePane ( Material . glass , false ). setHardness ( 0 . 3F ). setStepSound ( Block . soundTypeGlass );
Carving . chisel . addVariation ( "glass_pane" , Blocks . glass_pane , 0 , 0 );
2014-11-24 18:48:10 -05:00
paneGlass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass_pane.1.desc" ), 1 , "glasspane/terrain-glassbubble" );
paneGlass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass_pane.2.desc" ), 2 , "glasspane/terrain-glassnoborder" );
paneGlass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass_pane.3.desc" ), 3 , "glasspane/terrain-glass-screen" );
paneGlass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass_pane.4.desc" ), 4 , "glasspane/terrain-glassstreak" );
paneGlass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass_pane.12.desc" ), 12 , "glasspane/chinese" );
paneGlass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass_pane.13.desc" ), 13 , "glasspane/chinese2" );
paneGlass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass_pane.14.desc" ), 14 , "glasspane/japanese" );
paneGlass . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.glass_pane.15.desc" ), 15 , "glasspane/japanese2" );
2014-10-28 21:10:08 -04:00
paneGlass . carverHelper . register ( paneGlass , "glass_pane" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "glass_pane" , "glass_pane" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "redstoneBlock" ))
{
redstone = ( BlockCarvablePowered ) ( new BlockCarvablePowered ( Material . iron )). setHardness ( 5 . 0F ). setResistance ( 10 . 0F ). setStepSound ( Block . soundTypeMetal );
Carving . chisel . addVariation ( "redstone_block" , Blocks . redstone_block , 0 , 0 );
2014-11-24 18:48:10 -05:00
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.1.desc" ), 1 , "redstone/smooth" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.2.desc" ), 2 , "redstone/block" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.3.desc" ), 3 , "redstone/blocks" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.4.desc" ), 4 , "redstone/bricks" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.5.desc" ), 5 , "redstone/smallbricks" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.6.desc" ), 6 , "redstone/smallchaotic" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.7.desc" ), 7 , "redstone/chiseled" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.8.desc" ), 8 , "redstone/ere" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.9.desc" ), 9 , "redstone/ornate-tiles" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.10.desc" ), 10 , "redstone/pillar" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.11.desc" ), 11 , "redstone/tiles" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.12.desc" ), 12 , "redstone/circuit" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.13.desc" ), 13 , "redstone/supaplex" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.14.desc" ), 14 , "redstone/a1-blockredstone-skullred" );
redstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.redstone_block.15.desc" ), 15 , "redstone/a1-blockredstone-redstonezelda" );
2014-10-28 21:10:08 -04:00
redstone . carverHelper . register ( redstone , "redstone_block" );
Carving . chisel . registerOre ( "redstone_block" , "redstone" );
}
if ( Configurations . featureEnabled ( "holystone" ))
{
holystone = ( BlockHolystone ) new BlockHolystone ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Chisel . soundHolystoneFootstep );
2014-11-24 18:48:10 -05:00
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.0.desc" ), 0 , "holystone/holystone" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.1.desc" ), 1 , "holystone/smooth" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.2.desc" ), 2 , "holystone/love" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.3.desc" ), 3 , "holystone/chiseled" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.4.desc" ), 4 , "holystone/blocks" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.5.desc" ), 5 , "holystone/blocks-rough" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.6.desc" ), 6 , "holystone/brick" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.7.desc" ), 7 , "holystone/largebricks" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.8.desc" ), 8 , "holystone/platform" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.9.desc" ), 9 , "holystone/platform-tiles" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.10.desc" ), 10 , "holystone/construction" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.11.desc" ), 11 , "holystone/fancy-tiles" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.12.desc" ), 12 , "holystone/plate" );
holystone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.holystone.13.desc" ), 13 , "holystone/plate-rough" );
2014-10-28 21:10:08 -04:00
holystone . carverHelper . register ( holystone , "holystone" );
OreDictionary . registerOre ( "holystone" , holystone );
Carving . chisel . registerOre ( "holystone" , "holystone" );
}
if ( Configurations . featureEnabled ( "lavastone" ))
{
lavastone = ( BlockLavastone ) new BlockLavastone ( Material . rock , "lava_flow" ). setHardness ( 2 . 0F ). setResistance ( 10F );
2014-11-24 18:48:10 -05:00
lavastone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lavastone.0.desc" ), 0 , "lavastone/cobble" );
lavastone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lavastone.1.desc" ), 1 , "lavastone/black" );
lavastone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lavastone.2.desc" ), 2 , "lavastone/tiles" );
lavastone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lavastone.3.desc" ), 3 , "lavastone/chaotic" );
lavastone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lavastone.4.desc" ), 4 , "lavastone/creeper" );
lavastone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lavastone.5.desc" ), 5 , "lavastone/panel" );
lavastone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lavastone.6.desc" ), 6 , "lavastone/panel-ornate" );
lavastone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.lavastone.7.desc" ), 7 , "lavastone/dark" );
2014-10-28 21:10:08 -04:00
lavastone . carverHelper . register ( lavastone , "lavastone" );
OreDictionary . registerOre ( "lavastone" , lavastone );
Carving . chisel . registerOre ( "lavastone" , "lavastone" );
}
if ( Configurations . featureEnabled ( "fantasy" ))
{
2014-12-14 19:28:28 -05:00
fantasy = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F );
2014-10-28 21:10:08 -04:00
fantasy . carverHelper . setChiselBlockName ( "Fantasy Block" );
2014-11-24 18:48:10 -05:00
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.0.desc" ), 0 , "fantasy/brick" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.1.desc" ), 1 , "fantasy/brick-faded" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.2.desc" ), 2 , "fantasy/brick-wear" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.3.desc" ), 3 , "fantasy/bricks" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.4.desc" ), 4 , "fantasy/decor" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.5.desc" ), 5 , "fantasy/decor-block" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.6.desc" ), 6 , "fantasy/pillar" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.7.desc" ), 7 , "fantasy/pillar-decorated" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.8.desc" ), 8 , "fantasy/gold-decor-1" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.9.desc" ), 9 , "fantasy/gold-decor-2" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.10.desc" ), 10 , "fantasy/gold-decor-3" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.11.desc" ), 11 , "fantasy/gold-decor-4" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.12.desc" ), 12 , "fantasy/plate" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.13.desc" ), 13 , "fantasy/block" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.14.desc" ), 14 , "fantasy/bricks-chaotic" );
fantasy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock.15.desc" ), 15 , "fantasy/bricks-wear" );
2014-10-28 21:10:08 -04:00
fantasy . carverHelper . register ( fantasy , "fantasyblock" );
OreDictionary . registerOre ( "fantasy" , fantasy );
Carving . chisel . registerOre ( "fantasyblock" , "fantasy" );
}
if ( Configurations . featureEnabled ( "carpet" ))
{
2014-11-30 18:10:51 -05:00
carpet = ( BlockCarvable ) new BlockCarvable ( Material . cloth ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Block . soundTypeCloth );
2014-10-28 21:10:08 -04:00
carpet . carverHelper . setChiselBlockName ( "Carpet Block" );
2014-11-24 18:48:10 -05:00
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.0.desc" ), 0 , "carpet/white" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.1.desc" ), 1 , "carpet/orange" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.2.desc" ), 2 , "carpet/lily" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.3.desc" ), 3 , "carpet/lightblue" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.4.desc" ), 4 , "carpet/yellow" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.5.desc" ), 5 , "carpet/lightgreen" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.6.desc" ), 6 , "carpet/pink" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.7.desc" ), 7 , "carpet/darkgrey" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.8.desc" ), 8 , "carpet/grey" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.9.desc" ), 9 , "carpet/teal" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.10.desc" ), 10 , "carpet/purple" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.11.desc" ), 11 , "carpet/darkblue" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.12.desc" ), 12 , "carpet/brown" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.13.desc" ), 13 , "carpet/green" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.14.desc" ), 14 , "carpet/red" );
carpet . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet_block.15.desc" ), 15 , "carpet/black" );
2014-10-28 21:10:08 -04:00
carpet . carverHelper . forbidChiseling = true ;
carpet . carverHelper . register ( carpet , "carpet_block" );
OreDictionary . registerOre ( "carpet" , carpet );
Carving . chisel . registerOre ( "carpet_block" , "carpet" );
}
if ( Configurations . featureEnabled ( "carpetFloor" ))
{
carpetFloor = ( BlockMarbleCarpet ) new BlockMarbleCarpet ( Material . cloth ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Block . soundTypeCloth );
carpetFloor . carverHelper . setChiselBlockName ( "Carpet" );
2014-11-24 18:48:10 -05:00
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.0.desc" ), 0 , "carpet/white" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.1.desc" ), 1 , "carpet/orange" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.2.desc" ), 2 , "carpet/lily" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.3.desc" ), 3 , "carpet/lightblue" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.4.desc" ), 4 , "carpet/yellow" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.5.desc" ), 5 , "carpet/lightgreen" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.6.desc" ), 6 , "carpet/pink" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.7.desc" ), 7 , "carpet/darkgrey" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.8.desc" ), 8 , "carpet/grey" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.9.desc" ), 9 , "carpet/teal" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.10.desc" ), 10 , "carpet/purple" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.11.desc" ), 11 , "carpet/darkblue" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.12.desc" ), 12 , "carpet/brown" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.13.desc" ), 13 , "carpet/green" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.14.desc" ), 14 , "carpet/red" );
carpetFloor . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.carpet.15.desc" ), 15 , "carpet/black" );
2014-10-28 21:10:08 -04:00
carpetFloor . carverHelper . forbidChiseling = true ;
carpetFloor . carverHelper . register ( carpetFloor , "carpet" );
for ( int i = 0 ; i < 16 ; i ++ )
{
String group = "carpet." + i ;
Carving . needle . addVariation ( group , Blocks . carpet , i , 0 );
Carving . needle . addVariation ( group , carpetFloor , i , 2 );
Carving . needle . addVariation ( group , carpet , i , 1 );
}
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "carpet" , "carpet" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "bookshelf" ))
{
bookshelf = ( BlockCarvable ) new BlockMarbleBookshelf (). setHardness ( 1 . 5F ). setStepSound ( Block . soundTypeWood );
Carving . chisel . addVariation ( "bookshelf" , Blocks . bookshelf , 0 , 0 );
2014-11-24 18:48:10 -05:00
bookshelf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bookshelf.1.desc" ), 1 , "bookshelf/rainbow" );
bookshelf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bookshelf.2.desc" ), 2 , "bookshelf/necromancer-novice" );
bookshelf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bookshelf.3.desc" ), 3 , "bookshelf/necromancer" );
bookshelf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bookshelf.4.desc" ), 4 , "bookshelf/redtomes" );
bookshelf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bookshelf.5.desc" ), 5 , "bookshelf/abandoned" );
bookshelf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bookshelf.6.desc" ), 6 , "bookshelf/hoarder" );
bookshelf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bookshelf.7.desc" ), 7 , "bookshelf/brim" );
bookshelf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bookshelf.8.desc" ), 8 , "bookshelf/historician" );
2014-10-28 21:10:08 -04:00
bookshelf . carverHelper . register ( bookshelf , "bookshelf" );
bookshelf . setHarvestLevel ( "axe" , 0 );
Carving . chisel . registerOre ( "bookshelf" , "bookshelf" );
}
if ( Configurations . featureEnabled ( "futuristicArmorPlating" ))
{
2014-11-30 18:10:51 -05:00
tyrian = ( BlockCarvable ) new BlockCarvable ( Material . iron ). setHardness ( 5 . 0F ). setResistance ( 10 . 0F ). setStepSound ( Block . soundTypeMetal );
2014-10-28 21:10:08 -04:00
tyrian . carverHelper . setChiselBlockName ( "Futuristic Armor Plating Block" );
2014-11-24 18:48:10 -05:00
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.0.desc" ), 0 , "tyrian/shining" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.1.desc" ), 1 , "tyrian/tyrian" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.2.desc" ), 2 , "tyrian/chaotic" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.3.desc" ), 3 , "tyrian/softplate" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.4.desc" ), 4 , "tyrian/rust" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.5.desc" ), 5 , "tyrian/elaborate" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.6.desc" ), 6 , "tyrian/routes" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.7.desc" ), 7 , "tyrian/platform" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.8.desc" ), 8 , "tyrian/platetiles" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.9.desc" ), 9 , "tyrian/diagonal" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.10.desc" ), 10 , "tyrian/dent" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.11.desc" ), 11 , "tyrian/blueplating" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.12.desc" ), 12 , "tyrian/black" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.13.desc" ), 13 , "tyrian/black2" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.14.desc" ), 14 , "tyrian/opening" );
tyrian . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.tyrian.15.desc" ), 15 , "tyrian/plate" );
2014-10-28 21:10:08 -04:00
tyrian . carverHelper . register ( tyrian , "tyrian" );
OreDictionary . registerOre ( "tyrian" , tyrian );
Carving . chisel . registerOre ( "tyrian" , "tyrian" );
}
if ( Configurations . featureEnabled ( "templeBlock" ))
{
temple = ( BlockCarvable ) new BlockEldritch (). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Chisel . soundTempleFootstep );
temple . carverHelper . setChiselBlockName ( "Temple Block" );
2014-11-24 18:48:10 -05:00
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.0.desc" ), 0 , "temple/cobble" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.1.desc" ), 1 , "temple/ornate" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.2.desc" ), 2 , "temple/plate" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.3.desc" ), 3 , "temple/plate-cracked" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.4.desc" ), 4 , "temple/bricks" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.5.desc" ), 5 , "temple/bricks-large" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.6.desc" ), 6 , "temple/bricks-weared" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.7.desc" ), 7 , "temple/bricks-disarray" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.8.desc" ), 8 , "temple/column" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.9.desc" ), 9 , "temple/stand" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.10.desc" ), 10 , "temple/stand-mosaic" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.11.desc" ), 11 , "temple/stand-creeper" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.12.desc" ), 12 , "temple/tiles" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.13.desc" ), 13 , "temple/smalltiles" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.14.desc" ), 14 , "temple/tiles-light" );
temple . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.templeblock.15.desc" ), 15 , "temple/smalltiles-light" );
2014-10-28 21:10:08 -04:00
temple . carverHelper . register ( temple , "templeblock" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "templeblock" , "templeblock" );
2014-10-28 21:10:08 -04:00
if ( Configurations . featureEnabled ( "templeBlockMossy" ))
{
templeMossy = ( BlockCarvable ) new BlockEldritch (). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Chisel . soundTempleFootstep );
templeMossy . carverHelper . setChiselBlockName ( "Mossy Temple Block" );
2014-11-24 18:48:10 -05:00
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.0.desc" ), 0 , "templemossy/cobble" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.1.desc" ), 1 , "templemossy/ornate" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.2.desc" ), 2 , "templemossy/plate" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.3.desc" ), 3 , "templemossy/plate-cracked" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.4.desc" ), 4 , "templemossy/bricks" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.5.desc" ), 5 , "templemossy/bricks-large" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.6.desc" ), 6 , "templemossy/bricks-weared" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.7.desc" ), 7 , "templemossy/bricks-disarray" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.8.desc" ), 8 , "templemossy/column" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.9.desc" ), 9 , "templemossy/stand" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.10.desc" ), 10 , "templemossy/stand-mosaic" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.11.desc" ), 11 , "templemossy/stand-creeper" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.12.desc" ), 12 , "templemossy/tiles" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.13.desc" ), 13 , "templemossy/smalltiles" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.14.desc" ), 14 , "templemossy/tiles-light" );
templeMossy . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.mossy_templeblock.15.desc" ), 15 , "templemossy/smalltiles-light" );
2014-10-28 21:10:08 -04:00
templeMossy . carverHelper . register ( templeMossy , "mossy_templeblock" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "mossy_templeblock" , "mossy_templeblock" );
2014-10-28 21:10:08 -04:00
}
}
if ( Configurations . featureEnabled ( "cloud" ))
{
cloud = ( BlockCloud ) new BlockCloud (). setHardness ( 0 . 2F ). setLightOpacity ( 3 ). setStepSound ( Block . soundTypeCloth );
2014-12-15 13:39:52 +00:00
cloud . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cloud.0.desc" ), 0 , "cloud/cloud" );
cloud . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cloud.1.desc" ), 1 , "cloud/large" );
cloud . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cloud.2.desc" ), 2 , "cloud/small" );
cloud . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cloud.3.desc" ), 3 , "cloud/vertical" );
cloud . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.cloud.4.desc" ), 4 , "cloud/grid" );
2014-10-28 21:10:08 -04:00
cloud . carverHelper . register ( cloud , "cloud" );
OreDictionary . registerOre ( "cloud" , cloud );
Carving . chisel . registerOre ( "cloud" , "cloud" );
}
if ( Configurations . featureEnabled ( "factory" ))
{
2014-12-14 19:28:28 -05:00
factory = ( BlockCarvable ) new BlockCarvable ( Material . iron ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Chisel . soundMetalFootstep );
2014-10-28 21:10:08 -04:00
factory . carverHelper . setChiselBlockName ( "factoryblock" );
2014-11-24 18:48:10 -05:00
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.0.desc" ), 0 , "factory/dots" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.1.desc" ), 1 , "factory/rust2" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.2.desc" ), 2 , "factory/rust" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.3.desc" ), 3 , "factory/platex" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.4.desc" ), 4 , "factory/wireframewhite" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.5.desc" ), 5 , "factory/wireframe" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.6.desc" ), 6 , "factory/hazard" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.7.desc" ), 7 , "factory/hazardorange" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.8.desc" ), 8 , "factory/circuit" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.9.desc" ), 9 , "factory/metalbox" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.10.desc" ), 10 , "factory/goldplate" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.11.desc" ), 11 , "factory/goldplating" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.12.desc" ), 12 , "factory/grinder" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.13.desc" ), 13 , "factory/plating" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.14.desc" ), 14 , "factory/rustplates" );
factory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.factory.15.desc" ), 15 , "factory/column" );
2014-10-28 21:10:08 -04:00
factory . carverHelper . register ( factory , "factoryblock" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "factoryblock" , "factoryblock" );
2014-10-28 21:10:08 -04:00
}
// 1.7! Let's go! Let's go-go!
String [] sGNames = new String [] {
"White" , "Orange" , "Magenta" , "Light Blue" ,
"Yellow" , "Lime" , "Pink" , "Gray" ,
"Light Gray" , "Cyan" , "Purple" , "Blue" ,
"Brown" , "Green" , "Red" , "Black"
};
if ( Configurations . featureEnabled ( "glassStained" )) for ( int i = 0 ; i < 16 ; i ++ )
{
final String blockName = "stained_glass_" + sGNames [ i ] . replaceAll ( " " , "" ). toLowerCase ();
String oreName = "stainedGlass" + sGNames [ i ] . replaceAll ( " " , "" );
String texName = "glassdyed/" + sGNames [ i ] . toLowerCase (). replaceAll ( " " , "" ) + "-" ;
int glassPrefix = ( i & 3 ) << 2 ;
int glassId = i >> 2 ;
Carving . chisel . addVariation ( blockName , Blocks . stained_glass , i , 0 );
if ( glassPrefix == 0 )
{
stainedGlass [ glassId ] = ( BlockCarvableGlass ) new BlockCarvableGlass (). setStained ( true ). setHardness ( 0 . 3F ). setStepSound ( Block . soundTypeGlass ). setBlockName ( "Stained Glass" );
stainedGlass [ glassId ] . carverHelper . registerBlock ( stainedGlass [ glassId ] , blockName );
}
stainedGlass [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " bubble glass" , glassPrefix , texName + "bubble" );
stainedGlass [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " glass panel" , glassPrefix + 1 , texName + "panel" );
stainedGlass [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " fancy glass panel" , glassPrefix + 2 , texName + "panel-fancy" );
stainedGlass [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " borderless glass" , glassPrefix + 3 , texName + "transparent" );
OreDictionary . registerOre ( oreName , new ItemStack ( Blocks . stained_glass , 1 , i ));
Carving . chisel . registerOre ( blockName , oreName );
for ( CarvableVariation cv : stainedGlass [ glassId ] . carverHelper . variations )
{
if ( cv . metadata < glassPrefix || cv . metadata >= glassPrefix + 4 )
continue ;
stainedGlass [ glassId ] . carverHelper . registerVariation ( blockName , cv , stainedGlass [ glassId ] , cv . metadata );
}
}
if ( Configurations . featureEnabled ( "glassStainedPane" )) for ( int i = 0 ; i < 16 ; i ++ )
{
final String blockName = "stained_glass_pane_" + sGNames [ i ] . replaceAll ( " " , "" ). toLowerCase ();
String oreName = "stainedGlassPane" + sGNames [ i ] . replaceAll ( " " , "" );
String texName = "glasspanedyed/" + sGNames [ i ] . toLowerCase (). replaceAll ( " " , "" ) + "-" ;
Carving . chisel . addVariation ( blockName , Blocks . stained_glass_pane , i , 0 );
int glassPrefix = ( i & 1 ) << 3 ;
int glassId = i >> 1 ;
if ( glassPrefix == 0 )
{
2014-11-24 18:48:10 -05:00
stainedGlassPane [ glassId ] = ( BlockCarvablePane ) new BlockCarvablePane ( Material . glass , true ). setStained ( true ). setHardness ( 0 . 3F ). setStepSound ( Block . soundTypeGlass ). setBlockName ( "Stained Glass Pane" );
2014-10-28 21:10:08 -04:00
stainedGlassPane [ glassId ] . carverHelper . registerBlock ( stainedGlassPane [ glassId ] , blockName );
stainedGlassPane [ glassId ] . carverHelper . blockName = "Stained Glass Pane" ;
}
stainedGlassPane [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " bubble glass" , glassPrefix , texName + "bubble" );
stainedGlassPane [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " glass panel" , glassPrefix + 1 , texName + "panel" );
stainedGlassPane [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " fancy glass panel" , glassPrefix + 2 , texName + "panel-fancy" );
stainedGlassPane [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " borderless glass" , glassPrefix + 3 , texName + "transparent" );
stainedGlassPane [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " quadrant glass" , glassPrefix + 4 , texName + "quad" );
stainedGlassPane [ glassId ] . carverHelper . addVariation ( sGNames [ i ] + " fancy quadrant glass" , glassPrefix + 5 , texName + "quad-fancy" );
OreDictionary . registerOre ( oreName , new ItemStack ( Blocks . stained_glass_pane , 1 , i ));
Carving . chisel . registerOre ( blockName , oreName );
for ( CarvableVariation cv : stainedGlassPane [ glassId ] . carverHelper . variations )
{
if ( cv . metadata < glassPrefix || cv . metadata >= glassPrefix + 8 )
continue ;
stainedGlassPane [ glassId ] . carverHelper . registerVariation ( blockName , cv , stainedGlassPane [ glassId ] , cv . metadata );
}
}
if ( Configurations . featureEnabled ( "paperWall" ))
{
paperWall = ( BlockCarvablePane ) new BlockCarvablePane ( Material . ground , true ). setCreativeTab ( ModTabs . tabChiselBlocks ). setHardness ( 0 . 5F ). setResistance ( 10F );
paperWall . carverHelper . setChiselBlockName ( "Paper Wall" );
2014-11-24 18:48:10 -05:00
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.0.desc" ), 0 , "paper/box" );
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.1.desc" ), 1 , "paper/throughMiddle" );
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.2.desc" ), 2 , "paper/cross" );
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.3.desc" ), 3 , "paper/sixSections" );
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.4.desc" ), 4 , "paper/vertical" );
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.5.desc" ), 5 , "paper/horizontal" );
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.6.desc" ), 6 , "paper/floral" );
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.7.desc" ), 7 , "paper/plain" );
paperWall . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.paperwall.8.desc" ), 8 , "paper/door" );
2014-10-28 21:10:08 -04:00
paperWall . carverHelper . register ( paperWall , "paperwall" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "paperwall" , "paperwall" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "woolenClay" ))
{
2014-12-14 19:28:28 -05:00
woolenClay = ( BlockCarvable ) new BlockCarvable ( Material . clay ). setCreativeTab ( ModTabs . tabChiselBlocks ). setHardness ( 2F ). setResistance ( 10F );
2014-10-28 21:10:08 -04:00
woolenClay . carverHelper . setChiselBlockName ( "Woolen Clay" );
for ( int i = 0 ; i < 16 ; i ++ )
2014-11-24 18:48:10 -05:00
woolenClay . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.woolenClay." + i + ".desc" ), i , "woolenClay/" + sGNames [ i ] . replaceAll ( " " , "" ). toLowerCase ());
2014-10-28 21:10:08 -04:00
woolenClay . carverHelper . register ( woolenClay , "woolen_clay" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "woolen_clay" , "woolen_clay" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "laboratory" ))
{
2014-12-14 19:28:28 -05:00
laboratory = ( BlockCarvable ) new BlockCarvable ( Material . iron ). setHardness ( 2 . 0F ). setResistance ( 10F ). setStepSound ( Chisel . soundMetalFootstep );
2014-10-28 21:10:08 -04:00
laboratory . carverHelper . setChiselBlockName ( "laboratoryblock" );
2014-11-24 18:48:10 -05:00
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.0.desc" ), 0 , "laboratory/wallpanel" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.1.desc" ), 1 , "laboratory/dottedpanel" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.2.desc" ), 2 , "laboratory/largewall" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.3.desc" ), 3 , "laboratory/roundel" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.4.desc" ), 4 , "laboratory/wallvents" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.5.desc" ), 5 , "laboratory/largetile" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.6.desc" ), 6 , "laboratory/smalltile" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.7.desc" ), 7 , "laboratory/floortile" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.8.desc" ), 8 , "laboratory/checkertile" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.9.desc" ), 9 , "laboratory/clearscreen" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.10.desc" ), 10 , "laboratory/fuzzscreen" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.11.desc" ), 11 , "laboratory/largesteel" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.12.desc" ), 12 , "laboratory/smallsteel" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.13.desc" ), 13 , "laboratory/directionright" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.14.desc" ), 14 , "laboratory/directionleft" );
laboratory . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.laboratory.15.desc" ), 15 , "laboratory/infocon" );
2014-10-28 21:10:08 -04:00
laboratory . carverHelper . register ( laboratory , "laboratoryblock" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "laboratoryblock" , "laboratoryblock" );
2014-10-28 21:10:08 -04:00
}
if ( Configurations . featureEnabled ( "pumpkin" ))
{
2014-10-31 19:47:22 -04:00
Carving . chisel . addVariation ( "pumpkin" , Blocks . pumpkin , 0 , 0 );
2014-12-15 20:13:58 -05:00
pumpkin = ( BlockCarvablePumpkin ) new BlockCarvablePumpkin ( false ). setHardness ( 2 . 0F ). setResistance ( 10 . 0F ). setCreativeTab ( ModTabs . tabChiselBlocks );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.0.desc" ), 0 , "pumpkin/pumpkin_face_1_off" , pumpkin , 0 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.1.desc" ), 1 , "pumpkin/pumpkin_face_2_off" , pumpkin , 1 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.2.desc" ), 2 , "pumpkin/pumpkin_face_3_off" , pumpkin , 2 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.3.desc" ), 3 , "pumpkin/pumpkin_face_4_off" , pumpkin , 3 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.4.desc" ), 4 , "pumpkin/pumpkin_face_5_off" , pumpkin , 4 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.5.desc" ), 5 , "pumpkin/pumpkin_face_6_off" , pumpkin , 5 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.6.desc" ), 6 , "pumpkin/pumpkin_face_7_off" , pumpkin , 6 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.7.desc" ), 7 , "pumpkin/pumpkin_face_8_off" , pumpkin , 7 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.8.desc" ), 8 , "pumpkin/pumpkin_face_9_off" , pumpkin , 8 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.9.desc" ), 9 , "pumpkin/pumpkin_face_10_off" , pumpkin , 9 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.10.desc" ), 10 , "pumpkin/pumpkin_face_11_off" , pumpkin , 10 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.11.desc" ), 11 , "pumpkin/pumpkin_face_12_off" , pumpkin , 11 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.12.desc" ), 12 , "pumpkin/pumpkin_face_13_off" , pumpkin , 12 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.13.desc" ), 13 , "pumpkin/pumpkin_face_14_off" , pumpkin , 13 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.14.desc" ), 14 , "pumpkin/pumpkin_face_15_off" , pumpkin , 14 );
pumpkin . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.15.desc" ), 15 , "pumpkin/pumpkin_face_16_off" , pumpkin , 15 );
2014-12-15 14:24:31 -05:00
pumpkin . carverHelper . register ( pumpkin , "pumpkin" );
Carving . chisel . registerOre ( "pumpkin" , "pumpkin" );
}
if ( Configurations . featureEnabled ( "jackolantern" ))
{
Carving . chisel . addVariation ( "jackolantern" , Blocks . pumpkin , 0 , 0 );
2014-12-15 20:13:58 -05:00
jackolantern = ( BlockCarvablePumpkin ) new BlockCarvablePumpkin ( true ). setHardness ( 2 . 0F ). setResistance ( 10 . 0F ). setCreativeTab ( ModTabs . tabChiselBlocks );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.0.desc" ), 0 , "pumpkin/pumpkin_face_1_on" , jackolantern , 0 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.1.desc" ), 1 , "pumpkin/pumpkin_face_2_on" , jackolantern , 1 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.2.desc" ), 2 , "pumpkin/pumpkin_face_3_on" , jackolantern , 2 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.3.desc" ), 3 , "pumpkin/pumpkin_face_4_on" , jackolantern , 3 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.4.desc" ), 4 , "pumpkin/pumpkin_face_5_on" , jackolantern , 4 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.5.desc" ), 5 , "pumpkin/pumpkin_face_6_on" , jackolantern , 5 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.6.desc" ), 6 , "pumpkin/pumpkin_face_7_on" , jackolantern , 6 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.7.desc" ), 7 , "pumpkin/pumpkin_face_8_on" , jackolantern , 7 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.8.desc" ), 8 , "pumpkin/pumpkin_face_9_on" , jackolantern , 8 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.9.desc" ), 9 , "pumpkin/pumpkin_face_10_on" , jackolantern , 9 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.10.desc" ), 10 , "pumpkin/pumpkin_face_11_on" , jackolantern , 10 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.11.desc" ), 11 , "pumpkin/pumpkin_face_12_on" , jackolantern , 11 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.12.desc" ), 12 , "pumpkin/pumpkin_face_13_on" , jackolantern , 12 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.13.desc" ), 13 , "pumpkin/pumpkin_face_14_on" , jackolantern , 13 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.14.desc" ), 14 , "pumpkin/pumpkin_face_15_on" , jackolantern , 14 );
jackolantern . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.pumpkin.15.desc" ), 15 , "pumpkin/pumpkin_face_16_on" , jackolantern , 15 );
jackolantern . carverHelper . register ( jackolantern , "jackolantern" );
2014-12-15 14:24:31 -05:00
Carving . chisel . registerOre ( "jackolantern" , "jackolantern" );
2014-10-28 21:10:08 -04:00
}
2014-11-24 18:48:10 -05:00
if ( Configurations . featureEnabled ( "leaves" )){
2014-11-30 18:10:51 -05:00
leaf = ( BlockLeaf ) new BlockLeaf ( Material . leaves ). setHardness ( 0 . 2F ). setStepSound ( Block . soundTypeGrass );
2014-11-24 18:48:10 -05:00
Carving . chisel . addVariation ( "leaves" , Blocks . leaves , 0 , 0 );
Carving . chisel . addVariation ( "leaves" , Blocks . leaves , 1 , 0 );
Carving . chisel . addVariation ( "leaves" , Blocks . leaves , 2 , 0 );
Carving . chisel . addVariation ( "leaves" , Blocks . leaves , 3 , 0 );
Carving . chisel . addVariation ( "leaves" , Blocks . leaves2 , 0 , 0 );
Carving . chisel . addVariation ( "leaves" , Blocks . leaves2 , 1 , 0 );
if ( Configurations . fancy ){
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.6.desc" ), 6 , "leaves/dead" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.7.desc" ), 7 , "leaves/fancy" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.8.desc" ), 8 , "leaves/pinkpetal" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.9.desc" ), 9 , "leaves/red_roses" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.10.desc" ), 10 , "leaves/roses" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.11.desc" ), 11 , "leaves/christmasBalls" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.12.desc" ), 12 , "leaves/christmasLights" );
} else {
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.6.desc" ), 6 , "leaves/dead_opaque" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.7.desc" ), 7 , "leaves/fancy_opaque" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.8.desc" ), 8 , "leaves/pinkpetal_opaque" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.9.desc" ), 9 , "leaves/red_roses_opaque" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.10.desc" ), 10 , "leaves/roses_opaque" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.11.desc" ), 11 , "leaves/christmasBalls_opaque" );
leaf . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.leaves.12.desc" ), 12 , "leaves/christmasLights_opaque" );
}
leaf . carverHelper . register ( leaf , "leaves" );
Carving . chisel . registerOre ( "leaves" , "leaves" );
}
2014-11-26 20:03:54 -05:00
if ( Configurations . featureEnabled ( "chest" )) {
2014-11-27 13:07:59 -05:00
//TODO: will be done at winter time
2014-11-26 20:03:54 -05:00
present = ( BlockPresent ) new BlockPresent (). setHardness ( 2 . 5F ). setStepSound ( Block . soundTypeWood );
Carving . chisel . addVariation ( "chest" , Blocks . chest , 0 , 0 );
2014-11-30 18:02:58 -05:00
present . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.present.1.desc" ), 1 , present , 1 );
2014-11-26 20:03:54 -05:00
present . carverHelper . register ( present , "present" );
Carving . chisel . registerOre ( "chest" , "chest" );
}
2014-11-01 19:13:35 -04:00
if ( Configurations . featureEnabled ( "voidstone" )){
2014-12-15 00:58:00 +00:00
voidstone = ( BlockVoidstone ) new BlockVoidstone ( null ). setStepSound ( Block . soundTypeStone ). setCreativeTab ( ModTabs . tabChiselBlocks );
2014-12-15 01:19:33 +00:00
voidstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.0.desc" ), 0 , "voidstone/raw" );
2014-12-14 19:08:11 -05:00
voidstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.1.desc" ), 1 , "voidstone/quarters" );
voidstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.2.desc" ), 2 , "voidstone/smooth" );
voidstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.3.desc" ), 3 , "voidstone/skulls" );
2014-12-15 01:19:33 +00:00
voidstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.4.desc" ), 4 , "voidstone/rune" );
voidstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.5.desc" ), 5 , "voidstone/metalborder" );
voidstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.6.desc" ), 6 , "voidstone/eye" );
voidstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.7.desc" ), 7 , "voidstone/bevel" );
2014-12-15 00:49:28 +00:00
voidstone . carverHelper . register ( voidstone , "voidstone" );
Carving . chisel . registerOre ( "voidstone" , "voidstone" );
voidstone2 = ( BlockVoidstone ) new BlockVoidstone ( Chisel . MOD_ID + ":voidstone/animated/void" ). setStepSound ( Block . soundTypeStone ). setCreativeTab ( ModTabs . tabChiselBlocks );
2014-12-15 01:19:33 +00:00
voidstone2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.0.desc" ), 0 , "voidstone/animated/raw" );
2014-12-15 00:49:28 +00:00
voidstone2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.1.desc" ), 1 , "voidstone/animated/quarters" );
voidstone2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.2.desc" ), 2 , "voidstone/animated/smooth" );
2014-12-15 01:19:33 +00:00
voidstone2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.3.desc" ), 3 , "voidstone/animated/skulls" );
voidstone2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.4.desc" ), 4 , "voidstone/animated/rune" );
voidstone2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.5.desc" ), 5 , "voidstone/animated/metalborder" );
voidstone2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.6.desc" ), 6 , "voidstone/animated/eye" );
voidstone2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstone.7.desc" ), 7 , "voidstone/animated/bevel" );
2014-12-15 00:49:28 +00:00
voidstone2 . carverHelper . register ( voidstone2 , "voidstone2" );
Carving . chisel . registerOre ( "voidstone2" , "voidstone2" );
2014-11-01 20:08:45 -04:00
}
if ( Configurations . featureEnabled ( "voidstonePillars" )){
2014-12-15 00:58:00 +00:00
voidstonePillar = ( BlockVoidstonePillar ) new BlockVoidstonePillar (). setStepSound ( Block . soundTypeStone );
2014-12-15 00:49:28 +00:00
voidstonePillar . carvableHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstonePillar.0.desc" ), 0 , "voidstone/pillar-side" );
2014-11-01 20:08:45 -04:00
voidstonePillar . carvableHelper . register ( voidstonePillar , "voidstonePillar" );
2014-11-09 10:33:31 -05:00
Carving . chisel . registerOre ( "voidstonePillar" , "voidstonePillar" );
2014-12-15 00:49:28 +00:00
2014-12-15 00:58:00 +00:00
voidstonePillar2 = ( BlockVoidstonePillar2 ) new BlockVoidstonePillar2 (). setStepSound ( Block . soundTypeStone );
2014-12-15 00:49:28 +00:00
voidstonePillar2 . carvableHelper . addVariation ( StatCollector . translateToLocal ( "tile.voidstonePillar2.0.desc" ), 0 , "voidstone/pillar-side" );
voidstonePillar2 . carvableHelper . register ( voidstonePillar2 , "voidstonePillar2" );
Carving . chisel . registerOre ( "voidstonePillar2" , "voidstonePillar2" );
2014-11-01 19:13:35 -04:00
}
2014-11-30 18:02:58 -05:00
if ( Configurations . featureEnabled ( "waterstone" )) {
waterstone = ( BlockWaterstone ) new BlockWaterstone ( Material . rock , "water_flow" ). setHardness ( 2 . 0F ). setResistance ( 10 . 0F );
waterstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.waterstone.0.desc" ), 0 , "waterstone/cobble" );
waterstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.waterstone.1.desc" ), 1 , "waterstone/black" );
waterstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.waterstone.2.desc" ), 2 , "waterstone/tiles" );
waterstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.waterstone.3.desc" ), 3 , "waterstone/chaotic" );
waterstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.waterstone.4.desc" ), 4 , "waterstone/creeper" );
waterstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.waterstone.5.desc" ), 5 , "waterstone/panel" );
waterstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.waterstone.6.desc" ), 6 , "waterstone/panel-ornate" );
waterstone . carverHelper . register ( waterstone , "waterstone" );
2014-12-14 12:46:16 -05:00
OreDictionary . registerOre ( "blockWaterstone" , waterstone );
2014-11-30 18:02:58 -05:00
Carving . chisel . registerOre ( "waterstone" , "blockWaterstone" );
}
2014-12-07 20:45:17 -05:00
if ( Configurations . featureEnabled ( "hexPlating" )){
hexPlating = ( BlockCarvable ) new BlockCarvable (). setHardness ( 2 . 0F ). setResistance ( 10 . 0F );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.0.desc" ), 0 , "hexPlating/black" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.1.desc" ), 1 , "hexPlating/blue" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.2.desc" ), 2 , "hexPlating/brown" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.3.desc" ), 3 , "hexPlating/cyan" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.4.desc" ), 4 , "hexPlating/green" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.5.desc" ), 5 , "hexPlating/light_blue" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.6.desc" ), 6 , "hexPlating/light_gray" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.7.desc" ), 7 , "hexPlating/lime" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.8.desc" ), 8 , "hexPlating/magenta" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.9.desc" ), 9 , "hexPlating/orange" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.10.desc" ), 10 , "hexPlating/pink" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.11.desc" ), 11 , "hexPlating/purple" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.12.desc" ), 12 , "hexPlating/red" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.13.desc" ), 13 , "hexPlating/white" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.14.desc" ), 14 , "hexPlating/yellow" );
hexPlating . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.hexPlating.15.desc" ), 15 , "hexPlating/gray" );
hexPlating . carverHelper . register ( hexPlating , "hexPlating" );
Carving . chisel . registerOre ( "hexPlating" , "hexPlating" );
}
2014-12-14 14:22:17 -05:00
if ( Configurations . featureEnabled ( "fantasy2" )){
fantasy2 = ( BlockCarvable ) new BlockCarvable (). setHardness ( 2 . 0F ). setResistance ( 10F );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.0.desc" ), 0 , "fantasy2/brick" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.1.desc" ), 1 , "fantasy2/brick-faded" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.2.desc" ), 2 , "fantasy2/brick-wear" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.3.desc" ), 3 , "fantasy2/bricks" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.4.desc" ), 4 , "fantasy2/decor" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.5.desc" ), 5 , "fantasy2/decor-block" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.6.desc" ), 6 , "fantasy2/pillar" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.7.desc" ), 7 , "fantasy2/pillar-decorated" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.8.desc" ), 8 , "fantasy2/gold-decor-1" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.9.desc" ), 9 , "fantasy2/gold-decor-2" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.10.desc" ), 10 , "fantasy2/gold-decor-3" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.11.desc" ), 11 , "fantasy2/gold-decor-4" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.12.desc" ), 12 , "fantasy2/plate" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.13.desc" ), 13 , "fantasy2/block" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.14.desc" ), 14 , "fantasy2/bricks-chaotic" );
fantasy2 . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.fantasyblock2.15.desc" ), 15 , "fantasy2/bricks-wear" );
fantasy2 . carverHelper . register ( fantasy2 , "fantasyblock2" );
OreDictionary . registerOre ( "fantasy2" , fantasy2 );
Carving . chisel . registerOre ( "fantasyblock2" , "fantasy2" );
}
if ( Configurations . featureEnabled ( "grimstone" )){
grimstone = ( BlockGrimstone ) new BlockGrimstone ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.0.desc" ), 0 , "grimstone/grimstone" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.1.desc" ), 1 , "grimstone/smooth" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.2.desc" ), 2 , "grimstone/hate" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.3.desc" ), 3 , "grimstone/chiseled" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.4.desc" ), 4 , "grimstone/blocks" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.5.desc" ), 5 , "grimstone/blocks-rough" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.6.desc" ), 6 , "grimstone/brick" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.7.desc" ), 7 , "grimstone/largebricks" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.8.desc" ), 8 , "grimstone/platform" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.9.desc" ), 9 , "grimstone/platform-tiles" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.10.desc" ), 10 , "grimstone/construction" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.11.desc" ), 11 , "grimstone/fancy-tiles" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.12.desc" ), 12 , "grimstone/plate" );
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.13.desc" ), 13 , "grimstone/plate-rough" );
2014-12-15 19:14:05 +00:00
grimstone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.grimstone.14.desc" ), 14 , "grimstone/flaky" );
2014-12-14 14:22:17 -05:00
grimstone . carverHelper . register ( grimstone , "grimstone" );
Carving . chisel . registerOre ( "grimstone" , "grimstone" );
}
2014-12-14 22:18:05 -08:00
2014-12-16 13:01:11 +00:00
if ( Configurations . featureEnabled ( "technical" )){
technical = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setHardness ( 2 . 0F ). setResistance ( 10F );
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.0.desc" ), 0 , "technical/scaffold" );
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.1.desc" ), 1 , "technical/cautiontape" );
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.2.desc" ), 2 , "technical/industrialrelic" );
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.3.desc" ), 3 , "technical/pipesLarge" );
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.4.desc" ), 4 , "technical/fanFast" );
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.5.desc" ), 5 , "technical/pipesSmall" );
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.6.desc" ), 6 , "technical/fanStill" );
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.7.desc" ), 7 , "technical/vent" ); // I need help making this thing accept the CTM :(
technical . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.technical.8.desc" ), 8 , "technical/ventGlowing" );
//technical.carverHelper.addVariation(StatCollector.translateToLocal("tile.technical.9.desc"), 9, "technical/vent2");
technical . carverHelper . register ( technical , "technical" );
Carving . chisel . registerOre ( "technical" , "technical" );
2014-12-14 22:18:05 -08:00
}
2014-12-15 12:56:58 +00:00
if ( Configurations . featureEnabled ( "bone" ))
{
bone = ( BlockCarvable ) new BlockCarvable ( Material . rock );
bone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bone.0.desc" ), 0 , "bone/solid" );
bone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bone.1.desc" ), 1 , "bone/skullpile" );
bone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bone.2.desc" ), 2 , "bone/stacked" );
bone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bone.3.desc" ), 3 , "bone/bevel" );
2014-12-15 13:21:16 +00:00
bone . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.bone.4.desc" ), 4 , "bone/bricks" );
2014-12-15 12:56:58 +00:00
bone . carverHelper . register ( bone , "bone" );
Carving . chisel . registerOre ( "bone" , "bone" );
}
2014-12-16 14:03:15 +00:00
if ( Configurations . featureEnabled ( "scorching" ))
{
scorching = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setLightLevel ( 1F );
scorching . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.scorching.0.desc" ), 0 , "scorching/scorch" );
scorching . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.scorching.1.desc" ), 1 , "scorching/bordered" );
scorching . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.scorching.2.desc" ), 2 , "scorching/beveled" );
scorching . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.scorching.3.desc" ), 3 , "scorching/cracked" );
scorching . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.scorching.4.desc" ), 4 , "scorching/deep" );
scorching . carverHelper . register ( scorching , "scorching" );
Carving . chisel . registerOre ( "scorching" , "scorching" );
}
2014-12-16 21:51:30 +00:00
if ( Configurations . featureEnabled ( "brickCustom" ))
2014-12-16 14:17:43 +00:00
{
2014-12-16 21:51:30 +00:00
brickCustom = ( BlockCarvable ) new BlockCarvable ( Material . rock ). setStepSound ( Block . soundTypeStone );
Carving . chisel . addVariation ( "brickCustom" , Blocks . brick_block , 0 , 0 );
brickCustom . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.brickCustom.1.desc" ), 1 , "brickCustom/large" );
brickCustom . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.brickCustom.2.desc" ), 2 , "brickCustom/mortarless" );
brickCustom . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.brickCustom.3.desc" ), 3 , "brickCustom/varied" );
//brickCustom.carverHelper.addVariation(StatCollector.translateToLocal("tile.brickCustom.4.desc"), 4, "brickCustom/cracked");
brickCustom . carverHelper . addVariation ( StatCollector . translateToLocal ( "tile.brickCustom.5.desc" ), 5 , "brickCustom/aged" );
//brickCustom.carverHelper.addVariation(StatCollector.translateToLocal("tile.brickCustom.6.desc"), 6, "brickCustom/mossy");
brickCustom . carverHelper . register ( brickCustom , "brickCustom" );
Carving . chisel . registerOre ( "brickCustom" , "brickCustom" );
2014-12-16 14:17:43 +00:00
}
2014-12-16 21:51:30 +00:00
/*if(Configurations.featureEnabled("torch"))
{
torch = (BlockCarvableTorch) new BlockCarvableTorch().setLightLevel(0.8F);
Carving.chisel.addVariation("torch", Blocks.torch, 0, 0);
torch.carverHelper.addVariation(StatCollector.translateToLocal("tile.torch.1.desc"), 1, "torch/candle");
torch.carverHelper.addVariation(StatCollector.translateToLocal("tile.torch.2.desc"), 2, "torch/candle-holder");
torch.carverHelper.addVariation(StatCollector.translateToLocal("tile.torch.3.desc"), 3, "torch/lantern");
torch.carverHelper.addVariation(StatCollector.translateToLocal("tile.torch.4.desc"), 4, "torch/lantern-letters");
torch.carverHelper.addVariation(StatCollector.translateToLocal("tile.torch.5.desc"), 5, "torch/lamp");
torch.carverHelper.addVariation(StatCollector.translateToLocal("tile.torch.6.desc"), 6, "torch/lamp-tall");
torch.carverHelper.register(torch, "torch");
Carving.chisel.registerOre("torch", "torch");
}*/
2014-10-28 21:10:08 -04:00
}
}