Ejemplo n.º 1
0
 public CharcoalBlock() {
   super(Material.rock);
   setHardness(5.0F);
   setResistance(10.0F);
   setStepSound(soundTypePiston);
   setBlockName(Utils.getUnlocalisedName(Strings.CHARCOAL_BLOCK));
   setBlockTextureName(Utils.getBlockTexture(Strings.CHARCOAL_BLOCK));
   setCreativeTab(GanysSurface.enableBlockOfCharcoal ? GanysSurface.surfaceTab : null);
 }
 public RedSandstoneStairs() {
   super(ModBlocks.redSandstone, 0);
   setHardness(0.8F);
   setLightOpacity(0);
   setBlockName(Utils.getUnlocalisedName("red_sandstone_stairs"));
   setCreativeTab(GanysSurface.enableRedSandstone ? GanysSurface.surfaceTab : null);
 }
Ejemplo n.º 3
0
 public TeaLeaves() {
   setTextureName(Utils.getItemTexture(Strings.TEA_LEAVES_NAME));
   setUnlocalizedName(Utils.getUnlocalisedName(Strings.TEA_LEAVES_NAME));
   setCreativeTab(GanysSurface.enableTea ? GanysSurface.surfaceTab : null);
 }