Container Item Finder
A Minecraft mod that helps players locate items within containers.
Command Guide
The mod provides a command to search for items in nearby containers:
Basic Usage
/cif <range> <item>
range: The search radius in blocks (integer)item: The item to search for (e.g.,diamond,iron_ingot)
Advanced Usage
/cif <range> <item> <count>
range: The search radius in blocks (integer)item: The item to search for (e.g.,diamond,iron_ingot)count: The minimum number of items to find (integer)
Cancelling task
/cif cancel
Examples
- Search for diamonds within 10 blocks:
/cif 10 diamond - Search for 64 iron ingots within 20 blocks:
/cif 20 iron_ingot 64
Results
The command will show:
- The total number of items found
- The number of containers containing the items
- The coordinates of each container
- If a specific count was requested, it will show how many more items are needed
Development
Prerequisites
- Java 25 or higher
- Gradle (optional if using wrapper)
Building from Source
- Clone the repository
- Open a terminal in the project directory
- Run
./gradlew build - The built mod will be in
build/libs/
License
This project is licensed under MIT license.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Contact
For any questions or issues, please open an issue on the GitHub repository.
How to Install Container Item Finder (Datapack)
Container Item Finder by Ranzeplay is verified for Datapack, Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.5, 1.21.7, 1.21.8, 1.21.9, 26.1.2, 26.3 (latest release: 0.2.f1, file size: 57 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.5, 1.21.7, 1.21.8, 1.21.9, 26.1.2, 26.3) and platform (Datapack, Fabric).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric.
- Move the downloaded Container Item Finder file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add VersionSee https://github.com/Ranzeplay/container-item-finder/releases/tag/v0.2
English and Simplified Chinese