Add keybind to copy item ID
ModProg opened this issue ยท 11 comments
Add a feature to copy the item id of a hoverd item.
Similar to "Dump Item Nbt To Chat" but copy to clipboard and just the id. (This should probably be configurable (maybe add 4 keybinds: copy nbt, copy id, dump nbt, dump id.))
it's generated from what is available in the registries when you generate it
may be it will be more accurate if you are in single player game compared to a server for example
Seems like the list can be incomplete, I have at least one item, that is only in the tag minecraft:impermeable
and was therefore apparently excluded from the list. (create:spruce_window)
it's generated from what is available in the registries when you generate it may be it will be more accurate if you are in single player game compared to a server for example
I did it on a single player world, but the problem probably is that it just exports the tags and not the actual items, and if an item is not in any of the exported tags it will be excluded.
My use is creating tags for datapacks and wanting a way to easily access the ids I need to do so.
I can do it with the current implementation, but I always need to open the chat and copy the id from there making it not much faster than just typing it by hand.
Oh OK I can do that. I'm not sure about clipboard operations because it has to be implemented for the 3 supported operating systems.
Are you aware that you can use the mod to dump a file with all item ids currently supported by the game.
It's at the top of the Mod Settings page of the settings.
I'm not sure about clipboard operations because it has to be implemented for the 3 supported operating systems.
I think there is something builtin in the Minecraft APIs: https://maven.fabricmc.net/docs/yarn-1.19+build.1/net/minecraft/client/util/Clipboard.html
Are you aware that you can use the mod to dump a file with all item ids currently supported by the game.
I didn't know that, that already helps.
oops yes I remember now.... I remived it
but you can enable the Debug at the bottom of the page close and show the settings and there will be new debug page
at the bottom there is a button generate tags.*.txt this might help