Zum Hauptinhalt springen

puzzle_item_frame

The player rotates a set of item frames until each one sits at its correct angle. Optionally the item inside each frame must match too.

Fields

FieldTypeDescription
frameTargetsList<FrameTargetDef>Frames to solve, with position, correct rotation and optional required item.
checkItemVar<Boolean>Whether the item inside the frame must also match.
rotateSoundSoundPlayed when a frame is rotated.
correctSoundSoundPlayed when a frame reaches its correct rotation.
solveSoundSoundPlayed on completion.

FrameTargetDef

FieldTypeDescription
positionVar<Position>World position of the item frame.
correctRotationVar<Int>Correct rotation index, 0 to 7.
requiredItemVar<Material>Item required inside the frame. AIR accepts any item.

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

How could this be used?

A dial lock made of four compass frames that must all point the same way, or a constellation the player aligns using star maps found around the room.