Bugün bu konumda bomba bir skript paylaşacağım. Elmas üretec (spawner) olarak bilinen, skyblock ve faction sunucularda kullanılabilecek, oyunculara sunucunun zevkini verecek bir sistem.
Bazı komutlar ise:
/uretec => Elmas üreteci verir.
Dilerseniz videomuza geçelim
Dilerseniz Skript kodumuza geçelim.
Kod:
on place of a mob spawner:
set {_someVariable} to name of held item of player
{_someVariable} is "&b&lElmas Üreteci"
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 "&e&l » &bElmas üreteci başarıyla koydun!"
set {_1} to location of event-block
add {_1} to {elmasspawner::*}
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 "&b&lElmas Üreteci" at {_1}
remove {_1} from {elmasspawner::*}
command /uretec:
trigger:
if player is op:
give a mob spawner named "&b&lElmas Üreteci" to player
Son düzenleme: