Removed un-needed blocks
No files matched your search
@@ -1,34 +0,0 @@
|
||||
package com.cricketcraft.chisel.block;
|
||||
|
||||
import net.minecraft.block.BlockTorch;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
|
||||
import com.cricketcraft.chisel.Chisel;
|
||||
import com.cricketcraft.chisel.api.ICarvable;
|
||||
import com.cricketcraft.chisel.carving.CarvableHelper;
|
||||
import com.cricketcraft.chisel.carving.CarvableVariation;
|
||||
import com.cricketcraft.chisel.init.ModTabs;
|
||||
|
||||
public class BlockCarvableTorch extends BlockTorch implements ICarvable
|
||||
{
|
||||
public CarvableHelper carverHelper;
|
||||
private String texLocation;
|
||||
|
||||
public BlockCarvableTorch()
|
||||
{
|
||||
super();
|
||||
|
||||
carverHelper = new CarvableHelper();
|
||||
}
|
||||
@Override
|
||||
public CarvableVariation getVariation(int metadata) {
|
||||
return carverHelper.getVariation(metadata);
|
||||
}
|
||||
@Override
|
||||
public void registerBlockIcons(IIconRegister icon){
|
||||
this.blockIcon = icon.registerIcon(Chisel.MOD_ID + ":torch/"+ texLocation);
|
||||
}
|
||||
public void setInformation(String textureLocation){
|
||||
this.texLocation = textureLocation;
|
||||
}
|
||||
}
|
||||
@@ -91,11 +91,8 @@ public class ModBlocks {
|
||||
public static BlockCarvable bone;
|
||||
public static BlockCarvable scorching;
|
||||
public static BlockCarvable brickCustom;
|
||||
public static BlockCarvableTorch[] torch = new BlockCarvableTorch[16];
|
||||
public static BlockCarvable sign;
|
||||
public static BlockCarvable arcane;
|
||||
public static BlockCarvable mat;
|
||||
public static BlockCarvable mat2;
|
||||
public static BlockCarvable bloodRune;
|
||||
public static BlockCarvableSand coloredSand;
|
||||
|
||||
@@ -1612,30 +1609,6 @@ public class ModBlocks {
|
||||
Carving.chisel.registerOre("futura", "futura");
|
||||
}
|
||||
|
||||
if(Configurations.featureEnabled("bone"))
|
||||
{
|
||||
bone = (BlockCarvable) new BlockCarvable(Material.rock).setCreativeTab(ModTabs.tabOtherChiselBlocks);
|
||||
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");
|
||||
bone.carverHelper.addVariation(StatCollector.translateToLocal("tile.bone.4.desc"), 4, "bone/bricks");
|
||||
bone.carverHelper.register(bone, "bone");
|
||||
Carving.chisel.registerOre("bone", "bone");
|
||||
}
|
||||
|
||||
if(Configurations.featureEnabled("scorching"))
|
||||
{
|
||||
scorching = (BlockCarvable) new BlockCarvable(Material.rock).setLightLevel(1F).setCreativeTab(ModTabs.tabOtherChiselBlocks);
|
||||
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");
|
||||
}
|
||||
|
||||
if(Configurations.featureEnabled("brickCustom"))
|
||||
{
|
||||
brickCustom = (BlockCarvable) new BlockCarvable(Material.rock).setStepSound(Block.soundTypeStone).setCreativeTab(ModTabs.tabStoneChiselBlocks);
|
||||
@@ -1650,39 +1623,6 @@ public class ModBlocks {
|
||||
Carving.chisel.registerOre("brickCustom", "brickCustom");
|
||||
}
|
||||
|
||||
if(Configurations.featureEnabled("torch"))
|
||||
{
|
||||
Carving.chisel.addVariation("torch", Blocks.torch, 0, 0);
|
||||
for(int metadata = 0; metadata < 10; metadata++){
|
||||
torch[metadata] = (BlockCarvableTorch) new BlockCarvableTorch().setCreativeTab(ModTabs.tabOtherChiselBlocks).setLightLevel(0.9375F).setBlockName("torch").setCreativeTab(ModTabs.tabOtherChiselBlocks);
|
||||
torch[metadata].setInformation("torch" + (metadata + 1));
|
||||
GameRegistry.registerBlock(torch[metadata], "torch" + (metadata + 1));
|
||||
Carving.chisel.addVariation("torch", torch[metadata], 0, (metadata + 1));
|
||||
}
|
||||
Carving.chisel.registerOre("torch", "torch");
|
||||
}
|
||||
|
||||
if(Configurations.featureEnabled("warningSign"))
|
||||
{
|
||||
sign = (BlockCarvable) new BlockCarvable(Material.iron).setCreativeTab(ModTabs.tabMetalChiselBlocks).setHardness(2.0F).setResistance(10.0F);
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.0.desc"), 0, "warning/rad");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.1.desc"), 1, "warning/bio");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.2.desc"), 2, "warning/fire");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.3.desc"), 3, "warning/explosion");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.4.desc"), 4, "warning/death");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.5.desc"), 5, "warning/falling");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.6.desc"), 6, "warning/fall");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.7.desc"), 7, "warning/voltage");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.8.desc"), 8, "warning/generic");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.9.desc"), 9, "warning/acid");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.10.desc"), 10, "warning/underconstruction");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.11.desc"), 11, "warning/sound");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.12.desc"), 12, "warning/noentry");
|
||||
sign.carverHelper.addVariation(StatCollector.translateToLocal("tile.warningSign.13.desc"), 13, "warning/cryogenic");
|
||||
sign.carverHelper.register(sign, "warningSign");
|
||||
Carving.chisel.registerOre("warningSign", "warningSign");
|
||||
}
|
||||
|
||||
if(Configurations.featureEnabled("quartz"))
|
||||
{
|
||||
Carving.chisel.addVariation("quartz", Blocks.quartz_block, 0, 0);
|
||||
@@ -1691,54 +1631,6 @@ public class ModBlocks {
|
||||
Carving.chisel.registerOre("quartz", "quartz");
|
||||
}
|
||||
|
||||
if (Configurations.featureEnabled("Mat"))
|
||||
{
|
||||
mat = (BlockCarvable) new BlockCarvable(Material.rock).setHardness(2.0F).setResistance(10F).setStepSound(Chisel.soundMetalFootstep);
|
||||
mat.carverHelper.setChiselBlockName("Mat");
|
||||
mat.carverHelper.register(mat, "Mat");
|
||||
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.0.desc"), 0, "mat/White-Thick");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.1.desc"), 1, "mat/White-Thin");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.2.desc"), 2, "mat/Orange-Thick");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.3.desc"), 3, "mat/Orange-Thin");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.4.desc"), 4, "mat/Magenta-Thick");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.5.desc"), 5, "mat/Magenta-Thin");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.6.desc"), 6, "mat/LightBlue-Thick");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.7.desc"), 7, "mat/LightBlue-Thin");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.8.desc"), 8, "mat/Yellow-Thick");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.9.desc"), 9, "mat/Yellow-Thin");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.10.desc"), 10, "mat/Lime-Thick");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.11.desc"), 11, "mat/Lime-Thin");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.12.desc"), 12, "mat/Pink-Thick");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.13.desc"), 13, "mat/Pink-Thin");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.14.desc"), 14, "mat/Gray-Thick");
|
||||
mat.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat.15.desc"), 15, "mat/Gray-Thin");
|
||||
}
|
||||
|
||||
if (Configurations.featureEnabled("Mat2"))
|
||||
{
|
||||
mat2 = (BlockCarvable) new BlockCarvable(Material.rock).setHardness(2.0F).setResistance(10F).setStepSound(Chisel.soundMetalFootstep);
|
||||
mat2.carverHelper.setChiselBlockName("Mat2");
|
||||
mat2.carverHelper.register(mat2, "Mat2");
|
||||
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.0.desc"), 0, "mat/LightGray-Thick");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.1.desc"), 1, "mat/LightGray-Thin");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.2.desc"), 2, "mat/Cyan-Thick");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.3.desc"), 3, "mat/Cyan-Thin");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.4.desc"), 4, "mat/Purple-Thick");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.5.desc"), 5, "mat/Purple-Thin");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.6.desc"), 6, "mat/Blue-Thick");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.7.desc"), 7, "mat/Blue-Thin");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.8.desc"), 8, "mat/Brown-Thick");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.9.desc"), 9, "mat/Brown-Thin");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.10.desc"), 10, "mat/Green-Thick");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.11.desc"), 11, "mat/Green-Thin");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.12.desc"), 12, "mat/Red-Thick");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.13.desc"), 13, "mat/Red-Thin");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.14.desc"), 14, "mat/Black-Thick");
|
||||
mat2.carverHelper.addVariation(StatCollector.translateToLocal("tile.mat2.15.desc"), 15, "mat/Black-Thin");
|
||||
}
|
||||
|
||||
//1.8
|
||||
if(Configurations.featureEnabled("granite")){
|
||||
granite = (BlockCarvable) new BlockCarvable(Material.rock).setHardness(2.0F).setResistance(10.0F).setCreativeTab(ModTabs.tabStoneChiselBlocks);
|
||||
@@ -1767,6 +1659,7 @@ public class ModBlocks {
|
||||
Carving.chisel.registerOre("andesite", "andesite");
|
||||
}
|
||||
}
|
||||
|
||||
public static void postLoad()
|
||||
{
|
||||
|
||||
|
||||
@@ -53,14 +53,6 @@ tile.leaves.10.desc=White Rose
|
||||
tile.leaves.11.desc=Christmas Balls
|
||||
tile.leaves.12.desc=Christmas Lights
|
||||
|
||||
#Bone
|
||||
tile.bone.name=Bone Block
|
||||
tile.bone.0.desc=Compressed Bone
|
||||
tile.bone.1.desc=Skullpile
|
||||
tile.bone.2.desc=Pile of Bones
|
||||
tile.bone.3.desc=Beveled Compressed Bone
|
||||
tile.bone.4.desc=Brick Compressed Bone
|
||||
|
||||
#Void Stone Blocks
|
||||
tile.voidstone.name=Voidstone
|
||||
tile.voidstone.0.desc=Raw Voidstone
|
||||
@@ -183,31 +175,6 @@ tile.present.1.desc=§9Blue Present
|
||||
tile.present.2.desc=§aGreen Present
|
||||
tile.present.3.desc=§eYellow Present
|
||||
|
||||
#Scorching
|
||||
tile.scorching.name=Scorching Block
|
||||
tile.scorching.0.desc=Solidified Fire
|
||||
tile.scorching.1.desc=Edged Solidified Fire
|
||||
tile.scorching.2.desc=Beveled Solidified Fire
|
||||
tile.scorching.3.desc=Burnt Stone Encased Solidified Fire
|
||||
tile.scorching.4.desc=Deep Core Block
|
||||
|
||||
#Warning
|
||||
tile.warningSign.name=Warning Sign
|
||||
tile.warningSign.0.desc=Radiation
|
||||
tile.warningSign.1.desc=Biohazard
|
||||
tile.warningSign.2.desc=Fire
|
||||
tile.warningSign.3.desc=Explosion
|
||||
tile.warningSign.4.desc=Death
|
||||
tile.warningSign.5.desc=Falling Objects
|
||||
tile.warningSign.6.desc=Danger of Falling
|
||||
tile.warningSign.7.desc=High Voltage
|
||||
tile.warningSign.8.desc=Generic Warning
|
||||
tile.warningSign.9.desc=Dangerous Chemicals
|
||||
tile.warningSign.10.desc=Under Construction
|
||||
tile.warningSign.11.desc=Loud Sounds
|
||||
tile.warningSign.12.desc=No Entry
|
||||
tile.warningSign.13.desc=Cryogenic Freezing in progress
|
||||
|
||||
#Brick
|
||||
tile.brickCustom.name=Brick Block
|
||||
tile.brickCustom.1.desc=Large Bricks
|
||||
@@ -1186,43 +1153,6 @@ tile.laboratory.13.desc=Direction Console (Right)
|
||||
tile.laboratory.14.desc=Direction Console (Left)
|
||||
tile.laboratory.15.desc=Information Console
|
||||
|
||||
#mat
|
||||
tile.mat.name=mat Block
|
||||
tile.mat.0.desc=White(Thick)
|
||||
tile.mat.1.desc=White(Thin)
|
||||
tile.mat.2.desc=Orange(Thick)
|
||||
tile.mat.3.desc=Orange(Thin)
|
||||
tile.mat.4.desc=Magenta(Thick)
|
||||
tile.mat.5.desc=Magenta(Thin)
|
||||
tile.mat.6.desc=Light Blue(Thick)
|
||||
tile.mat.7.desc=Light Blue(Thin)
|
||||
tile.mat.8.desc=Yellow(Thick)
|
||||
tile.mat.9.desc=Yellow(Thin)
|
||||
tile.mat.10.desc=Lime(Thick)
|
||||
tile.mat.11.desc=Lime(Thin)
|
||||
tile.mat.12.desc=Pink(Thick)
|
||||
tile.mat.13.desc=Pink(Thin)
|
||||
tile.mat.14.desc=Gray(Thick)
|
||||
tile.mat.15.desc=Gray(Thin)
|
||||
#mat2
|
||||
tile.mat2.name=mat Block
|
||||
tile.mat2.0.desc=Light Gray(Thick)
|
||||
tile.mat2.1.desc=Light Gray(Thin)
|
||||
tile.mat2.2.desc=Cyan(Thick)
|
||||
tile.mat2.3.desc=Cyan(Thin)
|
||||
tile.mat2.4.desc=Purple(Thick)
|
||||
tile.mat2.5.desc=Purple(Thin)
|
||||
tile.mat2.6.desc=Blue(Thick)
|
||||
tile.mat2.7.desc=Blue(Thin)
|
||||
tile.mat2.8.desc=Brown(Thick)
|
||||
tile.mat2.9.desc=Brown(Thin)
|
||||
tile.mat2.10.desc=Green(Thick)
|
||||
tile.mat2.11.desc=Green(Thin)
|
||||
tile.mat2.12.desc=Red(Thick)
|
||||
tile.mat2.13.desc=Red(Thin)
|
||||
tile.mat2.14.desc=Black(Thick)
|
||||
tile.mat2.15.desc=Black(Thin)
|
||||
|
||||
# Creative Tab localizations
|
||||
itemGroup.tabOtherChiselBlocks=Other Chisel Blocks
|
||||
itemGroup.tabStoneChiselBlocks=Stone Chisel Blocks
|
||||
|
||||
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 4.8 KiB |