content: package zmaster587.advancedRocketry.block.plant;
  
  import net.minecraft.block.BlockLog;
  import net.minecraft.block.state.BlockStateContainer;
  import net.minecraft.block.state.IBlockState;
  import net.minecraft.util.EnumFacing;
  import net.minecraft.util.math.BlockPos;
  import net.minecraft.world.IBlockAccess;
  
  public class BlockLightwoodWood extends BlockLog  {
  	
      public static final String[] names = new String[] {"blue"};
  
      public BlockLightwoodWood() {
  		super();
  		this.setDefaultState(this.blockState.getBaseState().withProperty(LOG_AXIS, BlockLog.EnumAxis.Y));
  	}
      
  	@Override
  	protected BlockStateContainer createBlockState()
  	{
  		return new BlockStateContainer(this, LOG_AXIS);
  	}
  
  	@Override
      public IBlockState getStateFromMeta(int meta)
      {
          IBlockState iblockstate = this.getDefaultState();
  
          switch (meta & 12)
          {
              case 0:
                  iblockstate = iblockstate.withProperty(LOG_AXIS, BlockLog.EnumAxis.Y);
                  break;
              case 4:
                  iblockstate = iblockstate.withProperty(LOG_AXIS, BlockLog.EnumAxis.X);
                  break;
              case 8:
                  iblockstate = iblockstate.withProperty(LOG_AXIS, BlockLog.EnumAxis.Z);
                  break;
              default:
                  iblockstate = iblockstate.withProperty(LOG_AXIS, BlockLog.EnumAxis.NONE);
          }
  
          return iblockstate;
      }
  
  	@Override
  	public int getMetaFromState(IBlockState state)
  	{
  		int i = 0;
  		switch (state.getValue(LOG_AXIS))
  		{
  		case X:
  			i |= 4;
  			break;
  		case Z:
  			i |= 8;
  			break;
  		case NONE:
  			i |= 12;
  		}
  
  		return i;
  	}
      
      @Override
      public int getFireSpreadSpeed(IBlockAccess world, BlockPos pos,
      		EnumFacing face) {
      	return 50;
      }
      
      @Override
      public int getFlammability(IBlockAccess world, BlockPos pos, EnumFacing face) {
      	return 50;
      }
  }
  