ExtrabiomesXL

ExtrabiomesXL

3M Downloads

LogTurner support with OreDictionary support

Opened this issue ยท 5 comments

commented

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;
commented

Thanks for the commit. It will most likely be in our next release.

commented

Updated code, missing a few lines.

commented

Can you submit this as a proper Pull Request?

commented

Should this be combined with #324 Log Turner Consistency?

commented

No, let's do that separately.