- Java 89%
- Python 11%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The ChastiCraft settings screen now shows the own player next to the settings: drag to rotate, scroll to zoom towards the hips, double-click to reset. The preview uses the edited settings right away and can show or hide armor (leggings cover cage and anatomy). The render-state filling moved into CageLayer#extractData so the mixin and the preview share it. The game test drives the preview with real mouse input. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| docs/screenshots | ||
| gradle | ||
| src | ||
| tools/textures | ||
| .gitattributes | ||
| .gitignore | ||
| build.gradle | ||
| CLAUDE.md | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.de.md | ||
| README.md | ||
| settings.gradle | ||
ChastiCraft
Wearable, lockable chastity cages for Minecraft – with keys, time locks, a workbench, modifications and an altar that guards your key.
Deutsch · English
Important
ChastiCraft is a mod with adult themes (18+). Everything is opt-in or requires consent: other players can only lock you while you are sneaking, and the optional anatomy model only appears on players who turn it on for themselves.
Contents
- Features
- Cages & designs
- Locks & keys
- The key altar
- Lust meter & effects
- The cage workbench & modifications
- Recipes
- Commands
- Installation
- Development
Features
| 🔒 Dedicated inventory slot | Cages are worn in an extra slot next to the armor – in the survival and the creative inventory. |
| 🧱 4 materials × 4 designs × 5 sizes | Iron, gold, diamond, netherite · Barred, Closed Tube, Flat, Inverted · from XL down to Tiny. |
| 🗝️ Padlock & time lock | Whoever locks the cage gets the key. Time locks open by themselves after 5–120 minutes of game time. |
| ⛩️ Key altar | Lock yourself and the key is hidden in a far-away altar – guarded by keepers with a quiz. |
| 💗 Lust meter | Rises while the cage is locked and brings bonuses and drawbacks. |
| ✨ 8 modifications | Spikes, Ember, Glow Paint, Prismarine, Feathers, Sugar Glaze, Lucky Charm, Emerald Inlay – each with an effect, particles and its own look. |
| 🎨 Real 3D models | Every design has its own geometry and textures – on the player, in the hand, in the inventory and in item frames. |
| 🌊 Swing physics | Cage, padlock and charms sway when walking, jumping and turning (can be turned off). |
| 🌍 English & German | All texts in both languages. |
Cages & designs
Every design has its own 3D model. The base texture is tinted with the material color; locked cages also show a small padlock.

![]() Barred Iron |
![]() Closed Tube Gold |
![]() Flat Diamond |
![]() Inverted Netherite |
| Material | Armor | Special |
|---|---|---|
| Iron | 2 | solid all-rounder |
| Gold | 1 | piglins stay neutral |
| Diamond | 3 | — |
| Netherite | 3 + toughness | upgraded from diamond at the smithing table, burns for a shorter time |
Sizes: XL · Large · Medium (default) · Small · Tiny. The smaller the cage, the less armor – but the stronger the effects (cleric discount, lust gain, speed). From Small on, the lust bonuses are level II.
Cages look the same everywhere – item frames included:

The cage is worn in its own inventory slot:

Note
Effects only apply while the cage is locked. Just wearing it does nothing – no armor, speed, discount, lust or modifications.
Locks & keys
| Item | What it does |
|---|---|
| Padlock | Locks the cage. Whoever locks it receives the matching Cage Key. Unlocking uses up the key and returns the padlock. |
| Time Lock | Opens by itself after an adjustable time (5–120 min of game time). |
| Universal Key | Opens any padlock – and is spent afterwards. A nether star recharges it. |
Locking someone else: another player can only lock you while you are sneaking – that is your consent.
The key altar
If you lock yourself with a padlock, the game asks for confirmation – and then hides the key in an altar 300–1000 blocks away. An Altar Map shows you the way.
A keeper waits at the altar – the Altar Priest or the Key Mistress. Pay the price and they ask you a trivia question. Right answer → Chest Key → open the chest → Cage Key.
![]() |
![]() |
Prefer the sword? Kill the keeper and the altar crumbles. You get a Key Artifact that can be forged into a new key – at a steep price.
Lust meter & effects

