Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loot Table API #54

Closed
wants to merge 12 commits into from
Closed

Loot Table API #54

wants to merge 12 commits into from

Conversation

IotaBread
Copy link
Member

A port of Fabric's Loot table API with a few name changes to match current Minecraft code

@LambdAurora LambdAurora added enhancement New feature or request library: data Related to the data library. new: module A pull request which adds a new module test labels Nov 27, 2021
@LambdAurora LambdAurora requested a review from a team November 27, 2021 09:09
Add javadoc for QuiltLootPoolBuilder and QuiltLootTableBuilder, use a context object in LootTableLoadingCallback, fix checkstyle errors
…/event/LootTableLoadingCallback.java

Co-authored-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
Copy link
Contributor

@Juuxel Juuxel left a comment

Choose a reason for hiding this comment

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

Here's a hopefully helpful review. I see that this API has inherited some of my design mistakes from Fabric's loot API, so I encourage looking at the v2 API here for a much better design: https://github.com/Juuxel/fabric/tree/c72ff1311e686e412691d4344b99bf5677c44bcf

I've detailed the specifics in the comments, but just copy-pasting Fabric's loot API a) includes stuff that Mojang has since exposed and b) misses some stuff added later like bonusRolls.

@IotaBread
Copy link
Member Author

Thanks for the suggestions, I have updated the pr according to them

Copy link
Contributor

@Juuxel Juuxel left a comment

Choose a reason for hiding this comment

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

Looks really nice now, just some minor comments

@TheGlitch76 TheGlitch76 mentioned this pull request Dec 4, 2021
4 tasks
@LambdAurora LambdAurora added this to the Initial release milestone Dec 6, 2021
Co-authored-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
@LambdAurora LambdAurora added the s: outdated This pull request is outdated. label May 20, 2022
@TheGlitch76
Copy link
Member

Hi--this PR seems to be unmaintained right now. I'm converting it to a draft to signify that it's not in a mergable state.

Feel free to mark it as ready for review once you begin working on this again.

@TheGlitch76 TheGlitch76 marked this pull request as draft August 22, 2022 22:19
@EnnuiL
Copy link
Contributor

EnnuiL commented Aug 23, 2022

Due to inactivity and plus the fact that this port of Fabric Loot Tables API v1 would have been made obsolete by the new Fabric Loot API v2 (and plus, direct ports are to be discouraged unless there's a reason for them), I'm closing this PR so it can be succeeded by another one

@EnnuiL EnnuiL closed this Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request library: data Related to the data library. new: module A pull request which adds a new module s: outdated This pull request is outdated.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants