Aller au contenu

Besoin d'aide (Casser un portails d'end)


Messages recommandés

Posté(e)

Bonjour enfaite j'ai besoin j'ai un skript ou avec une pioche avec un enchante que l'on peut pas obtenir en survie on puise casser un portails de l'end mais vue que l'on peut pas miner un portails je sais pas comment faire voici mon code !

command /endpioche:
   trigger:
       if player has permission "endpioche.give":
           give a diamond pickaxe named "Pioche à EndPortals" to player's inventory
           message "&6End-Pioche &e> &fTu as reçu la Pioche à EndPortals"
           stop
       else:
           message "&6End-Pioche &e> &cTu n'as pas la permission de faire ça."
           stop

on break a end portal:
   if player is holding a diamond pickaxe named "Pioche à EndPortals":
       if player has permission "endpioche.use":
           cancel event
           set event-block to air
           drop a end portal
   remove a diamond pickaxe named "Pioche à EndPortals" from the player's inventory
   stop           

Posté(e)
et c'est quoi le problème avec ton skript ?

Le probleme ces que un ender portals ca ce mine pas ces comme la bedrock donc je sais pas ci il y a un on touche

Posté(e)
command /endpioche:
   trigger:
       if player has permission "endpioche.give":
           give a diamond pickaxe named "Pioche à EndPortals" to player's inventory
           message "&6End-Pioche &e> &fTu as reçu la Pioche à EndPortals"
           stop
       else:
           message "&6End-Pioche &e> &cTu n'as pas la permission de faire ça."
           stop

on leftclick:
   if target block is ender portal:
       if player is holding a pickaxe named "Pioche à EndPortals":
           set block to air
           give a ender portal to player

Posté(e)
command /endpioche:
   trigger:
       if player has permission "endpioche.give":
           give a diamond pickaxe named "Pioche à EndPortals" to player's inventory
           message "&6End-Pioche &e> &fTu as reçu la Pioche à EndPortals"
           stop
       else:
           message "&6End-Pioche &e> &cTu n'as pas la permission de faire ça."
           stop

on leftclick:
   if target block is ender portal:
       if player is holding a pickaxe named "Pioche à EndPortals":
           set block to air
           give a ender portal to player

Répondre cela ne marche pas je lavais essayer mais j'ai ressayer toujours pas même il y a pas d'erreur

Posté(e)
et quand tu essai de casser un portal de l'end avec la pioche ça ne fait rien ?

Un portails ces comme de la bedrock ca ce casse pas donc ca fait rien est un gauche ne fait rien et me fait pas d'erreur

Posté(e)
on click on end portal:
   if player is holding a diamond pickaxe named "&dBriseuse De L'End":
       set block to air
       drop a enderportal at player location

Posté(e)
on click on end portal:
   if player is holding a diamond pickaxe named "&dBriseuse De L'End":
       set block to air
       drop a enderportal at player location

merci je vais tester

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