Çözüldü Elmas Spawner

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

TurkCarl

Odunlara Vur Vur Vur!
Katılım
19 Aralık 2019
Mesajlar
44
Elmaslar
5
Puan
1.175
Merhabalar ben sizden elmas spawner ı istiyeceğim bazı skriptler buldum ancak çalışmıyor
 
Kod:
on break of mob spawner:
    tool of player is any pickaxe of silk touch
    set {_1} to location of event-block
    loop {elmasspawner::*}:
        loop-value is {_1}
        cancel event
        set block at {_1} to air
        drop a mob spawner named "Elmas Spawner" at {_1}
        remove {_1} from {elmasspawner::*}
        
        on place of a mob spawner:
    set {_someVariable} to name of held item of player
    {_someVariable} is "Elmas Spawner"
    set {_x} to x coord of event-location
    set {_y} to y coord of event-location
    set {_z} to z coord of event-location
    wait 1 second
    execute console command  "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:diamond,Count:1b}},SpawnCount:1,SpawnRange:5,RequiredPlayerRange:140,Delay:10,MinSpawnDelay:0,MaxSpawnDelay:00,MaxNearbyEntities:1}"
    send "Elmas Spawner konumu belirlendi."
    set {_1} to location of event-block
    add {_1} to {elmasspawner::*}
 
command /creatediasp:
    trigger:
        if player is op:
            give a mob spawner named "Elmas Spawner" to player

Şu şekilde deneyip geri dönüş yaparsanız, daha güncel bir kod iletebilirim.
 
Kod:
on break of mob spawner:
    tool of player is any pickaxe of silk touch
    set {_1} to location of event-block
    loop {elmasspawner::*}:
        loop-value is {_1}
        cancel event
        set block at {_1} to air
        drop a mob spawner named "Elmas Spawner" at {_1}
        remove {_1} from {elmasspawner::*}
       
        on place of a mob spawner:
    set {_someVariable} to name of held item of player
    {_someVariable} is "Elmas Spawner"
    set {_x} to x coord of event-location
    set {_y} to y coord of event-location
    set {_z} to z coord of event-location
    wait 1 second
    execute console command  "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:diamond,Count:1b}},SpawnCount:1,SpawnRange:5,RequiredPlayerRange:140,Delay:10,MinSpawnDelay:0,MaxSpawnDelay:00,MaxNearbyEntities:1}"
    send "Elmas Spawner konumu belirlendi."
    set {_1} to location of event-block
    add {_1} to {elmasspawner::*}

command /creatediasp:
    trigger:
        if player is op:
            give a mob spawner named "Elmas Spawner" to player

Şu şekilde deneyip geri dönüş yaparsanız, daha güncel bir kod iletebilirim.
ekliyorum ancak domuz doğuruyor
 
Kod:
on place of 56:
    if name of player's tool is "&b&lElmas Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 3 diamond
            wait 2 second
on break of 56:
    set block to air
    delete {place.%player%}

command /elmassp:
    trigger:
        if player is op:
            give 1 56 named "&b&lElmas Spawner" to player
      
      

on place of 15:
    if name of player's tool is "&f&lDemir Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 5 iron ingot
            wait 2 second
on break of 15:
    set block to air
    delete {place.%player%}

command /demirsp:
    trigger:
        if player is op:
            give 1 15 named "&f&lDemir Spawner" to player


on place of 14:
    if name of player's tool is "&6&lAltın Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 4 gold ingot
            wait 2 second
on break of 14:
    set block to air
    delete {place.%player%}

command /altinsp:
    trigger:
        if player is op:
            give 1 14 named "&6&lAltın Spawner" to player


on place of 129:
    if name of player's tool is "&2&lZümrüt Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 5 emerald
            wait 3 second
on break of 129:
    set block to air
    delete {place.%player%}

command /zumrutsp:
    trigger:
        if player is op:
            give 1 129 named "&2&lZümrüt Spawner" to player
      


on place of 42:
    if name of player's tool is "&7&lDemir Blok Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 2 iron block
            wait 3 second
on break of 42:
    set block to air
    delete {place.%player%}

command /demirbloksp:
    trigger:
        if player is op:
            give 1 42 named "&7&lDemir Blok Spawner" to player
      

