- Open IDEA, and import project.
- Select build.gradle and have it import.
- Run the following command: "gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)
- Refresh the Gradle Project in IDEA if required.
- Run gradlew build
- Files will be located in build/libs
In game, run /summon commanditem[tab]
Right click to set command, left click to run it.
Debug: /data get entity @s SelectedItem
to view NBT information