
BUG: Crash when placing block - "Invalid block entity lightmanscurrency:coin_jar"
ModifiedMC opened this issue ยท 3 comments
Minecraft Version
1.21/1.21.1
Forge/NeoForge Version
21.1.93
Lightman's Currency Version
21-2.2.4.1a
Environment Type
Minecraft Client (Bug/crash happened in a single-player world or while the game was booting)
Other relevant Mods
LC Tech 0.2.1.13
Describe the bug
Game crashes when placing block
To Reproduce
- start game with lc + other mods
- place jar
- crash
Screenshots/Logs/Crash Reports (FILES ONLY)
Unrelated but this is also in the logs from the same version: [09Jan2025 13:38:01.259] [modloading-worker-0/ERROR][io.github.lightman314.lightmanscurrency.LightmansCurrency/]: Error setting up Curios Compatibility!
Is there a preferred curious mod for neoforge? curious api continuation? adorned? accessories?
The preferred curios mod for 1.21 is indeed Adorned. Though upon looking it up, I literally just now noticed that curios itself just updated to 1.21, so I'll probably check what's going on with that and probably switch to that in the next update.
As for the issue itself, it appears that in some strange oversight, I somehow managed to forget to add the "sus jar" block to the Coin Jar's block entity type constructor (as the constructor has takes a list of valid "blocks" that are allowed to have said block entity), and this somehow slipped my notice as nothing breaks without it until mojang made some changes in 1.21.1 that actually checks this list and crashes the game if it's invalid.
I'll make sure to fix this in the next update, but for now I'm afraid you'll be unable to use the sus jars for a while :(