Aller au contenu
  • 0

Bug Graphique pour les items d'un GUI


Question

Posté(e)

Bonjour / Bonsoir tout le monde, je rencontre actuellement un problème que je n'avais jamais eu auparavant, je m'explique.... Dans mon code (voir ci-dessous) je créer un menu assez designer comportant beaucoup d'items, sauf que malheureusement certains items apparaissent aléatoirement alors que je voudrais que tous les items s'affiche.

 

command /jeux:
   aliases: game, games
   trigger:
       wait 1 tick
       open chest with 5 rows named "&8» &bJeux &8«" to player
       wait 1 tick
       format slot 4 of player with diamond chestplate named "&7Jeux : &b&lFFA" with lore "||&7Affronte tes ennemis dans||&7Une grande arène PvP comportant||&7De nombreuses fonctionnalitées !||&7Rejoins un clan et les dégâts||&7Sont doublés !||||&a» Joueurs Connectés : &20||||&7Développeur : &bTagador" to run [make player execute command "/serv"]
       format slot 37 of player with redstone repeater named "&bParamètres" to run [make player execute command "/jeux"]
       format slot 40 of player with bed named "&eRetour au spawn" to run [make player execute command "/spawn"]
       format slot 43 of player with name tag named "&7Amis / Friends" to run [make player execute command "/spawn"]
       format slot 29 of player with feather named "&dAéroJump" with lore "||&7Ton meilleur score : &50||||&e» Clique pour être téléporter" to run [make player execute command "/spawn"]
       format slot 33 of player with sign named "&7Profil de &c%player%" to run [make player execute command "/jeux"]
       format slot 0 of player with light blue window glass named "&7" to be unstealable
       format slot 8 of player with light blue window glass named "&7" to be unstealable
       format slot 10 of player with light blue window glass named "&7" to be unstealable
       format slot 16 of player with light blue window glass named "&7" to be unstealable
       format slot 19 of player with light blue window glass named "&7" to be unstealable
       format slot 20 of player with light blue window glass named "&7" to be unstealable
       format slot 21 of player with light blue window glass named "&7" to be unstealable
       format slot 22 of player with light blue window glass named "&7" to be unstealable
       format slot 23 of player with light blue window glass named "&7" to be unstealable
       format slot 24 of player with light blue window glass named "&7" to be unstealable
       format slot 25 of player with light blue window glass named "&7" to be unstealable
       format slot 28 of player with light blue window glass named "&7" to be unstealable
       format slot 34 of player with light blue window glass named "&7" to be unstealable
       format slot 36 of player with light blue window glass named "&7" to be unstealable
       format slot 44 of player with light blue window glass named "&7" to be unstealable


#==========================================================#
# +------------------------------------------------------+ #
# |                      Evènements                      | #
# +------------------------------------------------------+ #
#==========================================================#

on rightclick with compass:
   if name of player's tool is "&8» &bJeux &7(clique-droit) &8«":
       make player execute command "/jeux"

 

Quelques petit screenshots :

 

4qy6.png

 

8a6x.png

 

Merci de votre aide et de votre compréhension.

6 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Ouvre le "aliases-english" et cherche les objets que tu utilise.

J'ai déjà eu le problème avec les panneaux et le minerais de redstone (respectivement sign item et inactive redstone ore item)

  • 0
Posté(e)
Ouvre le "aliases-english" et cherche les objets que tu utilise.

J'ai déjà eu le problème avec les panneaux et le minerais de redstone (respectivement sign item et inactive redstone ore item)

Merci de ton Howk, oui en effet le problème vient bien des items car si je met que des diamond chestplate tous les items sont présent, je vais me renseigner au sujet des items et merci :)

  • 0
Posté(e)

Bonjour, il me semble qu'en rajoutant "item" après ton item, cela fonctionne. exemple :

 

format slot 37 of player with redstone repeater item named "&bParamètres" to run [make player execute command "/jeux"]

  • 0
Posté(e)
Bonjour, il me semble qu'en rajoutant "item" après ton item, cela fonctionne. exemple :

 

format slot 37 of player with redstone repeater item named "&bParamètres" to run [make player execute command "/jeux"]

 

Oui en effet, il faut rajouter ceci presque que sur tous les noms d'items, merci de votre aide :)

×
×
  • 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.