[PR #3950] [MERGED] Block parity: candles, levers, redstone ore dust, note block heads, pots, bells, dripstone, hanging signs, vaults #5313

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

📋 Pull Request Information

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

Base: main ← Head: fix/split-blocks


📝 Commits (10+)

  • b82ebb2 Snuff a lit candle cake with an empty hand
  • 50a1911 Play the creaking heart idle sound at night with logs on all sides
  • dd64997 Pick the potted plant instead of an empty flower pot
  • bc3161c Ring a bell hit by a wind charge burst
  • e1c7a29 Pick a decorated pot with its sherds
  • cbf57eb Keep a copper golem statue's pose when it is picked
  • c37cab6 Show vault connection particles for every connected player
  • 2711a4a Break pointed dripstone hit by a fast thrown trident
  • 33f3444 Chain a hanging sign onto a wall hanging sign
  • 296fd3d Break one turtle egg at a time when a survival player mines a stack

📊 Changes

19 files changed (+471 additions, -31 deletions)

View changed files

📝 crates/horizon-client/examples/probe/marker_particles_probe.rs (+1 -0)
📝 crates/horizon-client/src/animate_tick.rs (+40 -0)
📝 crates/horizon-client/src/arrows.rs (+5 -0)
📝 crates/horizon-client/src/game.rs (+114 -0)
📝 crates/horizon-client/src/game/block_items.rs (+52 -4)
📝 crates/horizon-client/src/game/creatures.rs (+11 -5)
📝 crates/horizon-client/src/game/hand.rs (+2 -0)
📝 crates/horizon-client/src/game/lightning.rs (+17 -0)
📝 crates/horizon-client/src/game/remote.rs (+25 -0)
📝 crates/horizon-client/src/game/render_tick.rs (+4 -0)
📝 crates/horizon-client/src/game/sculk.rs (+57 -4)
📝 crates/horizon-client/src/game/trial_visuals.rs (+29 -17)
📝 crates/horizon-client/src/game/wind.rs (+10 -0)
📝 crates/horizon-world/src/level/hooks.rs (+26 -0)
📝 crates/horizon-world/src/level/interact.rs (+46 -0)
📝 crates/horizon-world/src/level/mod.rs (+12 -0)
📝 crates/horizon-world/src/level/place.rs (+8 -0)
📝 crates/horizon-world/src/level/redstone.rs (+10 -1)
📝 tests/test_remote_mining.py (+2 -0)

📄 Description

What and why

  • Snuff a lit candle cake with an empty hand: A right-click with an empty hand on the lit candle of a candle cake did nothing. CandleCakeBlock.useItemOn extinguishes it when the hit is above half a block, with the extinguish sound and a block change event.
  • Play the creaking heart idle sound at night with logs on all sides: A non-uprooted creaking heart with pale oak logs on six sides never made its idle creak; CreakingHeartBlock.animateTick (CreakingHeartBlock.java:65) plays it 1 time in 16 while CREAKING_ACTIVE is on.
  • Pick the potted plant instead of an empty flower pot: Middle-click on a flower pot with a plant gave an empty pot. FlowerPotBlock.getCloneItemStack returns new ItemStack(potted) when the pot is not empty (FlowerPotBlock.java:115).
  • Ring a bell hit by a wind charge burst: A wind charge burst that reached a bell sent a use on its top face, which the bell rejected, so it stayed silent. BellBlock.onExplosionHit calls attemptToRing with no direction, so the bell rings on its facing (BellBlock.java:197).
  • Pick a decorated pot with its sherds: Middle-click on a decorated pot gave an empty pot. DecoratedPotBlock.getCloneItemStack returns createDecoratedPotInstance(decorations), so the sherds come with the pick; the pot's item only comes with include_data (DecoratedPotBlock.java:211).
  • Keep a copper golem statue's pose when it is picked: Middle-click on a statue gave it standing, whatever its pose. CopperGolemStatueBlock.getCloneItemStack sets the block_state component to the pose (CopperGolemStatueBlockEntity.getItem, CopperGolemStatueBlock.java:134).
  • Show vault connection particles for every connected player: Only the local player got the connection particles from a vault, so guests connected to it saw none. VaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers loops over every connected player (VaultBlockEntity.java:172).
  • Break pointed dripstone hit by a fast thrown trident: A thrown trident faster than 0.6 that stuck in pointed dripstone left it standing. SpeleothemBlock.onProjectileHit destroys it, reading the deltaMovement from before the hit (SpeleothemBlock.java:181, AbstractArrow.onHitBlock).
  • Chain a hanging sign onto a wall hanging sign: Right-clicking the side of a wall hanging sign with a hanging sign opened the sign instead of chaining. WallHangingSignBlock.useItemOn passes the use on when the hit is not on the editable faces (WallHangingSignBlock.java:53).
  • Break one turtle egg at a time when a survival player mines a stack: Mining a stack of 2 to 4 turtle eggs removed the whole stack; TurtleEggBlock.playerDestroy (TurtleEggBlock.java:138, decreaseEggs) plays the break and keeps the rest.
  • Break cushions struck by lightning: A bolt's box left cushions intact. Cushion.thunderHit (Cushion.java:138) kills the cushion and drops its item, as break_cushion does.
  • Play the dried ghast place sound when it is put down: Placing a dried ghast was silent. DriedGhastBlock.setPlacedBy (DriedGhastBlock.java:189) plays block.dried_ghast.place, or place_in_water when waterlogged.
  • Keep the light level when a light block is picked: Pick-block on a light gave a level 0 light. LightBlock.getCloneItemStack and setLightOnStack (LightBlock.java:100,104) put the level into the item's block state.
  • Show the red dust burst when a redstone ore is touched: Hitting, stepping on or right-clicking a redstone ore lit it with no particles. RedStoneOreBlock.interact (RedStoneOreBlock.java:61) calls spawnParticles each time, lit or not.
  • Puff red dust when a lever is switched on: Switching a lever on showed no dust puff at the lever. LeverBlock.useWithoutItem (LeverBlock.java:56) calls makeParticle at full scale on the clicking client when the lever ends up powered.
  • Snuff a lit candle with an empty hand: An empty hand on a lit candle did nothing; only arrows lit them. CandleBlock.useItemOn (CandleBlock.java:75) calls AbstractCandleBlock.extinguish: unlit, wick smoke, candle extinguish sound, block_change.
  • Play the head's sound from a note block under a custom head: A note block with a player head on top always clicked, ignoring the head's note sound. NoteBlock.getCustomSoundId (NoteBlock.java:167) takes the sound from the skull above; no skull or sound means silence. Only the level that simulates the block plays it (a LAN host or integrated server); guests and remote clients hear it from the sound packet, which carries the head's own sound name when it is not a registered event.
  • Draw the candle snuff smoke on the clicking client: In single player the server side skips the wick smoke, so the client draws it itself, as CandleBlock.useItemOn does on the client (AbstractCandleBlock.extinguish).

Vanilla reference

Each commit message names the vanilla method and file it follows: CreakingHeartBlock.java:65, FlowerPotBlock.java:115, BellBlock.java:197, DecoratedPotBlock.java:211, CopperGolemStatueBlock.java:134, VaultBlockEntity.java:172, SpeleothemBlock.java:181, WallHangingSignBlock.java:53, TurtleEggBlock.java:138, Cushion.java:138, DriedGhastBlock.java:189, LightBlock.java:100,104, RedStoneOreBlock.java:61, LeverBlock.java:56, CandleBlock.java:75, NoteBlock.java:167

Self-check

Split out of #3926; rustfmt on changed files; built by CI; not run in game; tests/test_remote_mining.py passes with the redstone ore dust stubbed in its fixture.


🔄 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/3950 **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-blocks` --- ### 📝 Commits (10+) - [`b82ebb2`](https://github.com/horizon-rust/horizon/commit/b82ebb2261499b820ea715967ecfa5bc90f6f49f) Snuff a lit candle cake with an empty hand - [`50a1911`](https://github.com/horizon-rust/horizon/commit/50a1911cea491bc3d2fc654d3af6345ace141415) Play the creaking heart idle sound at night with logs on all sides - [`dd64997`](https://github.com/horizon-rust/horizon/commit/dd649971c8a041007c0876e278af4526212e4a99) Pick the potted plant instead of an empty flower pot - [`bc3161c`](https://github.com/horizon-rust/horizon/commit/bc3161c6191f39698c9fd4584a07a2abc68c16fb) Ring a bell hit by a wind charge burst - [`e1c7a29`](https://github.com/horizon-rust/horizon/commit/e1c7a297bc40efff8edafb05337fc0d661de67ac) Pick a decorated pot with its sherds - [`cbf57eb`](https://github.com/horizon-rust/horizon/commit/cbf57eb6eeef5a5bbb66181551f25ad84be92f21) Keep a copper golem statue's pose when it is picked - [`c37cab6`](https://github.com/horizon-rust/horizon/commit/c37cab6b6aafcbf36ef4627406c9ffda4d62eedc) Show vault connection particles for every connected player - [`2711a4a`](https://github.com/horizon-rust/horizon/commit/2711a4a00508ba7bcac917a946bc1961b2c5e92c) Break pointed dripstone hit by a fast thrown trident - [`33f3444`](https://github.com/horizon-rust/horizon/commit/33f3444a498b4295df4dc82a3c7d9d9f16330254) Chain a hanging sign onto a wall hanging sign - [`296fd3d`](https://github.com/horizon-rust/horizon/commit/296fd3d8395eb1c92b5744392a51acd1686533de) Break one turtle egg at a time when a survival player mines a stack ### 📊 Changes **19 files changed** (+471 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/examples/probe/marker_particles_probe.rs` (+1 -0) 📝 `crates/horizon-client/src/animate_tick.rs` (+40 -0) 📝 `crates/horizon-client/src/arrows.rs` (+5 -0) 📝 `crates/horizon-client/src/game.rs` (+114 -0) 📝 `crates/horizon-client/src/game/block_items.rs` (+52 -4) 📝 `crates/horizon-client/src/game/creatures.rs` (+11 -5) 📝 `crates/horizon-client/src/game/hand.rs` (+2 -0) 📝 `crates/horizon-client/src/game/lightning.rs` (+17 -0) 📝 `crates/horizon-client/src/game/remote.rs` (+25 -0) 📝 `crates/horizon-client/src/game/render_tick.rs` (+4 -0) 📝 `crates/horizon-client/src/game/sculk.rs` (+57 -4) 📝 `crates/horizon-client/src/game/trial_visuals.rs` (+29 -17) 📝 `crates/horizon-client/src/game/wind.rs` (+10 -0) 📝 `crates/horizon-world/src/level/hooks.rs` (+26 -0) 📝 `crates/horizon-world/src/level/interact.rs` (+46 -0) 📝 `crates/horizon-world/src/level/mod.rs` (+12 -0) 📝 `crates/horizon-world/src/level/place.rs` (+8 -0) 📝 `crates/horizon-world/src/level/redstone.rs` (+10 -1) 📝 `tests/test_remote_mining.py` (+2 -0) </details> ### 📄 Description ## What and why - Snuff a lit candle cake with an empty hand: A right-click with an empty hand on the lit candle of a candle cake did nothing. CandleCakeBlock.useItemOn extinguishes it when the hit is above half a block, with the extinguish sound and a block change event. - Play the creaking heart idle sound at night with logs on all sides: A non-uprooted creaking heart with pale oak logs on six sides never made its idle creak; CreakingHeartBlock.animateTick (CreakingHeartBlock.java:65) plays it 1 time in 16 while CREAKING_ACTIVE is on. - Pick the potted plant instead of an empty flower pot: Middle-click on a flower pot with a plant gave an empty pot. FlowerPotBlock.getCloneItemStack returns new ItemStack(potted) when the pot is not empty (FlowerPotBlock.java:115). - Ring a bell hit by a wind charge burst: A wind charge burst that reached a bell sent a use on its top face, which the bell rejected, so it stayed silent. BellBlock.onExplosionHit calls attemptToRing with no direction, so the bell rings on its facing (BellBlock.java:197). - Pick a decorated pot with its sherds: Middle-click on a decorated pot gave an empty pot. DecoratedPotBlock.getCloneItemStack returns createDecoratedPotInstance(decorations), so the sherds come with the pick; the pot's item only comes with include_data (DecoratedPotBlock.java:211). - Keep a copper golem statue's pose when it is picked: Middle-click on a statue gave it standing, whatever its pose. CopperGolemStatueBlock.getCloneItemStack sets the block_state component to the pose (CopperGolemStatueBlockEntity.getItem, CopperGolemStatueBlock.java:134). - Show vault connection particles for every connected player: Only the local player got the connection particles from a vault, so guests connected to it saw none. VaultBlockEntity.Client.emitConnectionParticlesForNearbyPlayers loops over every connected player (VaultBlockEntity.java:172). - Break pointed dripstone hit by a fast thrown trident: A thrown trident faster than 0.6 that stuck in pointed dripstone left it standing. SpeleothemBlock.onProjectileHit destroys it, reading the deltaMovement from before the hit (SpeleothemBlock.java:181, AbstractArrow.onHitBlock). - Chain a hanging sign onto a wall hanging sign: Right-clicking the side of a wall hanging sign with a hanging sign opened the sign instead of chaining. WallHangingSignBlock.useItemOn passes the use on when the hit is not on the editable faces (WallHangingSignBlock.java:53). - Break one turtle egg at a time when a survival player mines a stack: Mining a stack of 2 to 4 turtle eggs removed the whole stack; TurtleEggBlock.playerDestroy (TurtleEggBlock.java:138, decreaseEggs) plays the break and keeps the rest. - Break cushions struck by lightning: A bolt's box left cushions intact. Cushion.thunderHit (Cushion.java:138) kills the cushion and drops its item, as break_cushion does. - Play the dried ghast place sound when it is put down: Placing a dried ghast was silent. DriedGhastBlock.setPlacedBy (DriedGhastBlock.java:189) plays block.dried_ghast.place, or place_in_water when waterlogged. - Keep the light level when a light block is picked: Pick-block on a light gave a level 0 light. LightBlock.getCloneItemStack and setLightOnStack (LightBlock.java:100,104) put the level into the item's block state. - Show the red dust burst when a redstone ore is touched: Hitting, stepping on or right-clicking a redstone ore lit it with no particles. RedStoneOreBlock.interact (RedStoneOreBlock.java:61) calls spawnParticles each time, lit or not. - Puff red dust when a lever is switched on: Switching a lever on showed no dust puff at the lever. LeverBlock.useWithoutItem (LeverBlock.java:56) calls makeParticle at full scale on the clicking client when the lever ends up powered. - Snuff a lit candle with an empty hand: An empty hand on a lit candle did nothing; only arrows lit them. CandleBlock.useItemOn (CandleBlock.java:75) calls AbstractCandleBlock.extinguish: unlit, wick smoke, candle extinguish sound, block_change. - Play the head's sound from a note block under a custom head: A note block with a player head on top always clicked, ignoring the head's note sound. NoteBlock.getCustomSoundId (NoteBlock.java:167) takes the sound from the skull above; no skull or sound means silence. Only the level that simulates the block plays it (a LAN host or integrated server); guests and remote clients hear it from the sound packet, which carries the head's own sound name when it is not a registered event. - Draw the candle snuff smoke on the clicking client: In single player the server side skips the wick smoke, so the client draws it itself, as CandleBlock.useItemOn does on the client (AbstractCandleBlock.extinguish). ## Vanilla reference Each commit message names the vanilla method and file it follows: CreakingHeartBlock.java:65, FlowerPotBlock.java:115, BellBlock.java:197, DecoratedPotBlock.java:211, CopperGolemStatueBlock.java:134, VaultBlockEntity.java:172, SpeleothemBlock.java:181, WallHangingSignBlock.java:53, TurtleEggBlock.java:138, Cushion.java:138, DriedGhastBlock.java:189, LightBlock.java:100,104, RedStoneOreBlock.java:61, LeverBlock.java:56, CandleBlock.java:75, NoteBlock.java:167 ## Self-check Split out of #3926; rustfmt on changed files; built by CI; not run in game; tests/test_remote_mining.py passes with the redstone ore dust stubbed in its fixture. --- <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:43 +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#5313
No description provided.