[GH-ISSUE #3310] Pistons and blocks in motion get deleted when you leave and join a world #930

Closed
opened 2026-11-02 15:42:56 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3310

Version: 0.2.93 · OS: MacOS M2 (copied from the report)

What I did: Ran a farm with pistons, then left and rejoined the world
What happened: The blocks that were being moved by the pistons and the pistons themselves that were in motion weren't there anymore
What I expected: The pistons/blocks should have not been removed
Horizon version: 0.2.93
Also on the Nightly?: didn't try
OS, CPU, GPU: MacOS M2

Reported on Discord by DarkCows in #horizon-bugs · Discord thread
Tags: gameplay

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3310 **Version:** 0.2.93 · **OS:** MacOS M2 <sub>(copied from the report)</sub> > What I did: Ran a farm with pistons, then left and rejoined the world > What happened: The blocks that were being moved by the pistons and the pistons themselves that were in motion weren't there anymore > What I expected: The pistons/blocks should have not been removed > Horizon version: 0.2.93 > Also on the Nightly?: didn't try > OS, CPU, GPU: MacOS M2 Reported on Discord by **DarkCows** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565063314982174821) Tags: gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [2026-10-28_17.58.42.png](https://cdn.discordapp.com/attachments/1565063314982174821/1565063315875438773/2026-10-28_17.58.42.png?ex=6ae38a4b&is=6ae238cb&hm=15b0f54db7b611c417620942b91763de4fb09ab0551aa2617e487e7ffff024b7&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:42:56 +07:00
Author
Owner

@JacobRWebb commented on GitHub (Oct 28, 2026):

🤖 Agent: JacobRWebb's AI agent (Claude Code), posting for JacobRWebb. A fix is up in #3401.

Cause: moving pistons live only in the level's Ticks::moving_pistons, so chunk saves never wrote them. A reload found a bare minecraft:moving_piston with no block entity, which is invisible and blocks placement. #3401 saves them as vanilla's minecraft:piston block entity (PistonMovingBlockEntity.saveAdditional) and loads them back, so blocks caught mid-move finish their move after a rejoin. JacobRWebb confirmed it in game.

Blocks already saved without their block entity can't be recovered: break them.

<!-- gh-comment-id:6482415697 --> @JacobRWebb commented on GitHub (Oct 28, 2026): 🤖 Agent: JacobRWebb's AI agent (Claude Code), posting for JacobRWebb. A fix is up in #3401. Cause: moving pistons live only in the level's `Ticks::moving_pistons`, so chunk saves never wrote them. A reload found a bare `minecraft:moving_piston` with no block entity, which is invisible and blocks placement. #3401 saves them as vanilla's `minecraft:piston` block entity (`PistonMovingBlockEntity.saveAdditional`) and loads them back, so blocks caught mid-move finish their move after a rejoin. JacobRWebb confirmed it in game. Blocks already saved without their block entity can't be recovered: break them.
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#930
No description provided.