跳到主要内容

Quest Codex Locator Bar

Quest Codex Locator Bar

Renders the same targets as Quest Codex Waypoint on the vanilla locator bar. It costs no entity and no packet display, so it pairs well with a 3D waypoint rather than replacing it. Requires Minecraft 1.21.6+.

字段

字段类型默认值描述
targetWaypointTarget—Target resolved from a position, active objective or entity.变体:entity_waypoint_targetfixed_waypoint_targetobjective_waypoint_targettracked_objective_waypoint_target
entity_waypoint_target(1)
字段类型默认值描述
entityRef<out EntityInstanceEntry>—Entity instance whose current per-player position is used as the target.
fixed_waypoint_target(1)
字段类型默认值描述
positionVar<Position>ORIGINFixed target position.
objective_waypoint_target(1)
字段类型默认值描述
objectiveRef<out LocatableObjective>—Locatable objective used as the target. It is shown only while the objective is active and tracked.
tracked_objective_waypoint_target(1)
字段类型默认值描述
selectionTrackedObjectiveSelectionHIGHEST_PRIORITYHow the active locatable objective is selected from the tracked quest.可选值:HIGHEST_PRIORITYFIRSTCLOSEST
colorVar<String>#55FF55Colour of the locator bar dots, in hex format like '#55FF55'.
styleVar<String>—Optional icon style key, for example 'minecraft:default'.
maxTargetsInt5Maximum number of simultaneous dots.

How to use it​

Shows the same resolved targets as dots on the vanilla locator bar of players who match the audience. It needs Minecraft 1.21.6 or newer, spawns no entity, and pairs with a Quest Codex Waypoint rather than replacing it. color is a hex value such as #55FF55, and style an icon style key such as minecraft:default.