-
Notifications
You must be signed in to change notification settings - Fork 0
Blocks en
mouse114514 edited this page Sep 12, 2026
·
5 revisions
CuBlocky provides 80+ blocks organized into 14 categories. Click a category name for detailed documentation.
| Icon | Category | Count | Description |
|---|---|---|---|
![]() |
Events | 12 | Game event hooks (hat blocks): when mod awakes, on update, when hurt, when die, etc. |
![]() |
Registers | 5 | Item/recipe/building/tile/locale registration |
![]() |
Body | 13 | Player state: eat, drink, sleep, talk, set pain/stress/heart rate/immunity, etc. |
![]() |
Items | 7 | Item actions: use, consume, set condition/weight/value/decay/rotation |
![]() |
Sounds | 2 | Play sound effects |
![]() |
Worlds | 4 | Set/destroy tiles, spawn items, give items to player |
![]() |
Buildings | 2 | Register buildings with health, placement, properties |
![]() |
Tiles | 2 | Register tiles with health, collider, generation style |
![]() |
Flows | 5 | if/else, repeat, while, for loop |
![]() |
Values | 21 | Numbers, strings, math operations, random, clamp, string ops |
![]() |
Booleans | 8 | true/false, comparisons, logical AND/OR/NOT |
![]() |
Variables | 2 | Set/change variables |
| Prefix | Type | Example |
|---|---|---|
cu_when_* |
Event blocks | cu_when_awake |
cu_register_* |
Register blocks | cu_register_item |
cu_set_* |
Setter blocks | cu_set_happiness |
cu_item_* |
Item blocks | cu_item_use |
cu_play_* |
Sound blocks | cu_play_sound |
cu_world_* |
World blocks | cu_world_set_tile |
cu_math_* |
Math blocks | cu_math_op |
cu_var_* |
Variable blocks | cu_var_set |
cu_list_* |
List blocks | cu_list_get |











