跳到主要内容

puzzle_pedestal

A block acts as a pedestal. The puzzle is solved when the player offers the required item on it — either by interacting while holding it, or by dropping it nearby.

Fields

FieldTypeDescription
targetPositionVar<Position>The block that serves as the pedestal.
requiredItemVar<Item>The item that must be offered.
consumeItemVar<Boolean>Whether the offered item is taken from the player's hand on success.
pickupRadiusVar<Double>Radius around the pedestal that accepts a dropped matching item.
consumeDroppedItemVar<Boolean>Whether a matching dropped item is removed when it solves the puzzle.
solveSoundSoundPlayed on completion.

See the shared puzzle fields for lifecycle, timing and trigger options.

How could this be used?

An altar that only accepts the relic recovered earlier in the quest. Leave consumeItem off if the player should keep the relic afterwards.