-
Notifications
You must be signed in to change notification settings - Fork 0
cu_item_set_decay zh
mouse114514 edited this page Sep 12, 2026
·
1 revision

设置指定物品的腐烂时间。
⚠️ 当前为占位积木:物品腐烂时间属于注册期数据(ItemInfo.decayMinutes),运行期无法修改。生成器当前只输出一条注释(/* item.decayMinutes is registration-time only (ItemInfo.decayMinutes), cannot be set at runtime */),不会真正改变游戏状态。若要修改请在注册物品时决定,或等待后续版本支持运行期设置。
| 插槽 | 类型 | 说明 |
|---|---|---|
| VALUE | 数字插槽 | 腐烂时间数值(浮点数) |
| 下拉栏 | 选项 | 值 | 说明 |
|---|---|---|---|
| TARGET | 当前物品 | this |
操作当前手中物品 |
| TARGET | 左手 | left |
操作左手物品 |
| TARGET | 右手 | right |
操作右手物品 |
| 连接 | 类型 | 说明 |
|---|---|---|
| 顶部 | 语句 | 可接在上一个语句后 |
| 底部 | 语句 | 可继续连接下一个语句 |
当前生成注释 /* item.decayMinutes is registration-time only (ItemInfo.decayMinutes), cannot be set at runtime */。
Block ID: cu_item_set_decay