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+.
字段
| 字段 | 类型 | 默认值 | 描述 | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
target | WaypointTarget | — | Target resolved from a position, active objective or entity.变体:entity_waypoint_targetfixed_waypoint_targetobjective_waypoint_targettracked_objective_waypoint_target
|
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
entity | Ref<out EntityInstanceEntry> | — | Entity instance whose current per-player position is used as the target. |
fixed_waypoint_target(1)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
position | Var<Position> | ORIGIN | Fixed target position. |
objective_waypoint_target(1)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
objective | Ref<out LocatableObjective> | — | Locatable objective used as the target. It is shown only while the objective is active and tracked. |
tracked_objective_waypoint_target(1)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
selection | TrackedObjectiveSelection | HIGHEST_PRIORITY | How the active locatable objective is selected from the tracked quest.可选值:HIGHEST_PRIORITYFIRSTCLOSEST |
colorVar<String>#55FF55styleVar<String>maxTargetsInt5How 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.