-
Bug
-
Resolution: Fixed
-
23w51a, 23w51b
-
None
-
Confirmed
-
Advancements, Data Packs
-
Very Important
-
1158920
-
Expansion B
Please limit your comments to new information about the bug. If you are also affected and would like to express this, please use the "Vote" feature.
Comments that do not add value, repeat what has already been said, or contain other suggestions will be removed.
This is not the place to make suggestions. Instead, please direct your suggestions and feedback to the appropriate channels, such as the feedback site or feedback discord server.
A change was made to the item_used_on_block advancement criteria in this snapshot(s) such that the criteria only triggers/grants if the action made a change to the block, in order to fix an inconsistency with using axes on Waxed Copper Doors and Trapdoors (MC-266055). However, this change breaks previous functionality by no longer allowing the criteria to trigger when interacting with any block unless the use caused some action.
This behavior was used previously by data pack authors to detect when players interacted with any number of blocks, and in particular, block entities – with or without items – and is not easily replicable without.
Steps to reproduce:
- Download the attached data pack Item Used on Block Example.zip and add it to a world
- Place a dropper, and then inside it, place 8 dirt in the center, and 1 wheat seeds in each other slot
- Close, then open the dropper
- You will not receive the advancement anymore, but it can still be granted with commands (/advancement grant @s only item:open_dropper)
- Redo the same experiment in 1.20.4
- Notice that you receive an advancement, signified by a chat message and sound. The advancement revokes, so you can repeat this.
This is an unannounced feature change that impacts many existing data packs.
- relates to
-
MC-266055 Opening or closing a copper door or trapdoor while holding an axe / honeycomb grants wax-related advancement
- Resolved