Skip to content

Improve LootContext API#7655

Closed
Machine-Maker wants to merge 1 commit into
PaperMC:masterfrom
Machine-Maker:feature/better-lootcontext-api
Closed

Improve LootContext API#7655
Machine-Maker wants to merge 1 commit into
PaperMC:masterfrom
Machine-Maker:feature/better-lootcontext-api

Conversation

@Machine-Maker
Copy link
Copy Markdown
Member

@Machine-Maker Machine-Maker commented Mar 23, 2022

Should be compatible with legacy LootContexts too. upstream has some jank logic to try and fill nms contexts with just the few fields on the api LootContext.

Fixes #9684

- [x] DamageSource API (either from us or upstream)
- [ ] https://github.com/PaperMC/Paper/pull/7639

@Machine-Maker Machine-Maker added for: future Issue scheduled for resolution at some point in the future. status: blocked Issue or Request is waiting on some other issue or change. labels Mar 23, 2022
@Machine-Maker Machine-Maker force-pushed the feature/better-lootcontext-api branch from afa7d3c to d8dda14 Compare July 26, 2022 17:09
@Machine-Maker Machine-Maker force-pushed the feature/better-lootcontext-api branch from d8dda14 to d42280f Compare April 1, 2023 02:00
@Machine-Maker Machine-Maker removed the for: future Issue scheduled for resolution at some point in the future. label Apr 1, 2023
@Machine-Maker Machine-Maker marked this pull request as ready for review April 1, 2023 02:01
@Machine-Maker Machine-Maker requested a review from a team as a code owner April 1, 2023 02:01
@Machine-Maker
Copy link
Copy Markdown
Member Author

This is just waiting on the damage source API, and then will be complete.

@Machine-Maker Machine-Maker force-pushed the feature/better-lootcontext-api branch from d42280f to a16d6b6 Compare December 30, 2023 07:45
@Machine-Maker
Copy link
Copy Markdown
Member Author

Rebased for 1.20.4, still blocked for damage source API

@ghost
Copy link
Copy Markdown

ghost commented Feb 11, 2024

Rebased for 1.20.4, still blocked for damage source API

CraftBukkit added new DamageSource API (https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/be72314ca31c7628c9a4cf0cba695b2d7c1cee47)

@Machine-Maker Machine-Maker force-pushed the feature/better-lootcontext-api branch from a16d6b6 to 82701e1 Compare February 11, 2024 21:56
@Machine-Maker Machine-Maker removed the status: blocked Issue or Request is waiting on some other issue or change. label Feb 11, 2024
@Machine-Maker
Copy link
Copy Markdown
Member Author

DamageSource API is now in Paper, so this PR is good to go.

@Machine-Maker Machine-Maker force-pushed the feature/better-lootcontext-api branch from 4fd115f to ff6babe Compare September 10, 2024 02:37
@ArubikU
Copy link
Copy Markdown

ArubikU commented Oct 2, 2024

up

@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
@Machine-Maker Machine-Maker removed the pre-softspoon: never rebased Pre-hardfork pull requests that were not re-opened with the new main branch label Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

LootTable#populateLoot Missing required parameters

5 participants