Check for specific entity above a block

Started by v3NTF on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined May 2019
Points:
768

User statistics:

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

Active 3 years ago
Joined Feb 2019
Points:
673

User statistics:

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

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