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

Started by abelcaron on

Topic category: Help with Minecraft modding (Java Edition)

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

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 ?

 

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.

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).

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

 

Joined Sep 2019
Points:

User statistics:

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

👍