- Katılım
- 13 Ekim 2018
- Mesajlar
- 224
- Elmaslar
- 33
- Puanlar
- 8.920
- Yaş
- 21
Merhaba bir item spawner skriptim tam kendimin sayılmaz ama 78% kendim yapdım
Spawner kırınca birşey gelmiyor ben istiyorumki kırınca o spawner envantere gelsin
yani nasıl yapıldığını çözemedim ama ipucu vereyim biryere sp koyunca kordinatlar kopyalansın o kordinatda birsey kirinca envantere spden gelsin
kisaca item sp kirinca envantere gelsin istiyorum
Skript'dim bu:
birde burada hatalı fazladan şeykeri lütfen düzeltin
Spawner kırınca birşey gelmiyor ben istiyorumki kırınca o spawner envantere gelsin
yani nasıl yapıldığını çözemedim ama ipucu vereyim biryere sp koyunca kordinatlar kopyalansın o kordinatda birsey kirinca envantere spden gelsin
kisaca item sp kirinca envantere gelsin istiyorum
Skript'dim bu:
command /demirspawner [<player>] <number>:
permission: SpreyMC.sp
permission message: &c Bunu yapamassın!
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "give %arg 1% 52 %arg 2% name:&eDemir_&fyaratıcısı lore:&7Kırılınca_geri_gelmeyecekdir!!!"
else:
send "&eKullanım&7: &f/demirspawner <kullanıcı ismi> <miktar>" to player
else:
send "&eKullanım&7: &f/demirspawner <kullanıcı ismi> <miktar>" to player
on place of a mob spawner:
if name of player's tool is "&eDemir &fyaratıcısı":
if {demirsp.%player%} is bigger than 0:
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 0.3 seconds
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:iron_ingot,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&b&lSky&2&lBlock&7: &eDemir-Yaratıcı &abaşarıyla koydun!"
send "&b&lSky&2&lBlock&7: &cDikkat! İtem yaratıcısını kırınca gelmeyecekdir!"
set {_1} to location of event-block
else:
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 0.3 seconds
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:iron_ingot,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&b&lSky&2&lBlock&7: &eDemir-Yaratıcı &abaşarıyla koydun!"
send "&b&lSky&2&lBlock&7: &cDikkat! İtem yaratıcısını kırınca gelmeyecekdir!"
set {_1} to location of event-block
permission: SpreyMC.sp
permission message: &c Bunu yapamassın!
trigger:
if arg 1 is set:
if arg 2 is set:
execute console command "give %arg 1% 52 %arg 2% name:&eDemir_&fyaratıcısı lore:&7Kırılınca_geri_gelmeyecekdir!!!"
else:
send "&eKullanım&7: &f/demirspawner <kullanıcı ismi> <miktar>" to player
else:
send "&eKullanım&7: &f/demirspawner <kullanıcı ismi> <miktar>" to player
on place of a mob spawner:
if name of player's tool is "&eDemir &fyaratıcısı":
if {demirsp.%player%} is bigger than 0:
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 0.3 seconds
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:iron_ingot,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&b&lSky&2&lBlock&7: &eDemir-Yaratıcı &abaşarıyla koydun!"
send "&b&lSky&2&lBlock&7: &cDikkat! İtem yaratıcısını kırınca gelmeyecekdir!"
set {_1} to location of event-block
else:
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 0.3 seconds
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:iron_ingot,Count:1}},SpawnCount:{@count},SpawnRange:2,RequiredPlayerRange:10,delay:{@delay},MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&b&lSky&2&lBlock&7: &eDemir-Yaratıcı &abaşarıyla koydun!"
send "&b&lSky&2&lBlock&7: &cDikkat! İtem yaratıcısını kırınca gelmeyecekdir!"
set {_1} to location of event-block
birde burada hatalı fazladan şeykeri lütfen düzeltin