rwtema / DenseOres

53 stars 51 forks source link

/denseores_identifyblock reports incorrect modid. #121

Closed Thiana closed 7 years ago

Thiana commented 8 years ago

/denseores_identifyblock is reporting the incorrect modids (ie, funores instead of FunOres, resourcefulcrops instead of ResourcefulCrops). JEI is doing the same thing so I'm wondering if forge is lowercasing the modids?

Thanks.

WenXin20 commented 8 years ago

If you use the WIT Mod (Similar to waila) and sneak when looking at a block will show the correct modid of the block

Thiana commented 8 years ago

You can see the incorrect casing in WIT for items, as it's also using GameData.getItemRegistry().getNameForObject(). For blocks though, it uses net.minecraftforge.fml.common.ModContainer.getModID() which returns the unaltered modid.