Skip to content

Backpacks spec #1

Description

@ms5984

Backpacks

  • Integrate with Accessories plugin (assign items the Backpack accessory category, if possible)
    • can have an associated cosmetic (per backpack)
  • open by
    • right-clicking a backpack item while it's in your inventory
    • holding the backpack item in your main hand and right-clicking
  • toggleable item collection
    • Backpacks can pickup items automatically
    • Some backpacks (not all) will have this feature
    • To activate this feature the backpack must be active in an accessory slot (fill left to right, i guess)
  • API
    • create(): Make a new empty backpack
    • loadFromItem(ItemStack): Read data from an item to reconstruct its contents
  • Commands
    • /backpacks give [player] (defaults to self)
  • Limits
    • cannot be placed inside another backpack
  • Features
    • Players can add rows to their backpacks
    • Toggle item collecting feature (if available) via gui
    • Pagination

Out of scope

  • can edit the backpack item
    • display name
    • material
    • lore
    • custom model data

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions