enjarai/ProjectV

Variant Item Stacks Progress

Opened this issue · 1 comments

"Variant Item" ItemStack Stacking

  • VariantItems with the same "original" item can stack
  • VariantItemStacks are persistent
  • Dropping a single item of a VariantItemStack only drops an ItemStack version of the current main item
    • If the main item count is 0, cycle to next variant
  • Dropping the entire VariantItemStack should maintain it's variants and content as an ItemEntity
  • Right-click-dragging stacks does not duplicate variants
    • Does not apply to creative players, they dupe the variants too Decided to remove this
  • VariantItemStacks never exceed 64 items (why tf are there like 349052 ways to combine ItemStacks that I need to worry about)
    • also stop the VariantItemStack from randomly erasing the main item when combined with other VariantItemStacks
    • Figure out why pickup-all keeps breaking (I am going insane)
  • Stop the 7352 ways that VariantItemStacks have their variants erased
  • Pick-blocking a "Variant Block" should give a VariantItemStack or select a VariantItemStack that contains a VariantItem of that block 😄 🔫
    • Note: Impl will select any VariantItemStack that has the same "original" block if any are in your inv
  • Click dragging should cycle to the next variant when the current one is empty
  • Display the total count and current count somehow
  • VariantItemStacks should provide a tooltip display of what VariantItems it contains like bundles
  • Scroll-wheeling on a VariantItemStack should cycle between the main item and the contained variants
  • Arrow keys do the same thing for ✨ Accessibility ✨

I must say this is quite exciting