Mekanism Generators

Mekanism Generators

97M Downloads

Mobs can spawn inside Tanks

Cleardragonf opened this issue ยท 3 comments

commented

Issue description

Pretty much....the multiblock Tanks are having entities spawn inside...so maybe fill it with somethingf that'll kill them? or something?

Steps to reproduce

Build a Multiblock Tank
Then they'll spawn inside eventually

Minecraft version

1.21.1 (Latest)

NeoForge version

N/A

Mekanism version

10.7.0 (Latest)

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response

commented

What mobs specifically are spawning inside of the tanks? This should already be a thing.

commented

normal mobs....it could be a mod that is increasing the mob count...what way are you currently blocking them from pawning inside?

commented

public static boolean isInsideFormedMultiblock(BlockGetter reader, BlockPos pos, @Nullable Mob mob) {

via
public static final AttributeMobSpawn WHEN_NOT_FORMED = new AttributeMobSpawn((state, reader, pos, entityType) -> {