Snowloggable blocks lose their minecraft:transformation state when snowlogged. This has only been observed to affect the in-world model and no other block feature. Further, this issue is not observed with the minecraft:random_offset component.
This is likely an issue with behavior inheritance. Snowloggable blocks inherit the behaviors of snow layers when snowlogged. This is why their selection box changes to accommodate such. It’s probable that the transformation behavior of snow layers (no transformation) is getting projected onto the model. This is likely not an issue with the random offset component, as that mimics a need from Vanilla (for example, for short grass).
Demonstration
The attached video demonstrates this issue. Notice that the block is rotating when being snowlogged. But there are no scripting interactions or other special behaviors on the demo block definition:
{
"format_version": "1.26.40",
"minecraft:block": {
"description": {"identifier": "bug_snowlogging:custom_block"},
"components": {
"minecraft:transformation": {"rotation": {"y": 90}},
"minecraft:geometry": "minecraft:geometry.full_block",
"minecraft:material_instances": {
"*": {"texture": "glowstone"},
"south": {"texture": "obsidian"}
},
"minecraft:collision_box": false,
"minecraft:precipitation_interactions": {"precipitation_behavior": "snowlogging"}
}
}
}Reproduction
This example is taken from the behavior pack in the attached world for convenience. This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.
Attachments
Comments 2
This issue has been reviewed by our team.
Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.
If a fix is implemented, it will be listed in our official changelogs.
For major outages or urgent assistance, visit the Minecraft Help Center.
Thank you for helping us improve Minecraft! We saved your files: