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

Register Blocks

注册积木 | Back to Block Reference 积木

Register blocks are used to register custom items, status effects, recipes, etc. in the mod. These blocks typically execute once during game initialization.


Category Overview

Property Value
Block Count 5

Block List

Block Name Description
Register Item Register Item Register a new custom item with id, name, description, and sprite.
Sprite Reference Sprite Reference Reference a sprite asset.
Register Status Effect Register Status Effect Register a new status effect (buff/debuff).
Register Recipe Register Recipe Register a crafting recipe.
Set Item Property Set Item Property Set properties of a custom item.

Detailed Description

Register Item

Register Item

Register a new custom item with id, name, description, and sprite.

Block ID: cu_register_item


Sprite Reference

Sprite Reference

Reference a sprite asset.

Block ID: cu_sprite_ref


Register Status Effect

Register Status Effect

Register a new status effect (buff/debuff).

Block ID: cu_register_status


Register Recipe

Register Recipe

Register a crafting recipe.

Block ID: cu_register_recipe


Set Item Property

Set Item Property

Set properties of a custom item.

Block ID: cu_item_set_property


Clone this wiki locally