The game creates incorrect names for items when the are said (!not translated!) by
/say
/tellraw
As command feedback
and maybe more
Example:
/say @e[type=Item]
The game adds to every item the start "item." which creates incorrect item names, because it should be for tiles only "tile." and not "item.tile."
also for normal items of course not "item.item."
Also it uses incorrect wool names (and maybe also for other colored items):tile.cloth.white
(/tellraw @p {translate:"tile.cloth.white"})
which should be tile.cloth.white.name
A way to solve this: (In my opinion)
Item: Item Frame (Item)
Entity: Item Frame (Entity)
Linked issues
is duplicated by 2
Comments 13
Looks very much intended for me, because it shows that it is the dropped item of an item ore the dropped item of a tile.
That makes not so much sense because you cannot kill blocks...And also for items there is no need "item.item.arrow" is unnecessary because an arrow is always an item
Bad example: Arrows exist as entity and as item
I see what you mean, but this is nevertheless a very arguable bug; what you are saying, also counts for some other entities. For example, some minecart types' names are prefixed with "entity." by default, which can also be called unnecessary.
Can confirm for 1.10.2
I actually don't understand, why items and tiles should have different strings since the text is the same anyways. So tiles could also just use "item.x.name".
But yeah as said in the desc, minecraft just uses the wrong name. in the language files it is "tile.x.name" and in the game's code it is "item.tile.x".
@unknown the reason why they have seperate names might be because not every block has an item and the block names are also used for example for the CanDestroy
tag.
I don't really get the problem here.
Using
gives me the name of the log in the language I am in, and it works, no "item." to be seen. Same for items.