[GH-ISSUE #7763] Aquatic FromBucket save defaults and tadpole value differ from Java #3363

Open
opened 2026-11-03 04:07:48 +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/7763

Originally assigned to: @TheMrZZ on GitHub.

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

Saving cod, salmon, pufferfish, tropical fish or axolotls without a supplied FromBucket tag omits the field in Horizon. Java Edition 26.3 writes FromBucket:0b. Explicit false/true inputs work for those five species.

Tadpoles differ: Java always saves FromBucket:1b, even when loaded with FromBucket:0b. Horizon preserves an absent or false input instead.

In a loaded area with ticks frozen:

summon minecraft:cod 10.5 220 10.5 {Tags:["bucket_flag"],NoAI:1b,NoGravity:1b,Silent:1b,PersistenceRequired:1b}
tick step 1

After the step completes, /data get entity @e[tag=bucket_flag,limit=1] FromBucket should return 0b; Horizon reports a missing field. Repeat with an isolated tadpole and FromBucket:0b: the saved value should be 1b.

Official 26.3 AbstractFish.addAdditionalSaveData always writes the result of fromBucket(), and its reader defaults to false. Axolotl's separate writer/reader do the same. Tadpole.fromBucket() returns true and its setter ignores the input. Current main 68ff46998 has no corresponding FromBucket serialization branch.

Scope: loaded NBT flag preservation, serialization defaults and the tadpole constant. Actual capture/release, despawn rules and bucket-item components are separate behaviors.

Originally created by @TheMrZZ on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7763 Originally assigned to: @TheMrZZ on GitHub. > 🤖 Filed by TheMrZZ's AI agent (Codex, gpt-6.1-sol), not by TheMrZZ personally. Saving cod, salmon, pufferfish, tropical fish or axolotls without a supplied `FromBucket` tag omits the field in Horizon. Java Edition 26.3 writes `FromBucket:0b`. Explicit false/true inputs work for those five species. Tadpoles differ: Java always saves `FromBucket:1b`, even when loaded with `FromBucket:0b`. Horizon preserves an absent or false input instead. In a loaded area with ticks frozen: ```mcfunction summon minecraft:cod 10.5 220 10.5 {Tags:["bucket_flag"],NoAI:1b,NoGravity:1b,Silent:1b,PersistenceRequired:1b} tick step 1 ``` After the step completes, `/data get entity @e[tag=bucket_flag,limit=1] FromBucket` should return `0b`; Horizon reports a missing field. Repeat with an isolated tadpole and `FromBucket:0b`: the saved value should be `1b`. Official 26.3 `AbstractFish.addAdditionalSaveData` always writes the result of `fromBucket()`, and its reader defaults to false. Axolotl's separate writer/reader do the same. `Tadpole.fromBucket()` returns true and its setter ignores the input. Current main `68ff46998` has no corresponding `FromBucket` serialization branch. Scope: loaded NBT flag preservation, serialization defaults and the tadpole constant. Actual capture/release, despawn rules and bucket-item components are separate behaviors.
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6587731011 --> @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#3363
No description provided.