How to make a mob teleport over me?

Started by a guy called l… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a mob teleport over me?
Sun, 10/24/2021 - 22:26 (edited)

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
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On entity tick update: for…
Mon, 10/25/2021 - 05:46

On entity tick update: for each iterator if iterator = player then set entity location to x ,y and z of iterator

 

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Man, I CAN'T use Entity…
Mon, 10/25/2021 - 16:43

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"

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not really, use entity…
Mon, 10/25/2021 - 18:27

Not really, use entity iterator on Entity tick update on your entity not on player

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I use it on entiy, I cant, I…
Mon, 10/25/2021 - 19:12

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"

 

 

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Seriously please, this…
Tue, 10/26/2021 - 05:56

Seriously please, this perfectly works just do as I told you

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What version of mcreator you…
Tue, 10/26/2021 - 21:11

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

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have it don't worry  
Wed, 10/27/2021 - 05:12

You have it don't worry

 

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well... The block is there,…
Wed, 10/27/2021 - 21:41

Well...

The block is there, and is usable

thanks and sorry xd