Integration with ender backpacks as a "team backpack" #93
-
|
Hi! I'm working on Yet Another Minecraft BINGO and have had a request for "team backpack" behavior - and while I think fully implementing my own backpacks is a little out of scope, I would like to make this possible with other mods (such as this one!). I've taken a look around this mod, and while it seems feasible to achieve the desired behavior, it might involve a few changes - so I wanted to get your thoughts on it first.
Let me know if this makes sense! I'd be happy to help contribute this in a PR if I get the time :D |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Sorry I missed this! Team Backpacks would be a cool implementation and I could see how it could work in the current implementation. Also this is my first mod and I'm glad to say it's feature complete. I've been going through all my code and bringing all of it up to the same quality and my server saving implementation is next. First to clear some things up, ownership never changes unless a player trims someone else's backpack OR on death if
|
Beta Was this translation helpful? Give feedback.
-
|
Version 20.1-0.22-v2 has the exposed methods you needed. I'm using Forge's naming structure so I hope I'm not speaking a foreign language but this website is effing amazing if you need help translating Yarn class names to Forge class names or vice versa.
|
Beta Was this translation helpful? Give feedback.
Version 20.1-0.22-v2 has the exposed methods you needed. I'm using Forge's naming structure so I hope I'm not speaking a foreign language but this website is effing amazing if you need help translating Yarn class names to Forge class names or vice versa.
updateEnderEntryThis creates a new entry with the uuid or if an entry already exists it'll override it's display name and trim if either are present, if it gets an
Optional.emptythen it won't change it.I gave you access to the name as a component so you could make it translatable and format it how you'd like. The name appears every time you look at a placed backpack so I didn't want to limit how you could make it look.
The trims are fo…