mojira.dev
MC-201198

Strays in naturally generated custom structures do not have NBT assigned to their bows properly.

I used strays in a structure that was made to generate naturally using the world generation feature in datapacks. The bow it was holding had enchantments and custom tags, but upon world generation the NBT tags for the bows were completely removed. If I manually create the structure with a structure block it functions fine, and when looking at the NBT data for the structure it shows the data being properly saved.

 

The saved structure.

[media]


 

The NBT data for the structure, confirming that HandItems was saved properly.

[media]


 

 This is a picture of the structure being naturally generated. Note that the bows have no enchants.

[media]

Attachments

Comments 2

Addendum: this bug applies to all entities in naturally generated structures. HandItems are always randomized using vanilla/non preset settings regardless of the saved NBT data.

Please include a data pack/world for testing this

Surviving Te

(Unassigned)

Unconfirmed

(Unassigned)

1.16.3

Retrieved