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

Item display as pet entites #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ErikSzabo
Copy link

Added config option to use item displays as pet entities,
It is way smoother, it doesn't have display name bugs, and way better for performance.
It also doesn't have any hitbox unlike the armor stands. Your current armor stand implementation blocks melee hits and projectiles if you hit the head of the armor stand.

Another small fix is the invisibility effect bug. Now the pet gets correctly removed when the player becomes invisible.

Bumped the API version to 1.20.4 (from 1.19.3) to have access to all item display APIs but it should properly work in older versions if the item displays are disabled in config (which is disabled by default).

@ErikSzabo
Copy link
Author

teleportDuration on ItemDisplay is available from 1.20.2, meaning everyone above 1.20.2 could use the item displays for pets instead of armor stands.

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.

1 participant