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.