Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
The backstory
Back during the mob vote, me and my friends wanted the Tuff Golem to win. It was, for us, the most reasonable to have: "3D item frame, customizable, helps story telling (which was kind of the point of 1.20) and Mojang can't let us down by under-delivering features".
Sadly, we ended up getting the Sniffer. With the only addition of TWO decorative plants, we felt as if it wasn't worth having in the game. That was, of course, with the exception of one weirdo, MaxiTaxi_323, who is obsessed with Sniffers, playing all day to farm them, giving them stupid names and talking about it in vc. One day, one of my friends got tired of him, broke and said "MAXI, I'LL KILL ALL YOUR SNIFFERS, I'LL MAKE THEM SNIFF SUGAR AND THEY'LL EXPLODE".
"Say no more" said the programmer (that's me!!1!), "I'll make them worth having in the game".
The features
High on Sugar
- Right Click a Sniffer with sugar in your hand to make them sniff it. They'll go crazy for a bit before exploding and dropping a Potion of Sniffing.
- Giving the Sniffer more sugar while it's running will make the explosion bigger. But be careful, don't give him way too much!
Potion of Sniffing
- Drinking a Potion of Sniffing will make you sniff for ores, revealing them to the player for some time. This feature was inspired by the Potion of Spelunking Datapack by DanMizu. The sniffing effect supports:
- All (vanilla) ores
- Deepslate variants
- Nether ores
- Budding Amethyst
- Ancient Debris (sniffing in the nether lasts fewer seconds by default to balance the mechanic)
- Splash and Lingering variants of the potion can also be brewed, having the corresponding intensity and duration mechanics for each of them.
- Ore revealing has two modes: (Check them out in the gallery)
- Block Mode just outlining the block (with block displays).
- Item Mode showing the ingots (with item displays).
- Item Mode showing the raw minerals (with item displays).
- Admins have access to commands to get the potion, its variants and effect for integration, compatibility, testing or debugging purposes. (e.g. CommandAPI)
/sniff <duration> <range>
/potionofsniffing [potion|splash|lingering]
- Since this effect is basically a temporary X-ray, if you’re worried that someone might be using an actual X-ray, you can turn on a logging feature in the settings. It’ll show a message in the console, informing about the use of the effect.
Slime Chunk Sniffing
- In slime chunks, Sniffers are able to dig up slime balls, making for a great vanilla-friendly slime chunk detector.
Translations
- String translation support for the Potion of Sniffing.
Not yet implemented as of v1.x
:
(and probably won't be for a long time because of issues with nms)
-
You can use a Torch Flower in a brewing stand to transform an Awkward Potion into a Potion of Glowing that lasts 1:30.
-
You can use a Pitcher Plant in a brewing stand to transform an Awkward Potion into a Potion of Hunger that lasts 0:45.
-
Using Redstone in a brewing stand will transform both of this potions into their longer lasting counterparts, with the Potion of Glowing lasting 4:00 and the Potion of Hunger lasting 1:30.
-
Using Glowstone Dust in a brewing stand will transform the Potion of Hunger into a Potion of Hunger II lasting 0:22.5.
-
Both this potions and their variants can be converted into Splash and Lingering potions as well.
The configs
In the config.yml
file, you can customize values for each feature, as well as entirely disabling them:
High on Sugar
- Whether to make the Sniffer invincible when it's high on sugar.
- The time it takes for the Sniffer to stop running.
- Whether to make the explosion harmless and griefless.
- The minimum amount of sugar you have to give the Sniffer before the explosion contains fire or whether to disable it.
- The initial speed of the Sniffer when going crazy.
- The chance of the Sniffer dropping the potion at the end of the sugar rush.
- The chance of the Sniffer exploding at the end of the sugar rush.
Potion of Sniffing
- Whether to enable the logging feature.
- The duration and radius for the sniffing effect for each world.
- The ore display mode.
- The Custom Model Data.
Slime Chunk Sniffing
- The chance for Sniffers to dig up slime balls in slime chunks.
Translations
- Translations being selectable by language (e.g. "en") or by locale (e.g. "en_us")
- Modifiable strings for:
- Potion item name.
- Splash Potion item name.
- Lingering Potion item name.
- Potion info.
The extra info
If you have another idea for making the Sniffer worth having, don't hesitate and share it in the repo's discussions.