Skip to content

Added PlayerAngerPiglinByInteractionEvent#5004

Closed
Machine-Maker wants to merge 1 commit into
PaperMC:masterfrom
Machine-Maker:feature/PlayerInteractAngerPiglinEvent
Closed

Added PlayerAngerPiglinByInteractionEvent#5004
Machine-Maker wants to merge 1 commit into
PaperMC:masterfrom
Machine-Maker:feature/PlayerInteractAngerPiglinEvent

Conversation

@Machine-Maker
Copy link
Copy Markdown
Member

Closes #4828

@Machine-Maker Machine-Maker requested a review from a team as a code owner January 5, 2021 07:54
@MiniDigger
Copy link
Copy Markdown
Member

I think I would remove "Interact" from the name, PlayerAngerPiglin(s?)Event sounds better

@Machine-Maker
Copy link
Copy Markdown
Member Author

@MiniDigger I originally had it named exactly that, but theres more than 1 way to anger piglins. So I wanted this event to be specific to angering by interacting with/destroying specific blocks.

@MiniDigger
Copy link
Copy Markdown
Member

can we make this event cover all anger reasons? :D

@Machine-Maker
Copy link
Copy Markdown
Member Author

I think that's already covered by other events?

@aurorasmiles aurorasmiles added status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: feature Request for a new Feature. labels Jan 31, 2021
@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from 3bbe48a to eb7fb18 Compare March 22, 2021 03:09
@Machine-Maker
Copy link
Copy Markdown
Member Author

Rebased after the NMS repackage

Comment thread Spigot-Server-Patches/0696-Added-PlayerInteractAngerPiglinEvent.patch Outdated
@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from eb7fb18 to 4dcc46c Compare April 25, 2021 18:55
@Machine-Maker Machine-Maker requested a review from a team as a code owner April 25, 2021 18:55
@Machine-Maker Machine-Maker requested a review from kennytv April 25, 2021 18:55
Comment thread Spigot-API-Patches/0291-Added-PlayerInteractAngerPiglinEvent.patch Outdated
@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from 4dcc46c to 4dcab1a Compare April 29, 2021 19:36
@Machine-Maker Machine-Maker changed the title Added PlayerInteractAngerPiglinEvent Added PlayerAngerPiglinByInteractionEvent May 1, 2021
@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from 4dcab1a to 88a5486 Compare May 24, 2021 18:38
@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from 88a5486 to 13ed04e Compare July 9, 2021 05:46
@Machine-Maker
Copy link
Copy Markdown
Member Author

Rebased for 1.17.1

Comment thread patches/api/0322-Added-PlayerAngerPiglinByInteractionEvent.patch
Comment thread patches/api/0322-Added-PlayerAngerPiglinByInteractionEvent.patch
@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from 13ed04e to 725f408 Compare July 10, 2021 01:23
@Machine-Maker Machine-Maker requested a review from jpenilla July 10, 2021 01:23
@Machine-Maker Machine-Maker mentioned this pull request Jul 12, 2021
2 tasks
Comment thread patches/server/0726-Added-PlayerAngerPiglinByInteractionEvent.patch Outdated
Comment thread patches/server/0726-Added-PlayerAngerPiglinByInteractionEvent.patch Outdated
Comment thread patches/api/0323-Added-PlayerAngerPiglinByInteractionEvent.patch Outdated
@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from 725f408 to 368b19d Compare August 9, 2021 21:37
@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from 368b19d to 94d0a4e Compare November 10, 2021 17:31
Copy link
Copy Markdown
Member

@Owen1212055 Owen1212055 left a comment

Choose a reason for hiding this comment

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

look good,
although some of the names of the methods in the event could use some work.
isOpenBlock

+ *
+ * @return true if open a block, false if breaking a block
+ */
+ public boolean isOpenBlock() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The method name sounds like the block is already open

@Machine-Maker Machine-Maker force-pushed the feature/PlayerInteractAngerPiglinEvent branch from 94d0a4e to deba453 Compare December 28, 2022 21:29
@lynxplay lynxplay force-pushed the feature/PlayerInteractAngerPiglinEvent branch from deba453 to cc79115 Compare August 12, 2023 17:33
@Q2297045667
Copy link
Copy Markdown

Wow, the pull from 4 years ago, I think we can delete some outdated pulls

@Warriorrrr Warriorrrr moved this from Awaiting review to Waiting For Author in Paper PR Queue Mar 5, 2025
@kennytv kennytv added the pre-softspoon: never rebased Pre-hardfork pull requests that were not re-opened with the new main branch label Mar 23, 2025
@kennytv kennytv deleted the branch PaperMC:master March 23, 2025 19:15
@kennytv kennytv closed this Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pre-softspoon: never rebased Pre-hardfork pull requests that were not re-opened with the new main branch pre-softspoon status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: feature Request for a new Feature.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Piglin chest open check

10 participants