mojira.dev
MC-296617

[Resource Pack] Blockstate property "waterlogged=true" no longer triggers custom model since Snapshot 25w07a

Since Snapshot 25w07a, the waterlogged=true blockstate property no longer triggers a custom model override in resource packs. This issue was observed on leaves, specifically birch_leaves, using a valid model override in the blockstates/birch_leaves.json file.

Steps to Reproduce:

  1. Download or create a resource pack that overrides birch_leaves when waterlogged=true using a custom model.

  2. Apply the resource pack in Minecraft version 25w06a.

  3. Place a waterlogged birch leaf block using /setblock ~ ~ ~ minecraft:birch_leaves[persistent=true,waterlogged=true].

  4. Observe that the custom model is correctly applied.

  5. Load the same resource pack in Snapshot 25w07a.

  6. Place the same waterlogged birch leaf block.

  7. Observe that the model override no longer applies, and the default texture is shown instead.

Expected Result:

The game should apply the custom model defined for the waterlogged=true variant in blockstates/birch_leaves.json.

Actual Result:

As of Snapshot 25w07a, Minecraft appears to ignore the waterlogged=true variant in the blockstate JSON, defaulting to the standard model even though the block is waterlogged.

Attachments

Comments 2

It does work for me if I swap the order of the entries in variants

Yes, it does seem that reordering the structure of the birch_leaves.json blockstate file fixes the issue.

Tim_boektoe

(Unassigned)

Confirmed

Platform

Low

Resource Packs

1.21.5

Retrieved