1.17.x Bundle pop-up on other items

Discussion in 'Spigot Plugin Development' started by DMan16, Jul 3, 2021.

Thread Status:
Not open for further replies.
  1. Hey all!
    I really like the little pop-up Bundles have that shows their content when hovered over in the inventory.
    I wanted to know if it's possible (probably with Packets, hopefully not...) to make an item that isn't a Bundle have that pop-up as well when hovering over them in the inventory?
     
  2. These things tend to be client side. Not sure how that would be achieved, even with packets
     
  3. :cry:
    #WhyMojangPleaseStahpWeWantMoreStuff
     
  4. I think you can't do that thing. You need to have client-side to realise that
     
  5. :cry::cry::cry::cry:
    #WhyMojangPleaseStahpWeWantMoreStuffPleezWeWantzMorStahhhhpMojangWhyMyButtHurtz
     
  6. I have a long winded way that would work but would require a lot of effort for such a small task, the process:
    Listen on inventoryOpen event
    --> For each thing you want to have a bundle thing, replace that item with a bundle with customModelData to make it look the same (difficult part)

    Listen on inventoryClose event
    --> Revert the items

    Only problems with this would be chestplate, leggings and boots item slots.
     
  7. #MojangStopDoingClientSidedStuff
     
    • Like Like x 1
Thread Status:
Not open for further replies.