Puzzle Pedestal
Offer an item on a pedestal to solve the puzzle
Pedestal Offering puzzle entry. The player must right-click a specific block (the pedestal) while holding a specific item. The puzzle completes when the correct item is offered.
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
puzzleType | PuzzleType | PEDESTAL_OFFERING | —可选值:BLOCK_PUSHLASER_GRIDMEMORY_SEQUENCELEVER_ORDERPATTERN_PLACEMENTCOOP_PRESSUREITEM_FRAMECOMBINATION_LOCKPEDESTAL_OFFERING |
fact | Ref<CachableFactEntry> | — | — |
amount | Var<Int> | 1 | — |
timeLimit | Var<Int> | 0 | — |
cooldownOnFail | Var<Int> | 0 | — |
maxAttempts | Var<Int> | 0 | — |
resetOnWrong | Var<Boolean> | false | — |
showHints | Var<Boolean> | true | — |
hintMessage | Var<String> | <yellow>Place the correct item on the pedestal! | Chat message sent after each step of the puzzle when hints are on. {progress} is the steps done, {total} the steps needed. Leave it empty to send nothing.占位符颜色 |
completionMessage | Var<String> | DEFAULT_PUZZLE_COMPLETION_MESSAGE | Chat message sent once to the player who solves the puzzle. Leave it empty to send nothing.占位符颜色 |
onStart | Ref<TriggerableEntry> | — | — |
onComplete | Ref<TriggerableEntry> | — | — |
onFail | Ref<TriggerableEntry> | — | — |
onTimeout | Ref<TriggerableEntry> | — | — |
onLifespanExpire | Ref<TriggerableEntry> | — | — |
lifespan | Var<Int> | 0 | — |
isShared | Var<Boolean> | false | Share the progression with the players of the group set on the fact: a step, a mistake or the solve by one player applies to the others. Needs a fact with a group; has no effect without one. |
activationRadius | Var<Double> | DEFAULT_PUZZLE_ACTIVATION_RADIUS | Detection radius in blocks around the pedestal. The puzzle only runs for players standing in its world, within this radius. 0 = no distance limit (the world is still enforced). |
targetPosition | Var<Position> | ORIGIN | The block position that serves as the pedestal. |
requiredItem | Var<Item> | — | The item that must be offered to complete the puzzle. |
consumeItem | Var<Boolean> | false | If true, the offered item is consumed from the player's hand on success. |
pickupRadius | Var<Double> | 1.5 | Radius around the pedestal that accepts a dropped matching item. |
consumeDroppedItem | Var<Boolean> | true | If true, a matching dropped item is removed when it solves the puzzle. |
solveSound | Sound | — | Sound played on puzzle completion. |
TypeWriter 通用字段(criteria)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
criteria | List<Criteria> | empty | — |