BuildCraft|Core

BuildCraft|Core

7M Downloads

[Mod Interaction][Bug]

ReikaKalseki opened this issue ยท 13 comments

commented

For some reason, the BC quarry seems to mostly ignore ReactorCraft fluorite ores. I have no idea why, seeing as the most unusual thing about this ore is its luminosity.

Its code for reference:
https://github.com/ReikaKalseki/ReactorCraft/blob/master/Blocks/BlockFluoriteOre.java
https://github.com/ReikaKalseki/ReactorCraft/blob/master/Blocks/BlockFluorite.java

My best guess is its transparency to light that is making this happen.

commented

It is strange, and it's not the first report. This is worth checking.

commented

I heard that making sure that your block is opaque (or any other indicator that would make it a full block) is a fix for this.

commented

I heard that making sure that your block is opaque (or any other indicator that would make it a full block) is a fix for this.

As I said, while isOpaqueCube() returns true, it is not opaque to light as per getLightOpacity(), nor can it be, because that will cause render glitches.

commented

I usually leave the stranger issues for when I'm in a good mood. Maybe today.

commented

Works for me. :P

There is no rush, as nothing really breaks, but it does generate about one bug report per week.

commented

So...any updates?

commented

@ReikaKalseki - tried putting deobf ReactorCraft into workspace, crashed on signatures. Woo.

commented

Try adding it as source. Also how did you get a deobf version?

commented

I used "illegal" methods, that is Bearded Octo Nemesis, but you sign your stuff so it failed.

commented

I have no problem with BON for this purpose, but yes, the jar signing will catch that. Do you need me to make a source jar?

commented

Oh, good. What was causing it?

commented

915d900
My guess is worldObj.getHeightValue() didn't consider non-opaque blocks.

commented