How to make an entity spawn mid-air?

Started by Kadeee1 on

Topic category: Help with modding (Java Edition)

Last seen on 21:06, 9. Aug 2024
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an entity spawn mid-air?

So I am trying to make an entity spawn mid-air and not on the ground using the Natural Entity Spawning Conditions. checking for air block procedure
This is what I have for the Natural Spawning Conditions. It checks for the air block and then spawns the entity but even when doing this it checks for the block but still spawns on the ground. Also this is for a flying mod otherwise I wouldn't be doing this. 

I can't just do the "Spawn Entity" block since that just ignores the spawn weight and spawn grouping size I have set for the mob. I am not sure what to do to fix this problem since there's only so much you can do inside of the Natural Entity Spawning Conditions procedure.