Trikzon / pitch-dark

A Minecraft mod that forces hostile mobs to only spawn in complete darkness.
MIT License
4 stars 0 forks source link

Add Monster Spawner changes from 1.18 Experimental Snapshot 2 #1

Open NJL5390 opened 3 years ago

NJL5390 commented 3 years ago

Mob spawners that spawn mobs that would normally require light level 0 with this mod (e.g skeletons, zombies, cave spiders, creepers, spiders) would be able to spawn those mobs at light level 11 and below to make mob spawners much more of a challenge.

Feature Description

Monster spawners found in structures throughout the world should be able to spawn mobs at a higher light level than 0. As I've found that with this mod, spawners are way too easy to disable as any light at all will stop them from functioning, making them even easier to disable than in vanilla.

To be consistent with 1.18 experimental snapshot 2 mobs spawners should be able to spawn mobs at light level 11 or below to make them much more of an interesting challenge. If this is too hard for some then this could be provided as a config option instead.

Context and Inspiration

This feature was taken/ inspired by the 1.18 experimental snapshots which implemented this change to make mob spawners harder and not too easy as a result of the change to light level 0 for mobs spawning.

I was inspired to suggest this idea, as when encountering mob spawners in my Forge 1.16 modpack with this mod installed, they were just way too easy to disable as they seemed to adhere to the light level 0 rule implemented by this mod which I don't think should be the case. (As mob spawners are an exception to this rule in the 1.18 experimental snapshots)

Does This Add New Behavior or Change Current Features?

It changes mob spawners to allow them to spawn hostile mobs at light level 11 and below for consistency with 1.18 experimental snapshot 2. This could also be configurable if desired.

Have you already discussed the feature using the discussion feature?

No, as the links to those pages don't lead anywhere.

Trikzon commented 3 years ago

Oop, I guess I forgot to enable the discussion feature. That's fine for this suggestion because it looks good.

I was offline for a week and missed that this was changed in 1.18 ex snapshot 2. I'll implement it soon as I'm going to be porting to forge soon as well.