No description
  • Java 75.4%
  • Python 19.9%
  • JavaScript 4%
  • Shell 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dion 8c15520b1e
All checks were successful
Build / Build Fabric and NeoForge (push) Successful in 3m8s
Release / Build and publish both jars (push) Successful in 1m50s
Replace the gnome model with a smooth custom mesh renderer
2026-10-26 15:05:32 +01:00
.forgejo/workflows Use upload-artifact v3 in CI 2026-10-26 11:50:23 +01:00
gradle/wrapper Add Goofy Shit 0.1.0 for Fabric and NeoForge 1.21.1 2026-10-23 14:12:34 +02:00
src/main Replace the gnome model with a smooth custom mesh renderer 2026-10-26 15:05:32 +01:00
tools Replace the gnome model with a smooth custom mesh renderer 2026-10-26 15:05:32 +01:00
.gitattributes Rename the mod to JankyMod 2026-10-26 11:43:20 +01:00
.gitignore Ignore Python bytecode caches 2026-10-23 14:17:18 +02:00
build.fabric.gradle.kts Rename the mod to JankyMod 2026-10-26 11:43:20 +01:00
build.neoforge.gradle.kts Rename the mod to JankyMod 2026-10-26 11:43:20 +01:00
gradle.properties Rename the mod to JankyMod 2026-10-26 11:43:20 +01:00
gradlew Mark Gradle wrapper and CI scripts executable 2026-10-23 14:12:37 +02:00
gradlew.bat Add Goofy Shit 0.1.0 for Fabric and NeoForge 1.21.1 2026-10-23 14:12:34 +02:00
LICENSE Rename the mod to JankyMod 2026-10-26 11:43:20 +01:00
README.md Replace the gnome model with a smooth custom mesh renderer 2026-10-26 15:05:32 +01:00
RELEASE_NOTES.md Replace the gnome model with a smooth custom mesh renderer 2026-10-26 15:05:32 +01:00
settings.gradle.kts Rename the mod to JankyMod 2026-10-26 11:43:20 +01:00
stonecutter.gradle.kts Rename the mod to JankyMod 2026-10-26 11:43:20 +01:00
stonecutter.properties.toml Replace the gnome model with a smooth custom mesh renderer 2026-10-26 15:05:32 +01:00

JankyMod

Slapfish, Bonkstronk, sleep-deprived gnomes and other janky shit for Fabric and NeoForge on Minecraft 1.21.1.

This is a private mod for playing with friends. It is not affiliated with Mojang or Microsoft.

What is in it

The required three

  • Slapfish — a fish on a stick. Hitting something with it sends the target flying with knockback 10.
  • Bonkstronk — a large, crude caveman club. Hitting someone applies Nausea for 5 seconds and makes a very satisfying BONK.
  • Gnome — after 3 in-game days without sleeping, a gnome may appear 6–14 blocks away. Only the sleep-deprived player can see it. It is a knee-high garden gnome drawn as a smooth 3D model — one block tall, big pointy hat, long white beard — that giggles, runs away when you look at it, and disappears in a puff when hit. It drops Gnome Dust.

The gnome timer is per player and is stored in the world save. Sleeping resets it. The Sleepy Tea also resets it.

More janky shit

  • Banana — eat it and a Banana Peel is left behind. The peel is slippery; stand on it and you skid around.
  • Fart in a Jar — open it to share the smell. Nearby living things get Nausea, and you get the empty glass bottle back.
  • Clown Nose — honk it. Nearby living things get Nausea. The nose does not wear out.
  • Sleepy Tea — clears your sleep debt, removes the Sleep Deprived effect, sends your gnomes home, and returns a glass bottle.
  • Gnome Dust — dropped by gnomes. Sniff it to summon three temporary gnomes and get Nausea. It is also used to brew Sleepy Tea.
  • Squeaky Hammer — a hammer that squeaks and barely knocks things back.
  • Comically Large Spoon — a big iron spoon with a 25% chance to scoop the weapon out of another player's hand.
  • Sleep Deprived — a custom harmful effect that slows you down by 5% while the gnomes are around.
  • Advancements — twelve of them, in their own tab, awarded from code.
  • English and Dutch translations.

Crafting

Item Recipe
Slapfish cod + stick + slime ball
Bonkstronk 3 logs + 2 sticks
Banana (x2) yellow dye + sugar + wheat
Banana Peel eat a Banana
Fart in a Jar glass bottle + rotten flesh + gunpowder
Clown Nose red dye + slime ball + gold nugget
Sleepy Tea glass bottle + Gnome Dust + sweet berries
Squeaky Hammer 2 oak planks + slime ball + 2 sticks
Comically Large Spoon 2 iron ingots + stick
Gnome Spawn Egg creative tab only

All recipes are shapeless.

Commands

  • /jankymod gnome — spawn a temporary gnome near you.
  • /jankymod sleep — clear your sleep debt and remove your gnomes.
  • /jankymod info — show your last sleep time, sleep debt, and whether you are sleep deprived.

Building

The project uses Stonecutter and Gradle 9.8. Java 21 is required.

./gradlew build

This builds both loaders. The jars end up in:

  • versions/1.21.1-fabric/build/libs/jankymod-fabric-0.1.2-Alpha+1.21.1.jar
  • versions/1.21.1-neoforge/build/libs/jankymod-neoforge-0.1.2-Alpha+1.21.1.jar

To build one loader only:

./gradlew :1.21.1-fabric:build
./gradlew :1.21.1-neoforge:build

Resources

python3 tools/datagen.py regenerates the JSON resources, models, recipes, loot tables, advancements and the simple pixel-art block and item textures. It only needs the Python standard library. Run it from the repository root. The gnome is not painted: it is a code-built smooth mesh in GnomeMesh.java with its colours in the vertex data.

Releasing

Push a tag like v0.1.0-Alpha. The Forgejo workflow builds both loaders and publishes the jars as a release, using RELEASE_NOTES.md as the release text. Versions with alpha, beta, rc, pre, snapshot or dev in them are published as pre-releases.

The workflows expect a Forgejo runner with the docker label. The release job uses RELEASE_TOKEN when the default job token cannot create releases.

Layout

  • src/main/java/nl/bewerkt/jankymod/common — loader-neutral content, entities, items, blocks, sleep logic and commands.
  • src/main/java/nl/bewerkt/jankymod/client — the gnome model and renderer.
  • src/main/java/nl/bewerkt/jankymod/compat — small helpers shared by both loaders.
  • src/main/java/nl/bewerkt/jankymod/platform — Fabric and NeoForge entry points. These are wrapped in Stonecutter conditionals, so each loader only compiles its own side.
  • src/main/resources — assets, data, language files and mod metadata.
  • tools/datagen.py — the resource generator.
  • tools/ci — CI helper scripts.
  • build.fabric.gradle.kts, build.neoforge.gradle.kts — the two loader build scripts.

License

All rights reserved. See LICENSE.