Skip to content

feat: fully implement Player#sendFakeBlock - #3009

Draft
Timongcraft wants to merge 6 commits into
EngineHub:masterfrom
Timongcraft:feat/fully-impl-fake-block
Draft

feat: fully implement Player#sendFakeBlock#3009
Timongcraft wants to merge 6 commits into
EngineHub:masterfrom
Timongcraft:feat/fully-impl-fake-block

Conversation

@Timongcraft

@Timongcraft Timongcraft commented Aug 15, 2026

Copy link
Copy Markdown

Overview

This PR aims to improves the Player#sendFakeBlock implementation to support non structure-blocks (used by the CUI).

Description

Replaces the structure block specific implementation with a generic implementation to allow API users to send fake blocks containing NBT such as player heads, banners etc.

TODO

  • implement other platforms

(tested on fabric dev client)
fix: impl in general -> was missing a setLevel call
 -> using public factory method instead of internal constructor like in core module

tested on spongevanilla-1.21.10-17.0.0 (sponge's stable)
(26.2 and their latest snapshot 26.3 both have issues)
@Timongcraft
Timongcraft force-pushed the feat/fully-impl-fake-block branch from b1822f7 to 3d668ae Compare August 17, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant