[PR #2516] [MERGED] Wet sponges drip water and suspicious sand and gravel shed dust #4386

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2516
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/block-ambient-sponge-brushable


📝 Commits (1)

  • 861e727 Drip water from wet sponges and dust from suspicious sand and gravel

📊 Changes

1 file changed (+36 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/animate_tick.rs (+36 -0)

📄 Description

What and why

Two blocks had an animateTick in vanilla but showed nothing in Horizon.

  • Wet sponge: picks a random direction each tick (never up). If the neighbour in that direction does not have a solid face, it drips water at the matching spot on the bottom or one of the four sides.
  • Suspicious sand and gravel: 1 in 16 per tick, with nothing solid below, they shed falling dust. These blocks are not falling blocks, so the dust uses the block's map colour (sand 0xF7E9A3, stone 0x707070).

Honey drips, falling dust for anvils and concrete powder, azalea and poplar leaves are in #2419, and the lever, repeater, lightning rod, wither rose and End gateway arms are in #2124, so they are not touched here.

Vanilla reference

  • WetSpongeBlock.animateTick
  • BrushableBlock.animateTick, FallingBlock.isFree
  • FallingDustParticle.Provider (map colour for non-FallingBlock blocks)
  • Blocks (SUSPICIOUS_SAND, SUSPICIOUS_GRAVEL map colours)

The solid-face check uses the same full-collision approximation as the rest of animate_tick.rs.

Self-check

cargo check -p horizon-client passes.


🔄 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/2516 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/block-ambient-sponge-brushable` --- ### 📝 Commits (1) - [`861e727`](https://github.com/horizon-rust/horizon/commit/861e7279e09e40073b2c0191f995299e3626ae5f) Drip water from wet sponges and dust from suspicious sand and gravel ### 📊 Changes **1 file changed** (+36 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/animate_tick.rs` (+36 -0) </details> ### 📄 Description ## What and why Two blocks had an `animateTick` in vanilla but showed nothing in Horizon. - **Wet sponge**: picks a random direction each tick (never up). If the neighbour in that direction does not have a solid face, it drips water at the matching spot on the bottom or one of the four sides. - **Suspicious sand and gravel**: 1 in 16 per tick, with nothing solid below, they shed falling dust. These blocks are not falling blocks, so the dust uses the block's map colour (sand `0xF7E9A3`, stone `0x707070`). Honey drips, falling dust for anvils and concrete powder, azalea and poplar leaves are in #2419, and the lever, repeater, lightning rod, wither rose and End gateway arms are in #2124, so they are not touched here. ## Vanilla reference - `WetSpongeBlock.animateTick` - `BrushableBlock.animateTick`, `FallingBlock.isFree` - `FallingDustParticle.Provider` (map colour for non-`FallingBlock` blocks) - `Blocks` (`SUSPICIOUS_SAND`, `SUSPICIOUS_GRAVEL` map colours) The solid-face check uses the same full-collision approximation as the rest of `animate_tick.rs`. ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:16: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#4386
No description provided.