Reproduction case for a bug in Minecraft Bedrock's experimental scripting system.
The entity_acquired_item
event does not fire when it should. Only the pick_up
acquisition event makes the server event fire, but this is a bug because multiple acquisition types are suggested to be available for the acquisition_method
property of the event data, and the scripting documentation explicitly lists villager trading as an example of when this event should fire.
- Download or clone this repo to
development_behavior_packs
in your Minecraft folder. - Start the game and add the "Entity Acquired Item bug" Behavior Pack to a world.
- Make sure "Additional Modding Capabilities" is toggled On in the world's Game settings.
- Ensure that the script is working by dropping an item on the ground and picking it up (a message should appear in the chat window).
- The bug is when the message does not appear in the chat window on acquiring an item. It reproduces in the following cases:
- Making a trade with a villager
- Creating something with the crafting table
- Retrieving an item from a chest.
This bug is being tracked on the Mojang Bug Tracker: MCPE-136964