Question - How to be compatible with carpenter's blocks?
tterrag1098 opened this issue ยท 7 comments
I have a block, fused quartz, that won't go into carpenter's blocks. When added to the override list, it renders invisible. What do I need to add/remove to make it work?
It does go into the block when you provide the override. You just can't see it. Not all blocks work, and having to override them in the configuration file is the first hint they may not work correctly.
I should have clarified, I am a developer for EnderIO, I'm asking what I can change to make it be insertable by default.
If it's invisible there isn't a way to fix it. It relies on a tile entity that is never initialized, and therefore won't produce the texture in all likelihood.
I just grab the default icon from the ItemStack, or the non-location-sensitive block method, which is basic but guaranteed to be safe. Granted, it's been a while since I've peeked at the code... but I'm pretty sure that's how I do it.
Oh, hi.
The areas of interest are:
https://github.com/Mineshopper/carpentersblocks/blob/master/src/main/java/com/carpentersblocks/util/BlockProperties.java#L181
and https://github.com/Mineshopper/carpentersblocks/blob/master/src/main/java/com/carpentersblocks/block/BlockCoverable.java#L151
It shouldn't render invisible under any circumstance, but there may be a bug somewhere.
It seems you check renderAsNormalBlock but the chisel blocks override that and return false yet they work. Are they excepted manually?