While the cage is locked, lust rises (0–100). It is shown as a bar above the hunger bar.
| Lust | Effect |
|---|---|
| ≥ 50 | Haste |
| ≥ 80 | Strength, occasional Nausea |
| 100 | Slowness |
Lowering it: sleep (−20) or drink milk (−30).
Clerics give a trading discount – depending on material and size, up to 50 %.
The cage workbench & modifications

At the Cage Workbench you change a cage's size and design with one material ingredient (iron/gold nugget, diamond, netherite scrap). The modifier slot adds modifications – at most 3 per cage, each only once. The "x" button removes them again (the ingredient is lost); removing and adding works in a single step.

| Modification | Ingredient | Look | Effect |
|---|---|---|---|
| Spikes | Cactus | spikes on the ring | Resistance I |
| Ember | Magma Cream | glowing orange veins | Fire Resistance |
| Glow Paint | Glow Ink Sac | glowing yellow-green veins | Night Vision |
| Prismarine | Prismarine Crystals | turquoise inlays | Water Breathing |
| Feathers | Feather | white feather tufts | Slow Falling |
| Sugar Glaze | Sugar | pink glaze | Speed I |
| Lucky Charm | Rabbit's Foot | charm on the ring | Luck |
| Emerald Inlay | Emerald | green gems | Hero of the Village |
Every modification also has its own particles – sparks, flames, glitter and more.
Recipes
| Result | Ingredients |
|---|---|
| Iron Chastity Cage | 1 iron ingot, 4 iron nuggets |
| Golden Chastity Cage | 1 gold ingot, 4 gold nuggets |
| Diamond Chastity Cage | 1 iron ingot, 4 iron nuggets, 1 diamond |
| Netherite Chastity Cage | diamond cage + netherite ingot + netherite upgrade (smithing table) |
| Padlock | 3 iron ingots, 3 iron nuggets |
| Time Lock | padlock + clock |
| Cage Workbench | crafting table, 3 iron ingots, 2 iron nuggets, 3 planks |
| Altar Map | map + compass + gold ingot |
| Universal Key | 4 netherite ingots, 2 nether stars, 2 echo shards, 1 padlock |
| Recharge Universal Key | spent universal key + nether star |
| New Cage Key | key artifact, nether star, 2 diamond blocks, 2 gold blocks, netherite ingot |
In creative mode everything is in the ChastiCraft tab.
Commands
Tip
Your own settings (anatomy model, skin tone, sizes, swing physics) can also be changed in a menu with a rotatable, zoomable preview of your character: Options → Skin Customization → ChastiCraft… (inside a world).
| Command | Who | Description |
|---|---|---|
/chasticraft status [player] |
everyone | Shows cage, lock, remaining time and lust. |
/chasticraft anatomy show|hide |
everyone (only for yourself) | Show or hide the optional anatomy model. |
/chasticraft anatomy skin <1-6> · size <1-5> [1-5] |
everyone (only for yourself) | Skin tone and sizes. |
/chasticraft anatomy physics on|off |
everyone (only for yourself) | Swing physics (also applies to the cage). |
/chasticraft unlock <player> |
operator | Unlock the cage immediately. |
/chasticraft lust <player> <0-100> |
operator | Set lust. |
/locate altar |
operator | Find the nearest key altar. |
Installation
- Install the Fabric Loader for Minecraft 26.3.
- Put Fabric API into the
modsfolder. - Put
chasticraft-<version>.jarfrombuild/libs/(or a release) into themodsfolder as well.
The mod is required on both server and client. Java 25 is required.
Development
./gradlew build # build → build/libs/chasticraft-<version>.jar
./gradlew runClient # start the game with the mod
./gradlew runClientGameTest # automated client tests (including the README screenshots)
./gradlew genSources # decompiled Minecraft sources for the IDE
python3 tools/textures/gentex.py # regenerate all textures
Updating the screenshots: ./gradlew runClientGameTest renders the images of this README via
ReadmeScreenshotsClientGameTest
into build/run/clientGameTest/screenshots/readme/. Copy them to docs/screenshots/ afterwards; the four
design_*.png are cropped to squares (sips -c 900 900 and sips -Z 600).
Technical details on architecture, models and pitfalls are in CLAUDE.md (German).
Stack: Minecraft 26.3 · Fabric Loader 0.20.1 · Fabric API 0.166.0+26.3 · Loom · Mojang mappings · Java 25
Made by Antimon · License: MIT





