Skip to content

Add EntityLandEvent - #14204

Open
Clexus wants to merge 4 commits into
PaperMC:mainfrom
Clexus:land
Open

Add EntityLandEvent#14204
Clexus wants to merge 4 commits into
PaperMC:mainfrom
Clexus:land

Conversation

@Clexus

@Clexus Clexus commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

This event is called when an entity lands on the block no matter the falling distance, useful for landing detection
image

@Clexus
Clexus requested a review from a team as a code owner August 21, 2026 14:49
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Aug 21, 2026
@electronicboy

Copy link
Copy Markdown
Member

I would generally rather we modify the method signature (i.e. move the current onFall to a new method with the new param and leave the older signature to call the new method) with a callEvent boolean rather than hardcoding this sort of thing, more verbose but not fond of having a hardcoded list of avoidance states as that just tends to be missed

@Clexus

Clexus commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

I would generally rather we modify the method signature (i.e. move the current onFall to a new method with the new param and leave the older signature to call the new method) with a callEvent boolean rather than hardcoding this sort of thing, more verbose but not fond of having a hardcoded list of avoidance states as that just tends to be missed

should be better now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

3 participants