Alex's Caves

Alex's Caves

11M Downloads

LicowitchEntity is calling TremorzillaEntity's SynchedEntityData.defineId from within LicowitchEntity class

TelepathicGrunt opened this issue ยท 0 comments

commented

Minecraft logs this out:
[21Mar2025 10:00:03.070] [Render thread/WARN] [net.minecraft.network.syncher.SynchedEntityData/]: defineId called for: class com.github.alexmodguy.alexscaves.server.entity.living.TremorzillaEntity from class com.github.alexmodguy.alexscaves.server.entity.living.LicowitchEntity

The code in question

private static EntityDataAccessor<Optional<Vec3>> TELEPORTING_TO_POS = SynchedEntityData.defineId(TremorzillaEntity.class, ACEntityDataRegistry.OPTIONAL_VEC_3.get());

In other words, this TELEPORTING_TO_POS data is being attached to TremorzillaEntity instead of LicowitchEntity. Which is likely causing issues that others have not noticed yet. Swap the class to LicowitchEntity and the teleporting data should sync properly again