Coder Social home page Coder Social logo

entity_acquired_item_bug_repro's Introduction

Minecraft Scripting entity_acquired_item Bug

Reproduction case for a bug in Minecraft Bedrock's experimental scripting system.

Description of the bug:

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.

How to repro:

  1. Download or clone this repo to development_behavior_packs in your Minecraft folder.
  2. Start the game and add the "Entity Acquired Item bug" Behavior Pack to a world.
  3. Make sure "Additional Modding Capabilities" is toggled On in the world's Game settings.
  4. 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).
  5. 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

entity_acquired_item_bug_repro's People

Contributors

intrepidolivia avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.