Skip to content

Support BlockTransform Component - #14239

Open
Doc94 wants to merge 250 commits into
PaperMC:dev/26.3from
Doc94:feature/dev-26.3-block-transformer
Open

Doc94 wants to merge 250 commits into
PaperMC:dev/26.3from
Doc94:feature/dev-26.3-block-transformer

Conversation

@Doc94

@Doc94 Doc94 commented Sep 9, 2026

Copy link
Copy Markdown
Member

This PR its just for track a try to implement this...

Example code: https://gist.github.com/Doc94/cb18c2f9522a8f09f0be6faf968fe6b4

lynxplay and others added 30 commits August 7, 2026 17:18
This one was just one line but...
5
The end island density function caching is *kinda* implemented by mojang
using cache2d. That seems usuable enough for generation as it caches the
last output of the density function call, which should be a hit in most
cases when generating a chunk given that happens one chunk at a time.
This need check later for the status
The changes were to avoid running an event, but 26.3 now does not use the method where that event is called
Mojang now handles all the conversions here, so this class need methods for the spawn logic and events
@Doc94
Doc94 force-pushed the feature/dev-26.3-block-transformer branch from 7bb76ff to 2630bbf Compare September 11, 2026 21:14
@Doc94
Doc94 force-pushed the feature/dev-26.3-block-transformer branch from f3be132 to 52a88e9 Compare September 11, 2026 21:33
lynxplay and others added 21 commits September 12, 2026 12:28
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Previously paper would simply no-op any block break action outside of
the player interaction range.

Vanilla now aborts sent and stored block break actions on these far
range block break packets.
To partially adopt this change, this commit now only prevents vanilla
logic for block break packets sent for blocks further away than the
range at which vanilla would sent players the particle and block break
process packets, 32 blocks.
When an event cancels an entities conversion, resetting the conversion
time is the correct action as the entity should not be restored to
before their affliction time. The tick logic will optionally pick up
that the entity is no longer afflicted after the event cancel and flip
the conversion flag.
@Doc94
Doc94 force-pushed the feature/dev-26.3-block-transformer branch from 52a88e9 to c92289d Compare September 13, 2026 15:06
@kennytv
kennytv force-pushed the dev/26.3 branch 2 times, most recently from ee40ea4 to 2307f8f Compare September 15, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev/next Changes related to the snapshot / next branch

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

9 participants