how do you make a procedure run when any entity touches another entity

Started by Yutaken on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do you make a procedure run when any entity touches another entity

I'm making a virus thing and I want it to spread by entity contact

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can't, but you can checkā€¦
Wed, 06/30/2021 - 18:59

You can't, but you can check permanently if there are mobs near each other, by doing the "On living entity tick" and using the Block "For each entity in square cube of [1]" it affects all Mobs on the same Block in the Code in that Block.