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

Account for backpack item in curios slot #728

Open
wants to merge 6 commits into
base: 1.21.1
Choose a base branch
from

Conversation

Nik77x
Copy link

@Nik77x Nik77x commented Jan 31, 2025

In my previous PR the code I used to get the backpack item returned nothing when it was placed in the curios slot. This because sophisticated backpacks did some custom rendering things that are not needed to render it on the dragon.
This PR replaces that code, this time it checks just the curios back slot (if curios is loaded) and the chest slot.

@seelderr
Copy link
Collaborator

Does this code also respect toggling the visibility of the item off in curios?

@Nik77x
Copy link
Author

Nik77x commented Jan 31, 2025

Yes it does!

If it's not visible it skips the slot.

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.

2 participants