notevil faad0ced0f Phase 2.3 : capability system RIG (EntityPatchProvider + events)
5 classes ajoutées dans rig/patch/ :

- TiedUpCapabilities.java
  Holder du Capability<EntityPatch> CAPABILITY_ENTITY (CapabilityToken
  auto-register) + helpers getEntityPatch / getPlayerPatch /
  getPlayerPatchAsOptional. Simplifié de EF (pas de ITEM/PROJECTILE/SKILL
  caps, combat only).

- EntityPatchProvider.java
  ICapabilityProvider + Map<EntityType, Function<Entity, Supplier<EntityPatch<?>>>>.
  registerEntityPatches() pour commonSetup (EntityType.PLAYER seul Phase 2),
  registerEntityPatchesClient() pour clientSetup (dispatch LocalPlayerPatch vs
  ClientPlayerPatch<RemotePlayer> vs ServerPlayerPatch). CUSTOM_CAPABILITIES
  pour extensions futures. Pas de GlobalMobPatch combat fallback.
  IMPORTANT : n'enregistre PAS EntityType.VILLAGER (MCA conflict V3-REW-10).

- TiedUpCapabilityEvents.java
  @Mod.EventBusSubscriber sur AttachCapabilitiesEvent<Entity>. Check oldPatch
  pour éviter double-attach, construit provider, appelle onConstructed eager
  (D-01 pattern EF), addCapability. Priority NORMAL (order d'attachement
  ne matière pas, c'est les runtime cross-cap reads qui importent et ceux-là
  sont déjà lazy dans onConstructed).

3 stubs PlayerPatch subclasses (placeholders Phase 2.4) :

- ServerPlayerPatch : overrideRender=false, getArmature=null stub, updateMotion no-op
- ClientPlayerPatch<T extends AbstractClientPlayer> : overrideRender=true, @OnlyIn CLIENT
- LocalPlayerPatch extends ClientPlayerPatch<LocalPlayer> : vide pour l'instant

Ces stubs satisfont le compile de EntityPatchProvider.registerEntityPatchesClient().
Le getArmature() null est non-bloquant Phase 2.3 mais devra être fixé Phase 2.4
pour le vrai rendering (lien avec TiedUpRigRegistry.BIPED à créer Phase 2.7).

Compile BUILD SUCCESSFUL + 11 tests bridge GREEN maintenus.
2026-04-22 21:23:01 +02:00
2026-04-12 00:51:22 +02:00
2026-04-22 00:26:09 +02:00
2026-04-12 00:51:22 +02:00
2026-04-12 00:51:22 +02:00
2026-04-22 00:13:50 +02:00
2026-04-12 00:51:22 +02:00

TiedUp! - Minecraft 1.20.1 Forge Mod

Community remake of the TiedUp! mod for Minecraft 1.20.1 (Forge). Adds restraint and roleplay mechanics to the game.

Original mod by Yuti & Marl Velius (1.12.2). This is an independent remake, not affiliated with the original developers.

Features

  • Restraint items (binds, gags, blindfolds, collars, straps, and more)
  • NPC entities with AI and personality-driven dialogue (Kidnapper, Damsel, Guard, Trader, Maid, Master)
  • Kidnapper camp world generation
  • Captivity and prison mechanics
  • Player animation system with 3D item rendering
  • Multiplayer synchronization
  • Mod compatibility (Minecraft Comes Alive, Wildfire's Female Gender Mod)
  • In-game guide book (Patchouli)

Requirements

Building

# First time setup
make setup

# Build the mod
make build

# Clean and rebuild
make rebuild

# See all available commands
make help

Or directly with Gradle:

export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
./gradlew build

The built JAR will be in build/libs/.

Development

# Run Minecraft client
make run

# Run dedicated server
make server

# Multiplayer testing (server + 2 clients)
make mptest

# Generate IDE configurations
make idea     # IntelliJ IDEA
make eclipse  # Eclipse

Project Structure

src/main/java/com/tiedup/remake/
├── blocks/        # Custom blocks and block entities
├── cells/         # Captive cell management
├── client/        # Rendering, GUI, animations
├── commands/      # /tiedup command
├── compat/        # Mod compatibility (MCA, Wildfire)
├── core/          # Main mod class, config, sounds
├── dialogue/      # NPC conversation system
├── entities/      # Custom NPCs and AI
├── events/        # Event handlers
├── items/         # All mod items
├── mixin/         # Minecraft bytecode modifications
├── network/       # Multiplayer packet system
├── personality/   # NPC personality system
├── state/         # Player state tracking
├── v2/            # Next-gen items and blocks
└── worldgen/      # Structure generation

Dependencies

Some dependencies are included as local JARs in libs/ because they are not available on Maven Central:

Library Version Usage
PlayerAnimator 1.0.2-rc1+1.20 Player pose animations
bendy-lib 4.0.0 Model part bending
Architectury 9.2.14 Required by MCA
Minecraft Comes Alive 7.6.13 Optional compatibility
Wildfire Gender Mod 3.1 Optional compatibility

License

GPL-3.0 with Commons Clause - see LICENSE for details.

TL;DR: Free to use, modify, and distribute. Cannot be sold or put behind a paywall. The 3D models are the property of their creators; if their names are listed, please ask them for permission otherwise me.

Status

This mod is under heavy rework. Things will break, APIs will change, features will come and go. If you want to build and use it as-is, that's on you.

Contributing

Contributions are welcome. Rules:

  • Pull requests only - no direct pushes
  • Clear commit messages - describe what and why, not how
  • Test your changes before submitting - at minimum, make sure it compiles and runs
  • Bug fixes, new features, improvements - all welcome
  • Areas where help is especially needed: textures, 3D models, multiplayer testing
Description
No description provided
Readme 22 MiB
Languages
Java 99.9%