Mekanism

Mekanism

111M Downloads

Cardboard box blacklist doesn't seem to work for non-vanilla blocks

belathus opened this issue ยท 1 comments

commented

As per my previous issue, I'm trying to add aura nodes to the black list and am having very little success. I've successfully added mob spawners to the blacklist, and I believe I could easily add other vanilla items to that blacklist, but I have had zero success adding aura nodes, arcane pressure plates, BuildCraft eternal oil spring blocks, or the Twilight Forest anti-builder to the blacklist. The item ID inn 1.7.10 for aura nodes is "Thaumcraft:blockAiry". I tried adding "blockAiry:0", "Thaumcraft:blockAiry:0" and "tile.blockAiry:0" to the black list and none of them succeeded.

So, I dug into your code. Now, let me preface this: I am no modder. I don't know much about MineCraft Code. But, from looking at other mod's code, I think that the function "Block.getBlockFromName" should be replaced with the function, "Block.blockRegistry.getObject". It looks like the latter function would use the "Thaumcraft:blockAiry" syntax for block lookup, which may be a more ideal syntax.

commented

This will be fixed for v8.