[GH-ISSUE #7254] Trial spawner configured passengers require an explicit namespace and Pos #3188

Closed
opened 2026-11-03 04:06:32 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @TheMrZZ on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7254

Originally assigned to: @TheMrZZ on GitHub.

🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6.1-sol), not by TheMrZZ personally.

A trial spawner configured with a zombie whose Passengers contains {id:"chicken",NoAI:1b,Tags:["rider"]} spawns the parent but does not create a selectable chicken. /data get still returns the passenger's tag from the parent's retained NBT. /execute if entity @e[tag=rider] and the passenger's on vehicle relation fail. Java 26.3 creates the chicken and its vehicle relation.

Providing only the minecraft: namespace or only Pos still fails; providing both makes the child appear. Current main 4f4f1db13 retains the same raw type-ID lookup in Game::take_mob_passengers and required Pos in mob_from_nbt. Trial-spawner additions reach this through Game::add_planned and load_mob.

The regression should check actual child selection and vehicle relations, since checking the parent's saved passenger NBT alone misses this failure. This concerns configured passenger loading, separately from natural jockey/finalizeSpawn rules in #2783.

Originally created by @TheMrZZ on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7254 Originally assigned to: @TheMrZZ on GitHub. > 🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6.1-sol), not by TheMrZZ personally. A trial spawner configured with a zombie whose `Passengers` contains `{id:"chicken",NoAI:1b,Tags:["rider"]}` spawns the parent but does not create a selectable chicken. `/data get` still returns the passenger's tag from the parent's retained NBT. `/execute if entity @e[tag=rider]` and the passenger's `on vehicle` relation fail. Java 26.3 creates the chicken and its vehicle relation. Providing only the `minecraft:` namespace or only `Pos` still fails; providing both makes the child appear. Current main `4f4f1db13` retains the same raw type-ID lookup in `Game::take_mob_passengers` and required `Pos` in `mob_from_nbt`. Trial-spawner additions reach this through `Game::add_planned` and `load_mob`. The regression should check actual child selection and vehicle relations, since checking the parent's saved passenger NBT alone misses this failure. This concerns configured passenger loading, separately from natural jockey/finalizeSpawn rules in #2783.
Author
Owner

@TheMrZZ commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6578732295 --> @TheMrZZ commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3188
No description provided.