-
Bug
-
Resolution: Incomplete
-
None
-
1.16.200, 1.16.221 Hotfix
-
None
-
Plausible
-
Windows
I have a custom entity, it pickup items from the ground, but I want it to store the picked up items on its inventory. It has the following components:
-------------------------------------------------------------------------------------------
"minecraft:behavior.pickup_items":
{ "priority": 11, "max_dist": 3, "goal_radius": 2, "speed_multiplier": 0.5 },
"minecraft:shareables": {
"items": [
{ "item": "fur:shards", "priority": 0, "pickup_limit": 5, "stored_in_inventory": true }]
},
"minecraft:inventory":
{ "container_type": "inventory", "inventory_size": 27 },
-------------------------------------------------------------------------------------------
The items dissapear from the ground when the entitity pick up them (through "minecraft:behavior.pickup_items"), but when the player opens the entity's inventory then he can see there is no item stored.
As you can see, inside "minecraft:shareables" it says "stored_in_inventory": true, but it doesn't work.
I think it's a bug, the entity should be able to store the picked up items on its inventory, right?