LogTurner support with OreDictionary support
Opened this issue ยท 5 comments
I'm using this in my port for LogTurner, works with BiomesOPlenty and Forestry logs.
final int blockID = world.getBlockId(x, y, z);
final int metadata = world.getBlockMetadata(x, y, z);
final ItemStack is = new ItemStack(blockID, 1, metadata);
final int oreId = OreDictionary.getOreID(is);
final int realOreId = OreDictionary.getOreID("logWood");
if( oreId != realOreId ) return false;
final Block wood = Block.wood;
Should this be combined with #324 Log Turner Consistency?