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

Apply an item button to more than just one slot #119

Open
moonEEVEEXwX opened this issue Sep 10, 2022 · 2 comments
Open

Apply an item button to more than just one slot #119

moonEEVEEXwX opened this issue Sep 10, 2022 · 2 comments
Labels
enhancement New feature or request priority: high

Comments

@moonEEVEEXwX
Copy link

What feature do you want to see added?

Like we write the glass pane,we write it form this:
2:
display-name: " "
material: GLASS_PANE
4:
display-name: " "
material: GLASS_PANE
5:
display-name: " "
material: GLASS_PANE

Into this:
[2,4,5]:
display-name: " "
material: GLASS_PANE

Are there any alternatives?

The Form can be changed like this too
item_name:
display-name: " "
spot:[2,4,5]
materialGLASS_PANE

@Konicai Konicai added enhancement New feature or request priority: moderate labels Sep 10, 2022
@Konicai Konicai changed the title The item in the java-menu can be multiple add Apply an item button to more than just one slot Oct 3, 2022
@Funasitien
Copy link

Would be very usefull and can reduce the size up to 10 for people which use resource pack menu. A solution could be:

  • check if the name of the object is a number
  • If yes, set slot to [ObjectName]
  • If not, use slot variable in the object

@Funasitien
Copy link

Little example :
Case 1:

1:
  name: ""
  description: ""

Case 2:

play_button:
  slot: [1;9], [12;15]
  name: ""
  description: ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: high
Projects
None yet
Development

No branches or pull requests

3 participants