Gamebuster

PetrifiedLog2.class

May 27th, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. public class PetrifiedLog extends BlockRotatedPillar{
  2.     public static Block block;
  3.    
  4.     public PetrifiedLog(){
  5.         super(Material.rock);
  6.         this.setDefaultState(this.blockState.getBaseState().withProperty(AXIS, EnumFacing.Axis.Y));
  7.         this.setCreativeTab(CreativeTabs.tabBlock);
  8.         this.setHardness(1.5f);
  9.         this.setStepSound(SoundType.STONE);
  10.         if (block == null){
  11.             block = this;
  12.         }
  13.     }
  14.    
  15. }
Add Comment
Please, Sign In to add comment