Reforged-Hub / radium-upstream

A Forge port of mod designed to improve the general performance of Minecraft without breaking things
GNU Lesser General Public License v3.0
5 stars 0 forks source link

Massive console spam #43

Open purejosh opened 2 months ago

purejosh commented 2 months ago
[16:20:48] [main/WARN] [Radium Class Analysis/]: Radium Class Analysis Error: Class net.darkhax.botanypots.block.BlockBotanyPot cannot be analysed, because getting declared methods crashes with RuntimeException: Attempted to load class net/minecraft/client/renderer/RenderType for invalid dist DEDICATED_SERVER. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @OnlyIn(Dist.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.

Please give us the option to disable these warnings. To say that this is spam is an understatement. And the mod dev doesn't seem to think you're doing the right thing, either. https://github.com/Darkhax-Minecraft/BotanyPots/issues/411

I just want the console spam to stop.

squimbo commented 1 month ago

can confirm, this is not every other mod's issue to fix, it's yours. I'm having the same issue, but because of Tetra Will be using Canary from now on

kocane commented 1 month ago

@squimbo Canary works well? It doesn't get updates anymore, does it?

squimbo commented 1 month ago

@squimbo Canary works well? It doesn't get updates anymore, does it?

It's been working well for me :)