Skip to content

Per mob mob_griefing loot pickup override#1740

Merged
granny merged 2 commits intoPurpurMC:ver/1.21.11from
Peashooter101:ver/1.21.11_allay-grief-override
Jan 4, 2026
Merged

Per mob mob_griefing loot pickup override#1740
granny merged 2 commits intoPurpurMC:ver/1.21.11from
Peashooter101:ver/1.21.11_allay-grief-override

Conversation

@Peashooter101
Copy link
Contributor

@Peashooter101 Peashooter101 commented Dec 14, 2025

Resolves #1739 which asks for more granular control of mob_griefing loot pickup overrides.

There were some mob griefing overrides that already existed for some mobs such as the piglin.

  • If mob griefing overrides existed for a mob already, we convert that setting to the new one. For example, mobs.piglin.mob-griefing-override becomes mobs.piglin.can-pick-up-loot.
  • All other mobs without a pre-existing mob_griefing setting that only handles item pickup pull from gameplay-mechanics.entities-pick-up-loot-mob-griefing-override and convert it to mobs.<mob>.can-pick-up-loot.

Post Code Review Tasks

  • Update documentation

Copy link
Member

@granny granny left a comment

Choose a reason for hiding this comment

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

LGTM :) Will be merged once it's documented in PurpurDocs!

@granny granny added the needs-docs A pull request to PurpurDocs is required before merge label Dec 18, 2025
@Peashooter101
Copy link
Contributor Author

@granny granny removed the needs-docs A pull request to PurpurDocs is required before merge label Jan 4, 2026
@granny
Copy link
Member

granny commented Jan 4, 2026

Will merge after the next time I upstream Paper :)

@granny granny merged commit 5b4cbcc into PurpurMC:ver/1.21.11 Jan 4, 2026
1 check passed
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.

2 participants