Can my custom entity detect a specific block in a chunk ?

Started by abelcaron on

Topic category: Help with modding (Java Edition)

Last seen on 20:14, 19. Aug 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can my custom entity detect a specific block in a chunk ?

Can my custom entity detect a specific block in a chunk ? And move to this block if its possible

Last seen on 20:14, 19. Aug 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It will be add soon ?  
Mon, 06/01/2020 - 15:55

It will be add soon ?

 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this is not even supported…
Mon, 06/01/2020 - 23:23

this is not even supported in vanilla Minecraft. MCreator devs would need to write their own AI for this. So probably never.

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@abelcaron it is possible,…
Tue, 06/02/2020 - 03:05

@abelcaron it is possible, you can are going to want to code a new entity ai (it is not hard) and iterate block positions from the entity. And I will tell you the rest from there. I have done something similar before. Add my discord if you are up for this (on my profile).

Last seen on 20:14, 19. Aug 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thx i have done it  
Tue, 06/02/2020 - 16:49

thx i have done it

 

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
👍
Tue, 06/02/2020 - 17:22

👍