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

Piglin Trader Progression line #16

Merged
merged 10 commits into from Jun 17, 2022
Merged

Piglin Trader Progression line #16

merged 10 commits into from Jun 17, 2022

Conversation

Sefiraat
Copy link
Owner

@Sefiraat Sefiraat commented Jun 16, 2022

This PR is to add the Wandering Piglin and the progression mechanics around it:

  • Adding Netheo Pastes crafted by in-world crushing recipes
  • Adding Netheo Balls by in-world mixing recipe
  • Adding flavour profile system
  • Spawning the Piglin with striders
  • Adding Trades

@Sefiraat Sefiraat requested a review from J3fftw1 June 16, 2022 21:15
Copy link
Collaborator

@J3fftw1 J3fftw1 left a comment

Choose a reason for hiding this comment

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

Small inconsistencies but looks good otherwis.
Really cool feature

// Get the itemstack then add the flavour volume to the PDC, line to the lore
final ItemStack stack = ball.getSlimefunItemStack().clone();
final ItemMeta itemMeta = stack.getItemMeta();
final List<String> lore = itemMeta.getLore();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Have you tested spamming this since we know lore checks are extremely heavy

Copy link
Owner Author

Choose a reason for hiding this comment

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

We can do some performance checks, but as it's manual use only, I can allow a higher overhead

Copy link
Collaborator

@J3fftw1 J3fftw1 left a comment

Choose a reason for hiding this comment

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

LGTM

@J3fftw1 J3fftw1 marked this pull request as ready for review June 17, 2022 11:36
@Sefiraat Sefiraat requested a review from J3fftw1 June 17, 2022 12:11
@Sefiraat Sefiraat requested a review from J3fftw1 June 17, 2022 13:11
@Sefiraat Sefiraat merged commit eddcfe4 into master Jun 17, 2022
@Sefiraat Sefiraat deleted the feature/wandering_piglin branch June 17, 2022 20:30
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.

None yet

2 participants