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

Radium unable console server spam with Better Nether Via Connector when entering nether #14

Closed rainysux closed 1 year ago

rainysux commented 1 year ago

Read me before you open an issue!

Instructions

Download Better Nether using Connector on server with radium

[17.11 17:05:19] [Server] [Server thread/ERROR] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/renderer/block/model/BlockModel for invalid dist DEDICATED_SERVER [17.11 17:05:19] [Server] [Server thread/WARN] [Radium Class Analysis/]: Radium Class Analysis Error: Class org.betterx.bclib.blocks.BaseLeavesBlock cannot be analysed, because getting declared methods crashes with RuntimeException: Attempted to load class net/minecraft/client/renderer/block/model/BlockModel 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.

Version Information

Replace this text with the exact version of the mod you are using. Every part of the version is important! If you do not know what version you are using, look at the file name in your "mods" folder.

Radium 0.12.2 for 1.20.1

Expected Behavior

Replace this text with what you expected to happen.

Example: The Piston should extend.

Actual Behavior

Replace this text with what actually happened.

Example: The Piston does not extend.

Reproduction Steps

Go to the nether with these mods installed in the server and it will display "[17.11 17:05:19] [Server] [Server thread/ERROR] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/renderer/block/model/BlockModel for invalid dist DEDICATED_SERVER [17.11 17:05:19] [Server] [Server thread/WARN] [Radium Class Analysis/]: Radium Class Analysis Error: Class org.betterx.bclib.blocks.BaseLeavesBlock cannot be analysed, because getting declared methods crashes with RuntimeException: Attempted to load class net/minecraft/client/renderer/block/model/BlockModel 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."

Example:

  1. Place a Redstone Lamp in front of a Redstone Repeater
  2. Use a Lever to activate the Redstone Repeater
  3. Nothing happens

Other Information

Provide a list of any other mods you are using, along with their respective versions. If you have any screenshots, videos, or other information that you feel is necessary to explain the issue, feel free to attach them here.

dima-dencep commented 1 year ago

If it doesn't cause a crash, it's fine

rainysux commented 1 year ago

Its not too much of a big deal but its just kind of an inconvenience of it spamming in the server console! But i see you fixed it so im excited for the next update!