Mojira Archive
MCM-1133

minecraft:behavior.pickup_items not working

Partner Rank: 1

Partner Team Reporting: PIKI STUDIOS

Verification Builds: 1.16.20 - 4466288

Regression Builds: <1.16.20

Summary:

Affects currently Live Content: Yes (other partners have content using this behavior)

Impact: The impact on us is the development of at least two large pieces of content that have been worked on over the last 12 months. This behavior is used to give items to entities like chests, NPC,s and so on to run quests and other in game props critical to gameplay. This is also affecting VANILLA MOBS such as the Villager and Zombies. 

Repro Steps: 1. Make an entity and add the behaviors as below. 2. Throw an item to the entity 3. Observe that the entity no longer picks up the item.

      "minecraft:behavior.pickup_items": {
        "priority": 0,
        "max_dist": 3,
        "goal_radius": 2,
        "pickup_based_on_chance": false,
        "can_pickup_any_item": true
      },
      "minecraft:inventory": {
        "inventory_size": 27,
        "container_type": "container",
        "restrict_to_owner": false
      },
      "minecraft:shareables": {
        "all_items": true
      },

Observed Results: The entity no longer picks up the item.

Expected Results: The entity should pick up the item.

Screenshots/Videos attached: No

Notes: We have also spawned in villagers and zombies, both of which no longer pickup items either.

Fixed

Whetu Paitai

2020-08-22, 09:46 PM

2021-02-05, 07:51 PM

2021-02-05, 07:51 PM

4

4

mob

Future Release

-