^ ^ ^ ^
Workspace is attached. Check OccultPigNaturalEntitySpawningCondition.
reproducing steps:
1. create a new world with cheats and creative mode
2. do /warp_true_end to travel to the dimension
3. enjoy seeing purple pigs spawn in air and falling into the void even though I made a condition for them to only spawn if y-1 block is purple endstone grassy block "Otherworldly grass"
Issue comments
This is normal.
Entity spawning can be defined in two locations (but only one should be used):
- In the entity creator itself
- From the biome
ONLY option 1. will use custom spawning condition, biome spawning is not that advanced, and uses its own control logic for conditions derived from the spawning type.
Can't see any workspace. Also missing steps to reproduce and details.