Check for specific entity above a block

Started by v3NTF on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check for specific entity above a block

Is there a way to check if a certain entity is above a block. Such as if entity (spider) is y+1 above a block, then place (spider egg) in slot 0 of block x,y,z if it has inventory. Or if entity (zombie) is y+1 above a block, then place (zombie egg) in slot 0 of block x,y,z if it has inventory.  Is there any way of doing this currently in Mcreator 2019.5 EAP (46321)

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i guess it's: [if] [entity Y…
Tue, 11/26/2019 - 01:34

i guess it's: [if] [entity Y position] = [1]