Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

//id gives a useless ID #242

Open
dadodasyra opened this issue Nov 13, 2023 · 1 comment
Open

//id gives a useless ID #242

dadodasyra opened this issue Nov 13, 2023 · 1 comment

Comments

@dadodasyra
Copy link

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

@TheLemzz
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants