[PR #3956] [MERGED] Tipped arrows, leather armour, allays, mooshrooms and LAN guests behave like vanilla #5322

Closed
opened 2026-11-03 05:11:47 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3956
Author: @kacpherek
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @levzzz5154

Base: main ← Head: fix/split-misc-a


📝 Commits (10+)

  • 0db9357 Apply spectator fog to powder snow
  • 0c9e629 Roll stuck arrows while their shake timer runs
  • 69d060e Hang an allay's lead at 0.6 of its eye height
  • 0559503 Fire thrown-item pickup advancements for allay deliveries
  • 6fb3326 Let empty buckets scoop bubble columns
  • 720381e Crack skulls, shulker boxes, bells, lecterns and statues while broken
  • e701c9f Trail tipped arrows with their potion colour
  • 0b2e9da Burst tipped arrows and drop the potion after 600 ticks
  • 0d598ed Draw tipped arrow particles and the stuck-arrow shake on the client side
  • ed279f2 Draw the leather overlay on worn armour and armour stands

📊 Changes

15 files changed (+270 additions, -72 deletions)

View changed files

📝 crates/horizon-client-render/src/block_entity_render.rs (+15 -2)
📝 crates/horizon-client-render/src/fog.rs (+8 -4)
📝 crates/horizon-client/examples/probe/arrow_probe.rs (+3 -0)
📝 crates/horizon-client/src/arrows.rs (+26 -0)
📝 crates/horizon-client/src/game/armor_stands.rs (+57 -40)
📝 crates/horizon-client/src/game/commands.rs (+10 -0)
📝 crates/horizon-client/src/game/creatures.rs (+49 -3)
📝 crates/horizon-client/src/game/entity_model_loading_tests.rs (+1 -1)
📝 crates/horizon-client/src/game/lan.rs (+19 -0)
📝 crates/horizon-client/src/game/perspective.rs (+6 -1)
📝 crates/horizon-client/src/game/remote.rs (+4 -0)
📝 crates/horizon-client/src/game/remote_projectiles.rs (+62 -21)
📝 crates/horizon-client/src/mobs/leash.rs (+3 -0)
📝 crates/horizon-world/src/level/buckets.rs (+2 -0)
📝 crates/horizon-world/src/level/fluids.rs (+5 -0)

📄 Description

What and why

  • Powder snow fog: a spectator inside powder snow gets the spectator fog range, not the survival one.
  • Stuck arrows now roll while their shake timer runs, as in vanilla. A client's copy of an arrow starts the shake when it lands and runs it down each tick.
  • An allay's lead hangs at 0.6 of its eye height.
  • Empty buckets scoop bubble columns and come back as water buckets.
  • Skulls, shulker boxes, bells, lecterns and copper golem statues show the crack overlay while they are being broken.
  • A tipped arrow stuck for 600 ticks bursts twenty particles in its colour on the clients and turns into a plain arrow on the server.
  • Worn armour and armour stands draw the leather overlay layer in its own colour.
  • A mooshroom calf takes either parent's colour, with the rare other colour when both parents match.
  • /difficulty sends LAN guests the new difficulty.
  • Forcing the game mode moves online guests to the default mode.

Merged with main: the tipped and spectral arrow particles, the synced effect colour, the mooshroom Type save/load and the allay thrown-item pickup advancement are already on main, so this branch no longer carries its own versions of them.

Vanilla reference

  • Powder snow fog: PowderedSnowFogEnvironment.setupFog, PowderedSnowFogEnvironment.java
  • Arrow shake: ArrowRenderer.extractRenderState / ArrowModel.setupAnim, ArrowRenderer.java; AbstractArrow.onSyncedDataUpdated, AbstractArrow.java
  • Allay lead: Allay.getLeashOffset, Allay.java
  • Bubble column bucket: BubbleColumnBlock.pickupBlock, BubbleColumnBlock.java
  • Crack overlay: ChestRenderer.submit, SkullBlockRenderer.submitSkull, ShulkerBoxRenderer.submit, BellRenderer.submit, LecternRenderer.submit, CopperGolemStatueBlockRenderer.submit (submitCrumblingOverlay)
  • Tipped arrow burst: Arrow.tick, Arrow.handleEntityEvent, Arrow.java
  • Leather overlay: EquipmentLayerRenderer.renderLayers, EquipmentLayerRenderer.java
  • Mooshroom calf colour: MushroomCow.getOffspringVariant, MushroomCow.java
  • /difficulty to guests: MinecraftServer.setDifficulty, MinecraftServer.java
  • Forced game mode: MinecraftServer.enforceGameTypeForPlayers, MinecraftServer.java; IntegratedServer.updateGameModeBasedOnPermission

Self-check

rustfmt on changed files; built by CI; not run in game. python3 tools/parity.py arrow not rerun here: the probe gains a potion-puff line only for a tipped arrow stuck for 600 ticks, which the arrow corpus does not contain.

Split out of #3926.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3956 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/split-misc-a` --- ### 📝 Commits (10+) - [`0db9357`](https://github.com/horizon-rust/horizon/commit/0db93570be403a9971b05317a2718389109ae020) Apply spectator fog to powder snow - [`0c9e629`](https://github.com/horizon-rust/horizon/commit/0c9e6293ee1c4ffbc21295ba786548ece0b99b44) Roll stuck arrows while their shake timer runs - [`69d060e`](https://github.com/horizon-rust/horizon/commit/69d060efe6e8145698d34d169ede178e715d1076) Hang an allay's lead at 0.6 of its eye height - [`0559503`](https://github.com/horizon-rust/horizon/commit/05595032585701db32537c53e832f0167c372056) Fire thrown-item pickup advancements for allay deliveries - [`6fb3326`](https://github.com/horizon-rust/horizon/commit/6fb33260aef8de3f849b1b7cbe107917aa99bed6) Let empty buckets scoop bubble columns - [`720381e`](https://github.com/horizon-rust/horizon/commit/720381e3cfdebd4026b6d354132e86c2657ff081) Crack skulls, shulker boxes, bells, lecterns and statues while broken - [`e701c9f`](https://github.com/horizon-rust/horizon/commit/e701c9f4582b2d4b7cb8499837e086914c29622a) Trail tipped arrows with their potion colour - [`0b2e9da`](https://github.com/horizon-rust/horizon/commit/0b2e9da8549e499cfced367f6f802c76ca90321b) Burst tipped arrows and drop the potion after 600 ticks - [`0d598ed`](https://github.com/horizon-rust/horizon/commit/0d598edee8df67b8fbaaf0e3b55e350e7f3902de) Draw tipped arrow particles and the stuck-arrow shake on the client side - [`ed279f2`](https://github.com/horizon-rust/horizon/commit/ed279f27d54acd819123ddadd62b12098567f6b3) Draw the leather overlay on worn armour and armour stands ### 📊 Changes **15 files changed** (+270 additions, -72 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/block_entity_render.rs` (+15 -2) 📝 `crates/horizon-client-render/src/fog.rs` (+8 -4) 📝 `crates/horizon-client/examples/probe/arrow_probe.rs` (+3 -0) 📝 `crates/horizon-client/src/arrows.rs` (+26 -0) 📝 `crates/horizon-client/src/game/armor_stands.rs` (+57 -40) 📝 `crates/horizon-client/src/game/commands.rs` (+10 -0) 📝 `crates/horizon-client/src/game/creatures.rs` (+49 -3) 📝 `crates/horizon-client/src/game/entity_model_loading_tests.rs` (+1 -1) 📝 `crates/horizon-client/src/game/lan.rs` (+19 -0) 📝 `crates/horizon-client/src/game/perspective.rs` (+6 -1) 📝 `crates/horizon-client/src/game/remote.rs` (+4 -0) 📝 `crates/horizon-client/src/game/remote_projectiles.rs` (+62 -21) 📝 `crates/horizon-client/src/mobs/leash.rs` (+3 -0) 📝 `crates/horizon-world/src/level/buckets.rs` (+2 -0) 📝 `crates/horizon-world/src/level/fluids.rs` (+5 -0) </details> ### 📄 Description ## What and why - Powder snow fog: a spectator inside powder snow gets the spectator fog range, not the survival one. - Stuck arrows now roll while their shake timer runs, as in vanilla. A client's copy of an arrow starts the shake when it lands and runs it down each tick. - An allay's lead hangs at 0.6 of its eye height. - Empty buckets scoop bubble columns and come back as water buckets. - Skulls, shulker boxes, bells, lecterns and copper golem statues show the crack overlay while they are being broken. - A tipped arrow stuck for 600 ticks bursts twenty particles in its colour on the clients and turns into a plain arrow on the server. - Worn armour and armour stands draw the leather overlay layer in its own colour. - A mooshroom calf takes either parent's colour, with the rare other colour when both parents match. - /difficulty sends LAN guests the new difficulty. - Forcing the game mode moves online guests to the default mode. Merged with main: the tipped and spectral arrow particles, the synced effect colour, the mooshroom Type save/load and the allay thrown-item pickup advancement are already on main, so this branch no longer carries its own versions of them. ## Vanilla reference - Powder snow fog: PowderedSnowFogEnvironment.setupFog, PowderedSnowFogEnvironment.java - Arrow shake: ArrowRenderer.extractRenderState / ArrowModel.setupAnim, ArrowRenderer.java; AbstractArrow.onSyncedDataUpdated, AbstractArrow.java - Allay lead: Allay.getLeashOffset, Allay.java - Bubble column bucket: BubbleColumnBlock.pickupBlock, BubbleColumnBlock.java - Crack overlay: ChestRenderer.submit, SkullBlockRenderer.submitSkull, ShulkerBoxRenderer.submit, BellRenderer.submit, LecternRenderer.submit, CopperGolemStatueBlockRenderer.submit (submitCrumblingOverlay) - Tipped arrow burst: Arrow.tick, Arrow.handleEntityEvent, Arrow.java - Leather overlay: EquipmentLayerRenderer.renderLayers, EquipmentLayerRenderer.java - Mooshroom calf colour: MushroomCow.getOffspringVariant, MushroomCow.java - /difficulty to guests: MinecraftServer.setDifficulty, MinecraftServer.java - Forced game mode: MinecraftServer.enforceGameTypeForPlayers, MinecraftServer.java; IntegratedServer.updateGameModeBasedOnPermission ## Self-check rustfmt on changed files; built by CI; not run in game. `python3 tools/parity.py arrow` not rerun here: the probe gains a `potion-puff` line only for a tipped arrow stuck for 600 ticks, which the arrow corpus does not contain. Split out of #3926. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:11:47 +07:00
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#5322
No description provided.