wax sniffer eggs with honeycomb to prevent hatching!
Find a file
2026-06-18 23:40:53 -07:00
.forgejo/workflows ci: add release workflow; remove machine-specific JDK pin 2026-04-27 14:10:22 -07:00
gradle/wrapper Initial commit: waxedeggs Fabric mod for MC 1.21.11 2026-02-11 17:56:50 -08:00
src/main Prepare for Minecraft 26.2 "Chaos Cubed" 2026-06-15 22:46:59 -07:00
.gitignore Initial commit: waxedeggs Fabric mod for MC 1.21.11 2026-02-11 17:56:50 -08:00
build.gradle Migrate to Minecraft 26.1 with Mojang official mappings 2026-04-08 15:02:32 -07:00
CLAUDE.md Prepare for Minecraft 26.2 "Chaos Cubed" 2026-06-15 22:46:59 -07:00
gradle.properties release: 1.0.4 — pin to stable Minecraft 26.2 2026-06-18 23:36:06 -07:00
gradlew Initial commit: waxedeggs Fabric mod for MC 1.21.11 2026-02-11 17:56:50 -08:00
README.md Prepare for Minecraft 26.2 "Chaos Cubed" 2026-06-15 22:46:59 -07:00
settings.gradle Initial commit: waxedeggs Fabric mod for MC 1.21.11 2026-02-11 17:56:50 -08:00

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

  1. Install Fabric Loader for Minecraft 26.2
  2. Install Fabric API
  3. Drop the mod .jar into your mods/ folder
  4. Launch Minecraft

Important Notes

  • Version pinning: The gradle.properties file 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:axes item 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)