Aller au contenu
  • 0

Menu GUI


Question

Posté(e)

Bonjour,

 

Je voudrais créer un Menu avec 3 catégories différente, et quand on clique sur un des items présent dans le menu sa ouvre un autre menu. Est-ce possible ? Si oui pourrais-je savoir comment faire ?

8 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Slt !

 

Tiens ton code !

command /menu:
   trigger:
       open chest with 1 row named "&9&lMenu" to player
       wait 1 tick
       format slot 0 of player with iron helmet named "Menu 2" to run [make player execute command "/menu2"] #Tu n'as qu'a changer les commandes !

  • 0
Posté(e)
on rightclick with skull of player:
   trigger:
       open chest with 1 row named "&9&lMenu" to player
       wait 1 tick
       format slot 0 of player with iron helmet named "Menu 2" to run [make player execute command "/menu2"] #Tu n'as qu'a changer les commandes !

  • 0
Posté(e)

on rightclick with player head:
   trigger:
       open chest with 1 row named "&9&lMenu" to player
       wait 1 tick
       format slot 0 of player with iron helmet named "Menu 2" to run [make player execute command "/menu2"] #Tu n'as qu'a changer les commandes !

 

Je crois ....

  • 0
Posté(e)

C'est bon j'ai trouvé comment faire, merci bien

 

on rightclick with player head item:
       open chest with 1 row named "&4&lPowerCraft" to player
       wait 1 tick
       format slot 0 of player with feather named "&6&lJump" to run [make player execute command "/menu2"] #Tu n'as qu'a changer les commandes !
       format slot 1 of player with blue stained glass pane named "" to be unstealable
       format slot 2 of player with blue stained glass pane named "" to be unstealable
       format slot 3 of player with blue stained glass pane named "" to be unstealable
       format slot 4 of player with diamond sword named "&9&lMini-Jeux" to run [make player execute command "/menu3"] #Tu n'as qu'a changer les commandes !
       format slot 5 of player with blue stained glass pane named "" to be unstealable
       format slot 6 of player with blue stained glass pane named "" to be unstealable
       format slot 7 of player with blue stained glass pane named "" to be unstealable
       format slot 8 of player with emerald named "&c&lJeux" to run [make player execute command "/menu4"] #Tu n'as qu'a changer les commandes !

 

Sa donne sa

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.