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

Support for defining active panes, allowing players to freely drop items from their inventory #1011

Open
killertuling opened this issue Apr 6, 2024 · 0 comments
Assignees

Comments

@killertuling
Copy link

pane design concept is great, One of the best API I've ever used in a Spigot plugin.

but in high versions of Minecraft, more and more people use title to customize the GUI's background, and rarely use items to impl.
Imagine that I now have a need:
Allows a pane or slot to be defined as an “active pane”, player can fetch or place item from it, then change other pane or title according it. but now, I have to use update() , but it will be reset...

I think IF you can create a new kind of pane, it's called active pane;

  1. It should help us solve problems such as how players can interact more naturally with the active pane, such as when using shift+leftclick, swap item with cursor...
  2. Also, it will not be reset by the update method
  3. it can choose item will drop, delete, or return to Inventory ,when closing the gui
  4. when it change, can trigger some events;
    
    it some of my suggestions for IF's features
    I think the only shortcoming of IF is not support for active slots, and IF splits the gui into panes, but you can't select some panes to not update
    My english is not good,sorry
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

2 participants