mojira.dev
MCPE-237758

Sulfur Cubes Incorrectly Use Creeper's Space Detection Range (1.8 Blocks Tall) Instead of Their Actual Height

Description:
In the latest beta versions 26.20.23/24, the newly added Sulfur Cube mob (spawning in sulfur caves) has an actual collision box size of approximately 0.98×0.98×0.98 blocks. However, its space detection range for spawning uses the same values as a creeper (0.6×1.8×0.6). This mismatch means that height-based spawning restrictions designed to filter mobs by size do not work correctly with Sulfur Cubes—they are treated as 1.8-block-tall mobs for spawning checks, despite being less than 1 block tall. This prevents players from creating farms that selectively spawn only Sulfur Cubes while excluding creepers using ceiling height limitations.

How to Reproduce:

  1. Construct a spawning platform with a ceiling height of just over 1 block (e.g., using bottom slabs or a trapdoor in the lowered position).

  2. Ensure the spawning area is within a sulfur cave biome or under conditions where both Sulfur Cubes and creepers can spawn.

  3. Observe mob spawning behavior on the platform.

Observed Result:

  • When the ceiling height is set to approximately 1 block, creepers are correctly prevented from spawning (as they require 1.8 blocks of vertical space).

  • Sulfur Cubes are also prevented from spawning, despite their actual height being under 1 block.

  • If the ceiling is raised to 1.8 blocks or removed, both mobs spawn normally.

  • This indicates Sulfur Cubes use the creeper’s space detection (1.8-block height requirement) rather than their own actual size.

Expected Result:

  • Sulfur Cubes should use their actual collision box size (approximately 0.98×0.98×0.98) for space detection when spawning.

  • They should be able to spawn in spaces as low as 1 block, similar to other small mobs like spiders or baby zombies.

  • Players should be able to use ceiling height restrictions to selectively farm Sulfur Cubes without also allowing creeper spawns.

Additional Notes:
This is reminiscent of a similar issue with creepers and magma cubes prior to version 1.19.60, where incorrect space detection was eventually fixed. The Sulfur Cube’s current spawning logic appears to have been incorrectly copied from the creeper, likely as an oversight during implementation. Fixing this is essential for technical players who wish to design efficient and selective mob farms in sulfur cave biomes.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

LiShang

(Unassigned)

Plausible

Multiple

26.20.23/24

26.20.23/24 Preview

Retrieved