Aller au contenu

Classement


Contenu populaire

Affichage du contenu avec la meilleure réputation le 02/21/20 dans toutes les zones

  1. 2 points
    # - delete les poulets 1/2 function despawnentity(entity: entity): set {_location} to {_entity}'s location add 1000 to y-coordinate of {_location} teleport {_entity} at {_location} add "{CustomNameVisible:1}" to nbt of {_entity} wait 1 tick kill {_entity} # - delete les poulets 2/2 On death: if victim is a chicken: if nbt of victim contain "{CustomNameVisible:1}": clear drops command /parachutedepoulet <number> <number> <number>: trigger: set {_spawnLocation} to the location at arg-1, arg-2, arg-3 # - Spawn armor stand spawn an armor stand at {_spawnLocation} set {_armorStand} to last spawned entity add "{Invisible:1}" to {_armorStand}'s nbt set armor stand helmet of {_armorStand} to chest apply levitation -3 to {_armorStand} for 99 days # - Spawn poulet loop 15 times: set {_x} to x-coordinate of {_armorStand} + random number between -3 and 3 set {_y} to y-coordinate of {_armorStand} + 1 set {_z} to z-coordinate of {_armorStand} + random number between -3 and 3 set {_chickenLocation} to the location at {_x}, {_y}, {_z} spawn a chicken at {_chickenLocation} add last spawned entity to {_chickens::%{_armorStand}%::*} loop {_chickens::%{_armorStand}%::*}: leash loop-value to {_armorStand} # - Placement cible au sol set {_positionArmorStand} to {_armorStand}'s location while block at {_positionArmorStand} is air: remove 1 from y-coordinate of {_positionArmorStand} add 1 to y-coordinate of {_positionArmorStand} drawWarpRings style 1, particle "redstone", center {_positionArmorStand}, id "%{_positionArmorStand}%.1", rainbowMode true, scan true, height 0, radius 2, ringCount 40, ringDensity 20, visibleRange 100 wait 3 ticks drawWarpRings style 1, particle "redstone", center {_positionArmorStand}, id "%{_positionArmorStand}%.2", rainbowMode true, scan true, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 100 wait 3 ticks drawWarpRings style 1, particle "redstone", center {_positionArmorStand}, id "%{_positionArmorStand}%.3", rainbowMode true, scan true, height 0, radius 1.4, ringCount 40, ringDensity 20, visibleRange 100 wait 3 ticks drawWarpRings style 1, particle "redstone", center {_positionArmorStand}, id "%{_positionArmorStand}%.4", rainbowMode true, scan true, height 0, radius 1.1, ringCount 40, ringDensity 20, visibleRange 100 wait 3 ticks drawWarpRings style 1, particle "redstone", center {_positionArmorStand}, id "%{_positionArmorStand}%.5", rainbowMode true, scan true, height 0, radius .8, ringCount 40, ringDensity 20, visibleRange 100 wait 3 ticks drawWarpRings style 1, particle "redstone", center {_positionArmorStand}, id "%{_positionArmorStand}%.6", rainbowMode true, scan true, height 0, radius .5, ringCount 40, ringDensity 20, visibleRange 100 wait 3 ticks drawWarpRings style 1, particle "redstone", center {_positionArmorStand}, id "%{_positionArmorStand}%.7", rainbowMode true, scan true, height 0, radius .2, ringCount 40, ringDensity 20, visibleRange 100 wait 3 ticks drawWarpRings style 1, particle "redstone", center {_positionArmorStand}, id "%{_positionArmorStand}%.8", rainbowMode true, scan true, height 0, radius 0, ringCount 40, ringDensity 20, visibleRange 100 # - Attente que l'armor stand soit au sol while y-coordinate of {_armorStand}'s location rounded to the nearest 1 decimal place is not y-coordinate of {_positionArmorStand} rounded to the nearest 1 decimal place: wait 1 tick # - Suppression entitées et particules loop 8 times: stopEffect id "%{_positionArmorStand}%.%loop-number%" kill {_armorStand} loop {_chickens::%{_armorStand}%::*}: despawnentity(loop-value) set block at {_positionArmorStand} to a chest # - Item dans le coffre add 5 torch to block at {_positionArmorStand}'s inventory J'ai fais ça Bon c'est pas vraiment fini, genre le système pour ajouter des items dans le coffre est pas fait, j'ajoute juste 5 torches, mais l'idée est là. Faut skDragon, SkQuery-Lime Y a surement des choses à optimiser Apparemment le système de laisse ne marche pas chez l'auteur (que ça soit la syntaxe du skQuary ou Skript), surement du au fait qu'il soit encore sur la 1.8 (faudrait changer depuis le temps ) Si des gens sont intéressé pour continuer le système, pour pourquoi pas le poster dans les ressources contacter moi Il manque pas mal de truc, notamment:- custom du contenu du chest- custom des particules - sécurité anti con (exemple, faire spawn casi simultanément 2 "coffres" au même coordonnée. J'ai pas testé, mais ça fait surement de la merde ) -...
  2. -1 points
    Salut ! Pour l'1.12 je te conseille cette version : [Contenu masqué] Bonne soirée
  3. -1 points
    Bonsoir, Je passe le topic en Résolu, car j'utilise de mon côté Skript 2.3.7 en 1.12.2 donc il n'y a pas de raison que cela ne fonctionne pas. Bonne soirée!
×
×
  • 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.