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

Allow items to own backpacks #30

Open
7 tasks
GeorgH93 opened this issue Apr 30, 2019 · 0 comments
Open
7 tasks

Allow items to own backpacks #30

GeorgH93 opened this issue Apr 30, 2019 · 0 comments

Comments

@GeorgH93
Copy link
Owner

GeorgH93 commented Apr 30, 2019

Description:

Items should be able to hold backpacks. The item would store the size of the backpack as well as it's content. It should be possible to open the backpack by right-clicking while holding the item.

Implementation:

  • Config option
  • Item data storage
    • Size
    • Content
    • Name
  • Open mechanisms
  • Custom Texture (Optional)

Possible problems:

Losing the item would result in unusable entry's in the database causing unnecessary load on the db server. Also caching of the inventories of the items would be problematic (caching all of them would waste lots of memory while not caching them would increase the time they will take to open.

It probably would make sense to implement them similar to shulkerboxes (attach the content as an nbt tag to the item) to solve the aforementioned problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant