GeezerVison is showing github.com โ ๐ default variant NBT overrides are not set when re-applying the default variant ยท Issue #506 ยท Animated-Java/animated-java
๐ default variant NBT overrides are not set when re-applying the default variant #506
Description
๐ Before you Start
- I have searched existing bug reports for my problem.
- I have read the F-A-Q.
- I am using the latest version of Animated Java
- I will only report a single bug in this report. If I have found multiple bugs, I will create a separate report for each one.
๐ฃ๏ธ Describe the bug
discord link: https://discord.com/channels/785339959518953482/1507599978120613988/1507599978120613988
โ ๏ธ Error Message
๐๏ธ How to Reproduce
- have 2 variants. for this we'll refer to them as the "Default" variant and variant "B"
- set some NBT override for variant "B". e.g. overriding brightness to
15
- summon model as default variant
- apply variant B (notice brightness override applies as expected)
- apply default variant
- notice brightness is still overriden to max.
โ
Expected Behavior
default variant should apply NBT overrides not just once on-summon, but every time we apply the default variant
๐ก Solutions & Alternatives
No response
๐ฉ Minecraft Version
1.21.4
๐ฆ Blockbench Version
5.1.4
๐ป Operating System
Windows
๐ Installed Blockbench Plugins
No response
โฐ๏ธ Minecraft Environment
MC version 26.1.2
Activity
SnaveSutit commented on May 28, 2026
Variant NBT changes are assumed to be "irreversable" because you can have multiple variants applied at once, and it is not currently possible for AJ to track and undo overlapping NBT changes.
So in order for the default variant to "reset" things, you have to make sure it resets those values manually. Either by specifying a default value in the default variant, or by using the On-Apply function in the default variant to reset the NBT of the entity manually.
added a commit that references this issue
on Jun 23, 2026This issue will close once commit 695f444 is merged into the 'main' branch.695f444 added a commit that references this issue
on Jun 23, 2026This issue will close once commit c0f130f is merged into the 'main' branch.c0f130f
Metadata
Metadata
Development
No branches or pull requestsIssue actions