Jade ๐Ÿ”

Jade ๐Ÿ”

93M Downloads

villager info not updated

yzqdev opened this issue ยท 1 comments

commented

Mod loader

NeoForge

Minecraft version

1.21.1

Mod version

15.9.1 neoforge

Modloader version

neoforge 21.1.84

Modpack info

No response

[IMPORTANT] If bug:

  • I have confirmed this bug is reproducible on a minimal setup, not a modpack with many other mods.

[IMPORTANT] If bug: The latest.log file, not the crash report

No response

Issue description

I have made a minimal repo, here is the code. https://github.com/yzqdev/jade-villager/blob/main/src/main/java/com/example/examplemod/MaidProvider.java

village inventory have changed, while data from entity accessor still the old data.

as the video, i use data get command to get the village's inventory, it has some carrots, while when debugging ,the entity of villager(entityAccessor.getEntity() instanceof Villager ) shows it's inventory is null

2024-12-18.08-38-04.mp4
commented

By default, entity data will not sync to the client.

Please do not ask dev questions here. Thanks.