command /Üreteç:
trigger:
if player is op:
give a mob spawner named "&b&lElmas Spawner" to player
send "&e&l > &bElmas Spawnerini Aldın!"
on place of a mob spawner:
player's held item's name contains "&b&lElmas 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
execute console command "manuaddp %player% minecraft.command.setblock"
execute player command "setblock %{_x}% %{_y}% %{_z}% minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:264,Count:1}},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:10,delay:2,MinSpawnDelay:40,MaxSpawnDelay:100,MaxNearbyEntities:9999}"
send "&e&l > &bElmas Spawnerini Koydun!"
set {spawnerlistesi::%location of event-block%} to true
execute console command "manudelp %player% minecraft.command.setblock"
on break of mob spawner:
if {spawnerlistesi::%location of event-block%} is set:
cancel event
set block at event-block to air
delete {spawnerlistesi::%location of event-block%}
if tool of player is any pickaxe of silk touch:
drop a mob spawner named "&b&lElmas Spawner" at location of event-block
broadcast "kırdın kırdın"