MaskeliPeder#8352
SametTR_06#5500
Arkadaşlar sorunumu kaç gündür çözemiyorum sizlerden istediğim oyuncu spawneri ipeksi ile kırınca eline &eDemirSpawner Adinda spawner gelmesidir teşekkürler.
on break of mob spawner:
buraya gelecek sanırım
on place of a mob spawner:
set {_someVariable} to name of held item of player
{_someVariable} is "&eDemir &fSpawner"
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 second
execute console command "manuaddp %player% minecraft.command.setblock"
execute player command "setblock %{_x}% %{_y}% %{_z}% mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:minecraft:iron_ingot,Count:2b}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:140,Delay:10,MinSpawnDelay:70,MaxSpawnDelay:70,MaxNearbyEntities:2}"
send "&2Demir &eSpawner Koyuldu."
execute console command "manudelp %player% minecraft.command.setblock"
set {_1} to location of event-block
add {_1} to {demirsp::*}
on break of mob spawner:
tool of player is any pickaxe of silk touch
set {_1} to location of event-block
loop {demirsp::*}:
loop-value is {_1}
cancel event
set block at {_1} to air
drop a mob spawner named "&eDemir &fSpawner" at {_1}
remove {_1} from {demirsp::*}
command /DemirSpawner:
trigger:
if player is op:
give a mob spawner named "&eDemir &fSpawner" to player