Wall blocks not preventing slimes/magma cubes from spawning when lagFreeSpawning is enabled
righteous-coder opened this issue ยท 2 comments
Expected Behavior
When the game tries to spawn a slime or a magma cube on a block which has a wall block next to it, it fails because the wall block's collision box is sticking out. And the lagFreeSpawning option should not change this behavior.
Current Behavior
The lagFreeSpawning option makes slimes and magma cubes able to spawn on such blocks.
Steps to Reproduce
- Create a flat world with non-spawnable blocks on the surface.
- Enable the lagFreeSpawning option.
- In a slime chunk place fully opaque blocks and wall blocks like in the screenshot below.
- Slimes spawn.
Environment
- Carpet mod: 1.3.14
- Minecraft: 1.15.2
- Fabric API: 0.4.24+build.279-1.15
- Fabric loader: 0.7.8+build.184
yeah, that's obvious. I will evaluate if extra checks for blocks with extended collisions is worth the optimization - if yes - will adjust lagFreeSpawning, and if not - will remove it.