BuilderTools icon indicating copy to clipboard operation
BuilderTools copied to clipboard

//id gives a useless ID

Open dadodasyra opened this issue 2 years ago • 1 comments

//id should give a type name (minecraft:x), it can be obtained by GlobalItemDataHandlers::getSerializer()->serializeType($inhand)->getName()

dadodasyra avatar Nov 13 '23 21:11 dadodasyra

id returns a TypeId that can be used for //replace and other commands. Recently, I was unable to use the name of an item that is registered by a third-party plugin, and I used its typeId.

TheLemzz avatar Apr 28 '24 18:04 TheLemzz