Mojira Archive
MCM-584

Entity name not displayed when entity has an inventory

Partner Rank
3

Partner Team Reporting:

Spark Squared

Verification builds:

N/A

Summary:

When a custom entity has an inventory the name in the inventory is displayed as "unknown"

Impact:

This causes us to be unable to have 2 different entities, both having an inventory. As either they will be named "unknown" or be named the same when changing the entity.unknown.name translation string.

 

Repro Steps:

  1. Create a behavior pack with a custom entity
  2. Apply the "minecraft:inventory" component such as: "minecraft:inventory": {"minecraft:inventory": { "container_type": "container", "inventory_size": 27, "can_be_siphoned_from": false }
  3. Create a resource pack and set the custom entity's name
  4. Load world with both enabled and open the entity inventory

Observed Results:

Entity inventory is named "unknown"

Expected Results:

entity inventory should be named after the entity's name

Screenshots/Videos attached: Yes/No

https://youtu.be/V7V9uD7khvg

Regression Builds:

N/A

 

Done

roelie - Spark Squared

2019-04-03, 10:05 PM

2024-10-23, 04:01 PM

2021-07-23, 04:02 PM

9

6

Future Release

-