Ars Nouveau

Ars Nouveau

70M Downloads

Server crash when loading entity NBT – missing registry key ars_nouveau:light_block

Cookiegirl2001 opened this issue · 1 comments

commented

Description:

When loading or generating chunks containing Ars Nouveau entities (such as Starbuncles) or structures, the server crashes due to an invalid item reference inside saved NBT data.
The crash occurs because the mod attempts to read the item ars_nouveau:light_block, which is no longer registered in the item registry in version 5.10.6.

As a result, Minecraft throws a DataResult error while deserializing NBT, leading to a fatal ReportedException that stops the server.

Environment:

Minecraft: 1.21.1
NeoForge: 21.1.213
Ars Nouveau: 1.21.1-5.10.6
Server Type: Dedicated (Linux Ubuntu OpenJDK 21)

Error:

Caused by: java.lang.IllegalStateException: Not a string; Unknown registry key in minecraft:item: ars_nouveau:light_block
    at com.hollingsworth.arsnouveau.api.item.NBTComponent.fromTag(NBTComponent.java:18)
    at com.hollingsworth.arsnouveau.common.entity.Starbuncle.readAdditionalSaveData(Starbuncle.java:601)
commented

The issue is a bugged addon "Ars-Elemental" version.