i want block on tick update to support entities dependencies how do i do it

Started by ATWS159 on

Topic category: Help with MCreator software

Joined Jan 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i want block on tick update to support entities dependencies how do i do it

i need the block on tick update supports entity it just grayed out in triggers how do i make it support entities dependencies 

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can't, but you can use…
Tue, 01/20/2026 - 13:25

You can't, but you can use various methods to get an entity without using the event/target entity dependency.

One option is to check if an entity of a certain type exists in a radius around the block (possible with a single procedure block), then getting the nearest entity of the same type within the same radius (also possible with a single procedure block).

Using the two of those, you could, for example, get the nearest player within 10 blocks. Then put the get nearest entity procedure block in place of event/target entity. Just make sure to check that an entity does exist before trying to get the nearest entity or your game will crash.

Another way to get entities without using the event/target entity dependency is the procedure block that gets each entity in a radius as entity iterator. This is a way to effect all entities in an area, rather than just one, you just need to put entity iterator in place of event/target entity.