on place of 41:
    if name of player's tool is "&6&lAltın Blok Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 5 gold block
            wait 3 second
on break of 41:
    set block to air
    delete {place.%player%}

command /altinbloksp:
    trigger:
        if player is op:
            give 1 41 named "&6&lAltın Blok Spawner" to player


on place of 57:
    if name of player's tool is "&b&lElmas Blok Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 7 diamond block
            wait 3 second
on break of 57:
    set block to air
    delete {place.%player%}

command /elmasbloksp:
    trigger:
        if player is op:
            give 1 57 named "&b&lElmas Blok Spawner" to player
      


on place of 133:
    if name of player's tool is "&2&lZumrut Blok Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 4 emerald block
            wait 3 second
on break of 133:
    set block to air
    delete {place.%player%}

command /zumrutbloksp:
    trigger:
        if player is op:
            give 1 133 named "&2&lZumrut Blok Spawner" to player
            
            
            
on place of 121:
    if name of player's tool is "&a&lEnd Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 1 end stone
            wait 30 second
on break of 121:
    set block to air
    delete {place.%player%}

command /endsp:
    trigger:
        if player is op:
            give 1 121 named "&a&lEnd Spawner" to player

Kendim hazırlamadım, deneyin bakalım.
 
Skript ile uğraşmayın SilkSpawners eklentisini deneyin isterseniz. Daha stabil ve daha basit.​
 
Kod:
on place of 56:
    if name of player's tool is "&b&lElmas Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 3 diamond
            wait 2 second
on break of 56:
    set block to air
    delete {place.%player%}

command /elmassp:
    trigger:
        if player is op:
            give 1 56 named "&b&lElmas Spawner" to player
     
     

on place of 15:
    if name of player's tool is "&f&lDemir Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 5 iron ingot
            wait 2 second
on break of 15:
    set block to air
    delete {place.%player%}

command /demirsp:
    trigger:
        if player is op:
            give 1 15 named "&f&lDemir Spawner" to player


on place of 14:
    if name of player's tool is "&6&lAltın Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 4 gold ingot
            wait 2 second
on break of 14:
    set block to air
    delete {place.%player%}

command /altinsp:
    trigger:
        if player is op:
            give 1 14 named "&6&lAltın Spawner" to player


on place of 129:
    if name of player's tool is "&2&lZümrüt Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 5 emerald
            wait 3 second
on break of 129:
    set block to air
    delete {place.%player%}

command /zumrutsp:
    trigger:
        if player is op:
            give 1 129 named "&2&lZümrüt Spawner" to player
     


on place of 42:
    if name of player's tool is "&7&lDemir Blok Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 2 iron block
            wait 3 second
on break of 42:
    set block to air
    delete {place.%player%}

command /demirbloksp:
    trigger:
        if player is op:
            give 1 42 named "&7&lDemir Blok Spawner" to player
     

on place of 41:
    if name of player's tool is "&6&lAltın Blok Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 5 gold block
            wait 3 second
on break of 41:
    set block to air
    delete {place.%player%}

command /altinbloksp:
    trigger:
        if player is op:
            give 1 41 named "&6&lAltın Blok Spawner" to player


on place of 57:
    if name of player's tool is "&b&lElmas Blok Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 7 diamond block
            wait 3 second
on break of 57:
    set block to air
    delete {place.%player%}

command /elmasbloksp:
    trigger:
        if player is op:
            give 1 57 named "&b&lElmas Blok Spawner" to player
     


on place of 133:
    if name of player's tool is "&2&lZumrut Blok Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 4 emerald block
            wait 3 second
on break of 133:
    set block to air
    delete {place.%player%}

command /zumrutbloksp:
    trigger:
        if player is op:
            give 1 133 named "&2&lZumrut Blok Spawner" to player
           
           
           
on place of 121:
    if name of player's tool is "&a&lEnd Spawner":
        set {place.%player%} to "1"
        while {place.%player%} is set:
            drop 1 end stone
            wait 30 second
on break of 121:
    set block to air
    delete {place.%player%}

command /endsp:
    trigger:
        if player is op:
            give 1 121 named "&a&lEnd Spawner" to player

Kendim hazırlamadım, deneyin bakalım.
işe yaradı saol
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst