Commands saying item names use incorrect / wrong item names
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
Created Issue:
Commands saying item names use incorrect / wrong item names
The game creates incorrect names for items when the are said by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 it makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
Also it uses incorrect wool names (and maybe also for other colored items):
{translate:"tile.cloth.white"}
tile.cloth.white (/tellraw @p)
which should be tile.cloth.white.name
The game creates incorrect names for items when the are said by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 it makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
Also it uses incorrect wool names (and maybe also for other colored items):
{translate:"tile.cloth.white"}
tile.cloth.white (/tellraw @p)
which should be tile.cloth.white.nameThe game creates incorrect names for items when the are said by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 it makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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
The game creates incorrect names for items when the are said by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 it makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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.nameThe game creates incorrect names for items when the are said by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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
The game creates incorrect names for items when the are said by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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.nameThe game creates incorrect names for items when the are said (Unable to render embedded object: File (not translated) not found.) by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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
The game creates incorrect names for items when the are said (Unable to render embedded object: File (not translated) not found.) by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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.nameThe game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreThe 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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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
The game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreExample:
/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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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
The game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreExample:
/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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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.nameThe best way to solve this:_(In my opinion)
- Item: Item Frame (Item)
- Entity: Item Frame (Entity)
The game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreExample:
/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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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.nameThe best way to solve this:
_(In my opinion)
- Item: Item Frame (Item)
- Entity: Item Frame (Entity)
The game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreExample:
/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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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.nameThe best way to solve this: (In my opinion)
- Item: Item Frame (Item)
- Entity: Item Frame (Entity)
The game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreExample:
/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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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
The bestway to solve this: (In my opinion)
- Item: Item Frame (Item)
- Entity: Item Frame (Entity)
The game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreExample:
/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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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.nameA way to solve this: (In my opinion)
- Item: Item Frame (Item)
- Entity: Item Frame (Entity)
relates to
A comment with security level 'global-moderators' was removed.
is duplicated by
The game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreExample:
/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 makes no sense as /kill can only kill items, so there is no need for the "item." to be added in front of all item names.
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.nameA way to solve this: (In my opinion)
- Item: Item Frame (Item)
- Entity: Item Frame (Entity)
The game creates incorrect names for items when the are said (!not translated!) by
- /say
- /tellraw
- As command feedback
and maybe moreExample:
/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.nameA way to solve this: (In my opinion)
- Item: Item Frame (Item)
- Entity: Item Frame (Entity)
is duplicated by
When using commands on item frames, minecarts, thrown projectiles, dropped items (see MC-73495), leads, ender crystals and fireworks, their name is "entity.[entity name].name" instead of "Item Frame", "Minecart", etc..
This can be fixed by adding these translations:
entity.ItemFrame.name=Item Frame entity.LeashKnot.name=Lead entity.ThrownExpBottle.name=Bottle o' Enchanting entity.ThrownEnderpearl.name=Ender Pearl entity.EyeOfEnderSignal.name=Eye of Ender entity.FireworksRocketEntity.name=Firework Rocket entity.WitherSkull.name=Wither Skull entity.EnderCrystal.name=End Crystal entity.MinecartRideable.name=Minecart entity.MinecartFurnace.name=Minecart with Furnace entity.MinecartTNT.name=Minecart with TNT entity.MinecartCommandBlock.name=Minecart with Command Block entity.MinecartSpawner.name=Minecart with Spawner entity.SpectralArrow.name=Spectral Arrow entity.AreaEffectCloud.name=Area Effect Cloud entity.ShulkerBullet.name=Shulker Bullet entity.EvocationFangs.name=Evocation Fangs entity.LlamaSpit.name=Llama Spit
Duplicate of MC-73495, if you have not, please use the search function in the future, to see if your issue has already been reported.
Excluding the type parameter just means you're not looking for any specific entity type in particular.
The method involves using /scoreboard to assign a tag to entities that have a savegame ID or alias and then targeting entities that do not have that tag (i.e. they don't have a savegame ID or alias):
/scoreboard players tag @e[type=minecraft:skeleton,tag=!savegame] add savegame
/scoreboard players tag @e[type=minecraft:creeper,tag=!savegame] add savegame
...
/say Entities with no "savegame" tag: @e[tag=!savegame]
As for assigning a savegame ID to fishing bobbers, that wouldn't be possible since bobbers are not supposed to be saved to chunks as they are meant to be tied to the player. However, like lightning bolts and players (which are also not savegame entities), they can have an alias that can be used to target them (though it doesn't work for lightning bolts currently, see MC-64623). But the report for doing so was closed as "Working as Intended": MC-47832
EDIT: Concerning item names, you should not target item entities by their name like that. That is another bug that, when fixed, would require you to change all commands targeting such entities: MC-73495
Hm, I can't reproduce ever since MC-73495 was fixed a while back. Would you mind attaching a crash report from a world in which this happens? (F3+C for 10 seconds)
I don't really get the problem here.
Using
/tellraw @p {translate:"tile.log.name"}gives me the name of the log in the language I am in, and it works, no "item." to be seen. Same for items.
Sorry the discription was a little bit misleading, what I mean is for example:
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 itemBad 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.
I found a ticket like this before, but I can't find the ticket right now
user-f2760, you mean
MC-68446, that one is incorrectly marked as a duplicate.I'm pretty sure, there was another as well, only mentioning items
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".
[Mod] NeunEinser 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.
Can confirm for 16w32a
Confirmed for 1.12.1
This was actually fixed in 17w47a.