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

Boolean Blocks

布尔积木 | Back to Block Reference 积木

Boolean blocks are used for logical checks, returning true or false values.


Category Overview

Property Value
Block Count 8

Block List

Block Name Description
True True Returns true.
False False Returns false.
Is Alive Is Alive Check if the player is alive.
Item Is Equipped Item Is Equipped Check if an item is equipped.
Item Is In Inventory Item Is In Inventory Check if an item is in inventory.
Number Compare Number Compare Compare two numbers.
Logic Compare Logic Compare Logical AND/OR operations.
Not Not Logical NOT operation.

Detailed Description

True

True

Returns true.

Block ID: cu_true


False

False

Returns false.

Block ID: cu_false


Is Alive

Is Alive

Check if the player is alive.

Block ID: cu_is_alive


Item Is Equipped

Item Is Equipped

Check if an item is equipped.

Block ID: cu_item_is_equipped


Item Is In Inventory

Item Is In Inventory

Check if an item is in inventory.

Block ID: cu_item_is_in_inventory


Number Compare

Number Compare

Compare two numbers.

Block ID: cu_number_compare


Logic Compare

Logic Compare

Logical AND/OR operations.

Block ID: cu_logic_compare


Not

Not

Logical NOT operation.

Block ID: cu_not


Clone this wiki locally