VillagerViewer
VillagerViewer is a simple Minecraft Fabric mod that allows players to view and interact with a villager's inventory by sneaking and right-clicking on them. A stick can be configured as an extra step to access the villager's inventory.

Features
- Open a villager's inventory by sneaking and right-clicking.
- Optional requirement to hold a stick when interacting.
- Configurable behavior through a properties file.
Configuration
The mod automatically creates a configuration file at:
config/villagerviewer.properties
Options
requireStick (default: true) - When enabled, players must hold a stick to access a villager's inventory.
Usage
- Sneak and right-click on a villager while holding a stick (if
requireStick=true).
- The villager inventory screen will open for inspection or interaction.
Build & Installation
- Clone this repository.
- Build with a compatible modding toolchain (e.g. Fabric Loom).
- Place the compiled
.jar file in your Minecraft mods folder.
License
This mod is open-source and licensed under GPL v3. See LICENSE for details.