Skip to content
mouse114514 edited this page Sep 12, 2026 · 5 revisions

CuBlocky

中文版 | Back to Home

Scratch-style block editor for creating Casualties Unknown mods. Standalone desktop app (.NET 9 Kestrel + React frontend), drag-and-drop blocks → compile → DLL.


Quick Start

Page Description
Getting Started First mod in 7 steps
Block Reference All blocks organized by category
API Reference Backend REST endpoints, data models

Block Categories

Icon Category Description
Event Events Game event hooks (hat blocks): when mod awakes, on update, when hurt, when die, etc.
Register Registers Item/recipe/building/tile/locale registration
Body Body Player state: eat, drink, sleep, talk, set pain/stress/heart rate/immunity, etc.
Item Items Item actions: use, consume, set condition/weight/value/decay/rotation
Sound Sounds Play sound effects
World Worlds Set/destroy tiles, spawn items, give items to player
Building Buildings Register buildings with health, placement, properties
Tile Tiles Register tiles with health, collider, generation style
Flow Flows if/else, repeat, while, for loop
Value Values Numbers, strings, math operations, random, clamp, string ops
Boolean Booleans true/false, comparisons, logical AND/OR/NOT
Variable Variables Set/change variables

Tutorials

Page Description
First Mod Build a mod from scratch
Advanced Items Tools, armor, containers, etc.
Event Handlers Responding to game events
Crafting Recipes Defining item crafting

Links

Clone this wiki locally