wax sniffer eggs with honeycomb to prevent hatching!
- Java 100%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| gradle/wrapper | ||
| src/main | ||
| .gitignore | ||
| build.gradle | ||
| CLAUDE.md | ||
| gradle.properties | ||
| gradlew | ||
| README.md | ||
| settings.gradle | ||
Waxable Sniffer Eggs
A Fabric mod for Minecraft 26.2 that lets you wax sniffer eggs with honeycomb to prevent them from hatching — just like waxing copper!
Features
- Right-click a sniffer egg with honeycomb to wax it (prevents hatching)
- Right-click a waxed sniffer egg with an axe to remove the wax (resumes hatching)
- Waxing uses the same sound and particles as copper waxing; unwaxing plays the sniffer egg crack sound with wax-off particles
- Honeycomb is consumed (unless in creative mode)
- Axe takes 1 durability damage (unless in creative mode)
- Waxed eggs persist their state through world saves
- Compatible with eggs at any hatch stage — wax at stage 0, 1, or even 2
How It Works
The mod stores waxed egg positions in SavedData (world-level saved data), so no vanilla block states are modified. A Fabric UseBlockCallback handles wax/unwax interactions, and a Mixin on SnifferEggBlock.tick cancels hatch progression for waxed eggs (rescheduling the tick so hatching resumes immediately when unwaxed).
Building
Prerequisites
- JDK 25
- An internet connection (for Gradle to download dependencies)
Build Steps
# Clone or download this project
cd waxedeggs
# Build the mod JAR
./gradlew build
The compiled .jar will be in build/libs/. Use the one without -sources in the name.
Running in Development
# Launch Minecraft with the mod loaded
./gradlew runClient
Installation
- Install Fabric Loader for Minecraft 26.2
- Install Fabric API
- Drop the mod
.jarinto yourmods/folder - Launch Minecraft
Important Notes
- Version pinning: The
gradle.propertiesfile pins specific versions of Fabric Loader and Fabric API. If you're targeting a slightly different MC version, update those values from Fabric's develop page. - Safe to remove: Waxed state is stored separately from block data, so removing the mod won't affect your world — eggs just resume normal hatching behavior.
- Axe detection: The axe check uses the
minecraft:axesitem tag (ItemTags.AXES), so any modded axes that are properly tagged will work.
Technical Details
| Component | Detail |
|---|---|
| Mod loader | Fabric |
| Minecraft version | 26.2 |
| Java version | 25 |
| Mixin targets | SnifferEggBlock, BlockBehaviour |
| State storage | SavedData (per-world saved data) |
| Mappings | Mojang official (unobfuscated) |