How ardrake/mouflonhardcoremod works
This Vintage Story mod prevents players from placing blocks while jumping. At startup it registers the custom block behavior; during asset finalization it attaches that behavior to soil-material blocks. The behavior intercepts placement, rejects it when the player's jump control is active, and otherwise delegates to the base placement logic. The excerpts show these runtime relationships; no README or sampled source describes additional product capabilities.
Main entry points: MouflonsHardcoreMod.cs Mod system · JumpRestriction.cs Jump restriction
Components 5
Mod lifecycle
- Mod system
MouflonsHardcoreMod/MouflonsHardcoreMod.cs - Soil behavior setup
MouflonsHardcoreMod/MouflonsHardcoreMod.cs
Placement rule
- Jump restriction
MouflonsHardcoreMod/JumpRestriction.cs - Base placement
Other components
- Vintage Story
Connections 6
- Vintage Story → Mod system: starts
MouflonsHardcoreMod/MouflonsHardcoreMod.cs - Mod system → Vintage Story: registers behavior
MouflonsHardcoreMod/MouflonsHardcoreMod.cs - Mod system → Soil behavior setup: finalizes assets
MouflonsHardcoreMod/MouflonsHardcoreMod.cs - Soil behavior setup → Jump restriction: attaches to soil
MouflonsHardcoreMod/MouflonsHardcoreMod.cs - Vintage Story → Jump restriction: requests placement
MouflonsHardcoreMod/JumpRestriction.cs - Jump restriction → Base placement: delegates when allowed
MouflonsHardcoreMod/JumpRestriction.cs