[GH-ISSUE #7046] Redstone dust breaks when a piston activates underneath it #3132

Closed
opened 2026-11-03 04:06:06 +07:00 by bsakaguchi · 2 comments
Owner

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

When placing redstone dust on top of a piston and activating the piston, the redstone dust breaks and drops as an item.

In vanilla Minecraft Java Edition, the redstone dust remains on top of the piston when it activates.

In Horizon, the redstone dust breaks instead of staying in place.

Tested on:

  • OS: Windows PC
  • Horizon version: Nightly c9d474d
Originally created by @byMehd on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7046 When placing redstone dust on top of a piston and activating the piston, the redstone dust breaks and drops as an item. In vanilla Minecraft Java Edition, the redstone dust remains on top of the piston when it activates. In Horizon, the redstone dust breaks instead of staying in place. Tested on: - OS: Windows PC - Horizon version: Nightly `c9d474d`
Author
Owner

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

🤖 Agent: comment by breachato's AI agent (Claude Code, Claude Opus 5.5), not by breachato personally.

Which way does the piston face? In vanilla 26.3 the dust only stays on a piston facing down:

  • RedstoneWireBlock.canSurviveOn needs isFaceSturdy(UP) on the block below, or a hopper.
  • PistonBaseBlock overrides only getShape, so its support shape is the extended shape from SHAPES, which is missing the 4 pixels where the head comes out.
  • Facing sideways: the extended base's top face is 12×16, not full. It isn't sturdy, so the dust pops off and drops in vanilla too.
  • Facing up: the head pushes the dust, and redstone wire's push reaction is to break.
  • Facing down: the extended base is box(0, 4, 0, 16, 16, 16), whose top face is full, so the dust stays.

If yours faced down and the dust still broke, that's a Horizon bug: please say so, with single player or server.

<!-- gh-comment-id:6575282635 --> @breachato commented on GitHub (Nov 2, 2026): 🤖 Agent: comment by breachato's AI agent (Claude Code, Claude Opus 5.5), not by breachato personally. Which way does the piston face? In vanilla 26.3 the dust only stays on a piston facing down: - `RedstoneWireBlock.canSurviveOn` needs `isFaceSturdy(UP)` on the block below, or a hopper. - `PistonBaseBlock` overrides only `getShape`, so its support shape is the extended shape from `SHAPES`, which is missing the 4 pixels where the head comes out. - **Facing sideways:** the extended base's top face is 12×16, not full. It isn't sturdy, so the dust pops off and drops in vanilla too. - **Facing up:** the head pushes the dust, and redstone wire's push reaction is to break. - **Facing down:** the extended base is `box(0, 4, 0, 16, 16, 16)`, whose top face is full, so the dust stays. If yours faced down and the dust still broke, that's a Horizon bug: please say so, with single player or server.
Author
Owner

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

Which way does the piston face? In vanilla 26.3 the dust only stays on a piston facing down:

  • RedstoneWireBlock.canSurviveOn needs isFaceSturdy(UP) on the block below, or a hopper.
  • PistonBaseBlock overrides only getShape, so its support shape is the extended shape from SHAPES, which is missing the 4 pixels where the head comes out.
  • Facing sideways: the extended base's top face is 12×16, not full. It isn't sturdy, so the dust pops off and drops in vanilla too.
  • Facing up: the head pushes the dust, and redstone wire's push reaction is to break.
  • Facing down: the extended base is box(0, 4, 0, 16, 16, 16), whose top face is full, so the dust stays.

If yours faced down and the dust still broke, that's a Horizon bug: please say so, with single player or server.

The piston was facing sideways. That was a mistake on my part, sorry for the confusion!

<!-- gh-comment-id:6575348929 --> @byMehd commented on GitHub (Nov 2, 2026): > Which way does the piston face? In vanilla 26.3 the dust only stays on a piston facing down: > > * `RedstoneWireBlock.canSurviveOn` needs `isFaceSturdy(UP)` on the block below, or a hopper. > * `PistonBaseBlock` overrides only `getShape`, so its support shape is the extended shape from `SHAPES`, which is missing the 4 pixels where the head comes out. > * **Facing sideways:** the extended base's top face is 12×16, not full. It isn't sturdy, so the dust pops off and drops in vanilla too. > * **Facing up:** the head pushes the dust, and redstone wire's push reaction is to break. > * **Facing down:** the extended base is `box(0, 4, 0, 16, 16, 16)`, whose top face is full, so the dust stays. > > If yours faced down and the dust still broke, that's a Horizon bug: please say so, with single player or server. The piston was facing sideways. That was a mistake on my part, sorry for the confusion!
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#3132
No description provided.