Integrated Dynamics

Integrated Dynamics

63M Downloads

Clarify itembyname and get item registry name

Timeslice42 opened this issue ยท 5 comments

commented

Much to my suprise the output of the "name" operator does not give an Item when piped into the "itembyname" operator.

What is the expected format for the name of the item in "itembyname"?

commented

The name operator returns the localized name of an item, as shown to the player ingame. The itembyname operator expects the unique identifier of an item, like minecraft:stone and minecraft: pumpkin_seeds.

commented

Could you put that information into the tooltip description of "itembyname"?

commented

Sure.

commented

I wonder if it's also worth making an operator that gives the registry name of an item.

commented

@josephcsible Good point, will incorporate that in this issue.