HyperionX_09
Odunlara Vur Vur Vur!
Selamlar arkadaşlar bende bi spawner skripti var fakat sadece world adlı dünyada çalışıyor ben ASkyBlock'ta da çalışmasını istiyorum ve ya başka daha kullanışlı bi skript varsa yardımcı olursanız sevinirim
Kod:
on place of a mob spawner:
set {_someVariable} to name of held item of player
{_someVariable} is "&b&lDemir Spawneri"
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:iron_ingot,Count:2b}},SpawnCount:3,SpawnRange:3,RequiredPlayerRange:140,Delay:10,MinSpawnDelay:0,MaxSpawnDelay:00,MaxNearbyEntities:1}"
send "&e&l » &bDemir Spawneri başarıyla koydun!"
set {_1} to location of event-block
add {_1} to {demirspawner::*}
on break of mob spawner:
tool of player is any pickaxe of silk touch
set {_1} to location of event-block
loop {demirspawner::*}:
loop-value is {_1}
cancel event
set block at {_1} to air
drop a mob spawner named "&b&lDemir Spawneri" at {_1}
remove {_1} from {demirspawner::*}
command /demirsp:
permission: sk.admin
trigger:
if player is op:
give a mob spawner named "&b&lDemir Spawneri" to player
on place of a mob spawner:
set {_someVariable} to name of held item of player
{_someVariable} is "&b&lDemirBlock Spawneri"
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:iron_block,Count:1b}},SpawnCount:3,SpawnRange:3,RequiredPlayerRange:140,Delay:10,MinSpawnDelay:0,MaxSpawnDelay:00,MaxNearbyEntities:1}"
send "&e&l » &bDemirBlock Spawneri başarıyla koydun!"
set {_1} to location of event-block
add {_1} to {demirblockspawner::*}