mojira.dev
MC-164568

"placed_block" advancement trigger does not detect wet sponges placed in the Nether

Wet sponges placed in the Nether do not affect the "placed_block" trigger.  To test this I created a simple datapack that increments a scoreboard counter by 1 every time a block of any type is placed.  The score does not increase when wet sponges are placed in the Nether.

When placed, a wet sponge exists briefly before transforming into a dry sponge.  This can be seen from looking at the Targeted Block on the debug screen.

Linked issues

Attachments

Comments 5

The block only ever exists as wet sponge client side.
This can be tested by placing it above a repeating command block with following command:

execute if block ~ ~1 ~ minecraft:wet_sponge run say hi

The advancement should trigger nonetheless, since you did place a block, even though it gets transformed immediately.

I can confirm for 22w15a.

I can confirm for 1.19.

Confirmed for 1.20.1, this is also the case for Water in the Nether and TNT placed next to a power source

@unknown: As a reporter, you can add the affected version yourself. Please do not write any additional superfluous comments.

Silver65536

(Unassigned)

Confirmed

Platform

Low

Advancements

19w42a, 1.15.2, 20w18a, 1.16.1, 1.16.2 Release Candidate 1, ..., 22w15a, 1.19, 1.19.3, 1.20.1, 1.20.4

Retrieved