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

Started by abelcaron on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined May 2020
Points:
638

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 16
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

Active 3 months ago
Joined Jun 2019
Points:
2782

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3716
not right now. 
Mon, 06/01/2020 - 11:07

not right now. 

Active 4 years ago
Joined May 2020
Points:
638

User statistics:

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

It will be add soon ?

 

Active 3 months ago
Joined Jun 2019
Points:
2782

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3716
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.

Active 4 years ago
Joined Sep 2019
Points:
970

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 507
@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).

Active 4 years ago
Joined May 2020
Points:
638

User statistics:

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

thx i have done it

 

Active 4 years ago
Joined Sep 2019
Points:
970

User statistics:

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

👍