Create

Create

86M Downloads

1.19.2 Issue with Blaze Burner Block - NoClassDefFoundError

adoetho opened this issue ยท 1 comments

commented

Describe the Bug

The Blaze Burner Block's class is not found during run time, which isn't a problem in most normal gameplay. But when running with mods that calls for nearby blocks to check their class (IE: Homeostatic), then this becomes an issue. Essentially, what homeostatic does is check the nearby environment for heat source blocks, and applies that to the character's skin temperature and air temperature. Since the Blaze Burner Block is available during compilation, but not during gameplay, you don't run into any error until the class is called for use by other mods.

Reproduction Steps

  1. Install Homeostatic and Create with all relevant dependencies.
  2. Place a Blaze Burner Block in Creative Mode (which disables radiation detection)
  3. Switch to survival mode at any distance above 5-10 blocks, and approach the Blaze Burner Block.
  4. Game crashes when you enter Thermal Detection Range. Will brick singleplayer saves. On servers, it has to be removed by an admin with Creative mode in order to allow players crashed by it to log in again.

Expected Result

The expected result is that Homeostatic is able to check the class for information regarding its radiation or not. It should read the class, and produce a result. No other blocks to my knowledge in Create causes this issue.

Screenshots and Videos

https://www.youtube.com/watch?v=Cish09Wss20

A video of the bug's initial discovery.

Crash Report or Log

https://pastebin.com/WuRSX5jV

Operating System

Windows 10 Home

Mod Version

0.5.1e

Minecraft Version

1.19.2

Forge Version

43.3.8

Other Mods

Similar results can be found with the newest version of Create, and just Homeostatic (and all dependencies for these mods)

Additional Context

Bug originally found by Penciver and his friend on my Minecraft server.
Tested in singleplayer with JUST Create and Homeostatic by my friend Nintoherobrother, running newest version of both mods.
Tested again in my current mod set up on Singleplayer to confirm.
Logs ran through ChatGPT on my part to boil down the data into this report (feel free to discard if you wish; this is simply what I used to break down the issue for me - this is from the crash in the video):

Based on the provided stacktrace, the crash occurs when attempting to access the m_9240_ method of ServerPlayer class. This method is likely related to player tick events or interactions with the server. The stacktrace doesn't directly point to the root cause of the issue, but it seems that the Create mod is involved, as indicated by the earlier message.

The key part of the error message is:

java.lang.NoClassDefFoundError: com/simibubi/create/content/contraptions/processing/burner/BlazeBurnerBlock

This indicates that the class BlazeBurnerBlock from the Create mod is missing at runtime, leading to the NoClassDefFoundError. The BlockRadiation class in your mod (Homeostatic) seems to be trying to access this class, resulting in the crash.

commented

Not a create issue, the class it located at com/simibubi/create/content/processing/burner/BlazeBurnerBlock.java they are probably not updated to the latest version of create