[Yardım] Sandık Silme

Singularity

Lapis Toplayıcısı
En iyi cevaplar
1
Arkadaşlar bir koordinattaki sandığın içinde bulunan eşyaların hepsini nasıl silebilirim? Yardım bekliyorum...
 

Axel102

Hayalet Avcısı
En iyi cevaplar
6
Kod:
command /sil <number> <number> <number>:
 trigger:
  arg 1 isn't set:
   message "&6/sil <x> <y> <z>"
  arg 1 is set:
   arg 2 is set:
    arg 3 is set:
     set {_x} x coordinate to arg-1
     set {_y} y coordinate to arg-2
     set {_z} z coordinate to arg-3
     if block at location at {_x}, {_y}, {_z} is chest:
      message "&aX: %arg-1% Y: %arg-2% Z: %arg-3% kordinatındaki sandık silindi."
      clear the location of block's inventory
 

Singularity

Lapis Toplayıcısı
En iyi cevaplar
1
Kod:
command /sil <number> <number> <number>:
trigger:
  arg 1 isn't set:
   message "&6/sil <x> <y> <z>"
  arg 1 is set:
   arg 2 is set:
    arg 3 is set:
     set {_x} x coordinate to arg-1
     set {_y} y coordinate to arg-2
     set {_z} z coordinate to arg-3
     if block at location at {_x}, {_y}, {_z} is chest:
      message "&aX: %arg-1% Y: %arg-2% Z: %arg-3% kordinatındaki sandık silindi."
      clear the location of block's inventory
Sağol :) (10 harf)
 
Üst