Darkhax-Minecraft / BadMobs

A very simple minecraft mod which allows users to disable the spawning on any minecraft entity. This will also remove all existing entities of a banned type from that world.
9 stars 10 forks source link

[BUG] Not despawning mobs #84

Open Xzanderaven opened 4 months ago

Xzanderaven commented 4 months ago

Minecraft Version

1.20.1

Mod Version

19.0.2

Mod Loader

Forge

What environment are you running the mod in?

Client

Issue Description

Trying to ban most hostile mobs, set false for all under spawn normally, spawners, eggs, and mob conversion. I'm still getting these mobs, just at a much lower frequency, but they are spawning. I've seen code bits for "aggressively remove", etc, but that isn't listed anywhere in my config file.

Spawning options for minecraft:creeper

[minecraft.creeper]

Should the entity be allowed to spawn normally?

allowNormalSpawning = false

Should spawners be able to spawn the entity?

allowSpawners = false

Should spawn eggs be able to spawn the entity?

allowSpawnEggs = false

Should the entity spawn via mob conversion? i.e. villager -> zombie

allow Conversions = false

That's the only config options showing up for me. All I did was change "true" to false.

How do I fix this?

Darkhax commented 3 months ago

The aggressively remove mobs option was removed because it is now the default behaviour. Are you sure that the mobs that you see are the vanilla versions of that mob? If another mod adds a mob that looks the same but has a different ID it will still be able to spawn. It's also possible that another mod you have installed is interfering with this mod, are you able to recreate the issue with only this mod installed?