Started by
Zainhargrove
on
Topic category: Help with Minecraft modding (Java Edition)
Hello I'm working on a mod and i want a block that can detect a mob in a radius and then despawn that mob and spawn in mob2. I want it to do it without any player interaction.
I tried doing “If: does entiry exist in square cube size 32. Do: despawn event/target entity and spawn mob2” i put that procedure under the blocks Client Tick Update. I would appreciate some help.
entity exist does not specify iterator
Just use for each entity as iterator and you're don
You should use the "Update Tick" instead of using the global on "Client Tick update" as it is a client Trigger that means that it is a total waste of Client Resources and is Client Side making it be dependent on any client being nearby also it could kill entities near the player, So update Tick is the most efficient use of resources and means the program you wrote will run only when neccesary instead of literally every tick a if statement runs