Using /kjs hand

How to get the ID of an item with NBT data


To get the ID of an item with NBT data/components, you can use the /kjs hand command (/kjs_hand on versions before 1.19).
Here's how to use it:
  1. Put the item in your main hand
  2. Run the command
  3. Now you should see something similar to this:
  4. Click on the green text (the item ID) to copy it