Started by
a guy called l…
on
Topic category: Help with Minecraft modding (Java Edition)
I try to made on "entity tick uptade" that if theres a player in X Y Z range, teleport to X of entity iterator, Y + 4 of entity iterator and Z of entity iterator. The problem? entity tick uptade dont work whit entity iterator, so i dont have form to detect were is the player to made the mob go over it
Also a extra question, how i use the "Get nearest entity at x: X y: Y z: Z in square cube size 4 of type "insert type"
Edited by a guy called lonchor12 on Sun, 10/24/2021 - 22:26
On entity tick update: for each iterator if iterator = player then set entity location to x ,y and z of iterator
Man, I CAN'T use Entity iterator, if i put one Entity iterator block, the procedure can't be used "on Entity tick update" because is a "miss dependecy"
Not really, use entity iterator on Entity tick update on your entity not on player
I use it on entiy, I cant, I cant add the procedure in "entity tick update". Mcreator dont let me do it, the procedure apparear whit "missing dependency's"
https://i.imgur.com/ssocTZw.jpg
Seriously please, this perfectly works just do as I told you
What version of mcreator you use? I dont remember see the block For each entity as...
I'm using 2021.2
If I am just an idiot and never see the block, I am sorry
Tomorrow i will search it, if i dont find it I have absolute no idea what to do
You have it don't worry
Well...
The block is there, and is usable
thanks and sorry xd