Component Viewer is a mod for Minecraft Java Edition that allows you to view and copy components of any item stack. This mod is configurable out of the box by pressing J. If tooltips become extensively large, you can use a mod like Tooltip Scroll or just copy the data to a separate text file. Fabric API is required when using Fabric or Quilt.
To build this mod, you will need JDK 21 installed and properly configured on your system.
- Clone the repository
git clone https://github.com/fixyldev/ComponentViewer.git cd ComponentViewer - Build the mod for Fabric and NeoForge
./gradlew build
- Fabric builds are located at
build/fabric/libs - NeoForge builds are located at
build/neoforge/libs
- Fabric builds are located at
To run Minecraft with the desired mod loader, use:
./gradlew :fabric:runClient
./gradlew :neoforge:runClientTo build independently, use:
./gradlew :fabric:build
./gradlew :neoforge:build