Started by
VadvMC
on
Topic category: Help with Minecraft modding (Java Edition)
So I am making new horror mod.
I want to make my entity spawn in radius 60-75 blocks away from the player.
and also i have a question. What are those Event/target entity, source entity, immediate source entity, entity iterator blocks? what they do?
All help will be appreciated
Event/target entity meaning the entity that triggered the procedure.
Source entity meaning the entity that caused the action.
Entity iterator is for for loops.
Just gen a random number between 60-75 and plug it into a variable called dist, generate a random direction between 0 and 360, plugging that into one called angle, and place the entity at x: dist sin(angle), y: world height at (dist sin(angle)), z: dist * cos(angle)
thanks
hi again. i also want to know how to make the monster spawn in safe places (not in walls)
how can i make him check blocks around him? cuz he has huge hitbox
tysm