Saltar al contenido principal

Puzzle Item Frame

Rotate item frames to the correct angles

Campos

CampoTipoPredeterminadoDescripción
puzzleTypePuzzleTypeITEM_FRAME—Valores:BLOCK_PUSHLASER_GRIDMEMORY_SEQUENCELEVER_ORDERPATTERN_PLACEMENTCOOP_PRESSUREITEM_FRAMECOMBINATION_LOCKPEDESTAL_OFFERING
factRef<CachableFactEntry>——
amountVar<Int>1—
timeLimitVar<Int>0—
cooldownOnFailVar<Int>0—
maxAttemptsVar<Int>0—
resetOnWrongVar<Boolean>false—
showHintsVar<Boolean>true—
hintMessageVar<String><yellow>Rotate the item frames to the correct angles! {progress}/{total}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.PlaceholdersColores
completionMessageVar<String>DEFAULT_PUZZLE_COMPLETION_MESSAGEChat message sent once to the player who solves the puzzle. Leave it empty to send nothing.PlaceholdersColores
onStartRef<TriggerableEntry>——
onCompleteRef<TriggerableEntry>——
onFailRef<TriggerableEntry>——
onTimeoutRef<TriggerableEntry>——
onLifespanExpireRef<TriggerableEntry>——
lifespanVar<Int>0—
isSharedVar<Boolean>falseShare 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.
activationRadiusVar<Double>DEFAULT_PUZZLE_ACTIVATION_RADIUSDetection radius in blocks around the frames. The puzzle only runs for players standing in their world, within this radius. 0 = no distance limit (the world is still enforced).
frameTargetsList<FrameTargetDef>emptyFrame targets with position, correct rotation (0-7), and optional required item.
FrameTargetDef (3)
CampoTipoPredeterminadoDescripción
positionVar<Position>ORIGINWorld position of the item frame.
correctRotationVar<Int>0Correct rotation index (0-7).
requiredItemVar<Material>AIROptional required item inside the frame. AIR = any item accepted.
checkItemVar<Boolean>trueIf true, the item inside the frame must also match the required item.
rotateSoundSound—Sound played when a frame is rotated.
correctSoundSound—Sound played when a frame is set to the correct rotation.
solveSoundSound—Sound played on puzzle completion.
missingFrameMessageVar<String><red>No item frame at <white>{x} {y} {z}Action bar text shown to a player when a target position holds no item frame (a mistake of the entry). {x}, {y} and {z} are the block coordinates of the target. Leave it empty to send nothing.PlaceholdersColores
wrongItemMessageVar<String><red>That is not the right item in the frame.Action bar text shown when the frame holds an item other than the required one. Leave it empty to send nothing.PlaceholdersColores
insertingMessageVar<String><gray>Inserting the item…Action bar text shown when the player clicks a frame whose item is already being inserted. Leave it empty to send nothing.PlaceholdersColores
missingItemMessageVar<String><yellow>First place the requested item in the frame.Action bar text shown when the player clicks an empty frame without holding the required item. Leave it empty to send nothing.PlaceholdersColores
itemPlacedMessageVar<String><green>Item placed — rotate the frame.Action bar text shown once the required item is placed in the frame. Leave it empty to send nothing.PlaceholdersColores
rotationMessageVar<String><gray>Rotation {current}/{total}Action bar text shown after each rotation that is not the right one yet. {current} is the rotation reached (from 1), {total} the number of rotations of a frame. Leave it empty to send nothing.PlaceholdersColores
Campos comunes de TypeWriter (criteria)
CampoTipoPredeterminadoDescripción
criteriaList<Criteria>empty—