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

Goat Support #7479

Open
wants to merge 13 commits into
base: dev/feature
Choose a base branch
from

Conversation

TheAbsolutionism
Copy link
Contributor

Description

This PR aims to add additional support for Goats:

  • Change which horns a goat has and a condition to match
  • Make goats and endermen (Paper) scream and a condition to match
  • Make goats ram an entity (Paper)

Changing the horns of a goat takes a tick thus leading to no test.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

Copy link
Contributor

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

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

Looks good, just a few ideas about the patterns.

@Efnilite Efnilite added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Jan 20, 2025
Copy link
Contributor

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

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

Looks good, just a few minor nit picks.
Also, I'm assuming no test for ram, as that'd be hard to do, but is there a reason there is no horn test?

@TheAbsolutionism
Copy link
Contributor Author

@Efnilite Can you share some info on why this isn't working? Doing what you said to do.

@TheAbsolutionism
Copy link
Contributor Author

Since it seems that the JUnit testing environment doesn't support tests that require tick(s) as well. I have commented out the ensure ... within the goat horns test. I don't think this PR should be on halt until if and when the JUnit testing environment does get fixed allowing the test to successfully pass. But if and when it does get fixed, all that is needed to be done would be to uncomment the one line and the test would be good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants