Skip to content

Add EntityConstructEvent#13907

Open
JustAHuman-xD wants to merge 5 commits into
PaperMC:mainfrom
JustAHuman-xD:feat/golem-construct-event
Open

Add EntityConstructEvent#13907
JustAHuman-xD wants to merge 5 commits into
PaperMC:mainfrom
JustAHuman-xD:feat/golem-construct-event

Conversation

@JustAHuman-xD
Copy link
Copy Markdown
Contributor

@JustAHuman-xD JustAHuman-xD commented May 23, 2026

There are currently no events that supply the blocks used in the creation of a golem (or other similar entities, i.e. wither) which can be incredibly annoying to detect manually, the aim of this PR is to solve that by introducing an event exposing the blocks before a golem is spawned in.

@JustAHuman-xD JustAHuman-xD requested a review from a team as a code owner May 23, 2026 17:30
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue May 23, 2026
Copy link
Copy Markdown
Contributor

@Lulu13022002 Lulu13022002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could easily be expanded to the wither if you don't mind having a slightly more generic EntityConstructEvent.

@JustAHuman-xD
Copy link
Copy Markdown
Contributor Author

Could easily be expanded to the wither if you don't mind having a slightly more generic EntityConstructEvent.

oh good point ill do that

@JustAHuman-xD JustAHuman-xD force-pushed the feat/golem-construct-event branch from d2045a2 to fe20e5a Compare June 5, 2026 06:50
@JustAHuman-xD JustAHuman-xD changed the title Add GolemConstructEvent Add EntityConstructEvent Jun 5, 2026
@JustAHuman-xD
Copy link
Copy Markdown
Contributor Author

Could easily be expanded to the wither if you don't mind having a slightly more generic EntityConstructEvent.

done & updated this branch to main again

Comment thread paper-api/src/main/java/io/papermc/paper/event/entity/EntityConstructEvent.java Outdated
Comment thread paper-api/src/main/java/io/papermc/paper/event/entity/EntityConstructEvent.java Outdated
Comment thread paper-api/src/main/java/io/papermc/paper/event/entity/EntityConstructEvent.java Outdated
JustAHuman-xD and others added 2 commits June 5, 2026 11:06
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
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