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

Value Reporter Blocks

数值报告积木 | Back to Block Reference 积木

Value reporter blocks get and calculate various values, can be embedded in other block inputs.


Category Overview

Property Value
Block Count 21

Block List

Block Name Description
Number Number Direct number constant input.
Text Text Direct text constant input.
Get Variable Get Variable Get the value of a variable.
Custom Item Custom Item Reference a custom item.
Happiness Happiness Get the player's current happiness.
Temperature Temperature Get the player's current temperature.
Hunger Hunger Get the player's current hunger.
Weight Weight Get the player's current weight.
Position X Position X Get the player's current X position.
Position Y Position Y Get the player's current Y position.
Item Condition Item Condition Get the current item's durability.
Item Name Item Name Get the current item's name.
World Time World Time Get the current world time.
Block At Block At Get the block type at specified coordinates.
Clamp Clamp Clamp a value between minimum and maximum.
Math Operation Math Operation Perform math operations (add, subtract, multiply, etc.).
Math Function Math Function Use math functions (round, absolute, etc.).
Random Integer Random Integer Generate a random integer in specified range.
String Operation String Operation Perform string operations (length, concatenation, etc.).
String Contains String Contains Check if a string contains a substring.
Player Depth Player Depth Get the player's current depth in meters.

Detailed Description

Number

Number

Direct number constant input.

Block ID: cu_number


Text

Text

Direct text constant input.

Block ID: cu_text


Get Variable

Get Variable

Get the value of a variable.

Block ID: cu_var_get


Custom Item

Custom Item

Reference a custom item.

Block ID: cu_item_custom


Happiness

Happiness

Get the player's current happiness.

Block ID: cu_happiness


Temperature

Temperature

Get the player's current temperature.

Block ID: cu_temperature


Hunger

Hunger

Get the player's current hunger.

Block ID: cu_hunger


Weight

Weight

Get the player's current weight.

Block ID: cu_weight


Position X

Position X

Get the player's current X position.

Block ID: cu_position_x


Position Y

Position Y

Get the player's current Y position.

Block ID: cu_position_y


Item Condition

Item Condition

Get the current item's durability.

Block ID: cu_item_condition


Item Name

Item Name

Get the current item's name.

Block ID: cu_item_name


World Time

World Time

Get the current world time.

Block ID: cu_world_time


Block At

Block At

Get the block type at specified coordinates.

Block ID: cu_world_block_at


Clamp

Clamp

Clamp a value between minimum and maximum.

Block ID: cu_math_clamp


Math Operation

Math Operation

Perform math operations (add, subtract, multiply, etc.).

Block ID: cu_math_op


Math Function

Math Function

Use math functions (round, absolute, etc.).

Block ID: cu_math_func


Random Integer

Random Integer

Generate a random integer in specified range.

Block ID: cu_math_random


String Operation

String Operation

Perform string operations (length, concatenation, etc.).

Block ID: cu_string_op


String Contains

String Contains

Check if a string contains a substring.

Block ID: cu_string_contains


Player Depth

Player Depth

Get the player's current depth in meters.

Block ID: cu_world_depth


Clone this wiki locally