[PR #3748] [MERGED] Refresh command block edit screen with server data #5190

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3748
Author: @bunchy7s
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @ludovic111

Base: main ← Head: fix/command-block-screen


📝 Commits (2)

  • 815beda Refresh command block edit screen with server data
  • 5dc59b0 Merge remote-tracking branch 'origin/main' into upd-3748

📊 Changes

4 files changed (+51 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+4 -0)
📝 crates/horizon-client/src/game/command_blocks.rs (+35 -2)
📝 crates/horizon-client/src/game/remote.rs (+9 -0)
📝 crates/horizon-client/src/lan/chunks.rs (+3 -0)

📄 Description

Send the command blocks block-entity data when opening its screen and apply incoming block-entity updates to the open edit screen. This makes the command and output settings match the server instead of a stale client copy, mirroring vanilla's openCommandBlock and handleBlockEntityData behaviour.

What and why

This resolves a bug where the server would forcibly send back a blank state, as seen in https://github.com/horizon-rust/horizon/issues/3614

Vanilla reference

None.

Self-check

Tool ran for 30 minutes, its bugged.

Screenshots

image

🔄 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/3748 **Author:** [@bunchy7s](https://github.com/bunchy7s) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/command-block-screen` --- ### 📝 Commits (2) - [`815beda`](https://github.com/horizon-rust/horizon/commit/815beda680613438082bcec133aff4e3bd4805ce) Refresh command block edit screen with server data - [`5dc59b0`](https://github.com/horizon-rust/horizon/commit/5dc59b0f6a708bcb7e0635f804e7f91202c57262) Merge remote-tracking branch 'origin/main' into upd-3748 ### 📊 Changes **4 files changed** (+51 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+4 -0) 📝 `crates/horizon-client/src/game/command_blocks.rs` (+35 -2) 📝 `crates/horizon-client/src/game/remote.rs` (+9 -0) 📝 `crates/horizon-client/src/lan/chunks.rs` (+3 -0) </details> ### 📄 Description Send the command blocks block-entity data when opening its screen and apply incoming block-entity updates to the open edit screen. This makes the command and output settings match the server instead of a stale client copy, mirroring vanilla's openCommandBlock and handleBlockEntityData behaviour. ## What and why This resolves a bug where the server would forcibly send back a blank state, as seen in https://github.com/horizon-rust/horizon/issues/3614 ## Vanilla reference None. ## Self-check Tool ran for 30 minutes, its bugged. ## Screenshots <img width="120" alt="image" src="https://github.com/user-attachments/assets/0640c4ff-eea1-4f0d-a0cd-def5a0c9797e" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:51 +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#5190
No description provided.