DocBlocks

DrWho meets Sugarcane - Fandom Mod

File Details

DocBlocks 1.0.0.0 M (1.10.2)

  • R
  • Oct 20, 2017
  • 225.53 KB
  • 462
  • 1.10.2

File Name

DocBlocks 1.0.0.0-M-Release.jar

Supported Versions

  • 1.10.2

After all the testing of 0.0.2.7 I felt that the mod as got to a place I can called ready, version 1 is now out, I have added Sugar 9 and a compressed Pandoram (Pandoram Block)

 

I would also like to thank vincentmet (@Vincent_met) for helping me fix the rotation problems I was having with the
block not turning.

public IBlockState onBlockPlaced(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer) {
return super.onBlockPlaced(worldIn, pos, facing, hitX, hitY, hitZ, meta, placer).withProperty(FACING, placer.getHorizontalFacing());
}

 

@Override
public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack) {        worldIn.setBlockState(pos, state.withProperty(FACING, placer.getHorizontalFacing().getOpposite()), 2);
}