Torchmaster

Torchmaster

117M Downloads

[Question] What is the complete list of mobs whose spawn are prevented by the dread lamp?

Mega-Godzilla3000 opened this issue ยท 1 comments

commented

Is it only ocelots, bats, and squids? Is it literally every passive mob? How does the mod decide what is and isnt a passive mob? Furthermore, is there a way to make it so that all passive mobs from a mod still spawn, rather than individual mobs?

commented

Torchmaster uses 2 different lists of entities internally that are generated during startup after all entities have been registered - one for the dread lamp and one for the mega torch.

The difference between these two lists is based on the mob category, which has a helper function to determine if an entity is friendly. Friendly mobs are added to the dreadlamp while non-friendly mobs are added to the mega torch.

return cat != MobCategory.MISC && cat.isFriendly();

This means, by default, all passive mobs, including pigs, cows, sheep but also ocelots, bats and squid (among others) are added to the dread lamp.

The configuration which entity is added to which list is controlled by my EntityFilterList, which does not support wildcards. If you want to allow mobs, you will have to explicitly configure each one.

You can get a list of all entities (for both lists as well as registered to the game) using the /torchmaster entitydump command ingame. Due to the size of this dump, you will not see anything in the game itself. Instead, the dump will be written to the games log file, which you can find in the logs folder of the game.