Hayırlı akşamlar ilgili kişilerden bir yardım isteyeceğim elimde demir blok spawner skripti var fakat op iken kattıgımda çalısıyor oyuncu kattıgında ise kouyuluyor ama domuz spawnlıyor domuz spawnere donusuyor kısacası teşekkürler.
Kod:
on place of a mob spawner:
set {_someVariable} to name of held item of player
{_someVariable} is "&eDemir Blok 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:42,Count:1}},SpawnCount:2,SpawnRange:1,RequiredPlayerRange:10,Delay:1,MinSpawnDelay:9,MaxSpawnDelay:1,MaxNearbyEntities:1}"
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
execute console command "give %player% 52 1 name:&eDemir_Blok_Spawner"
remove {_1} from {demirspawner::*}
command /demirblok:
trigger:
if player is op:
give a mob spawner named "&eDemir Blok Spawner" to player