Sindarin27 / peeping-creepers

As if normal creepers weren't scary enough...
MIT License
2 stars 0 forks source link

Add functionality to make creepers respect spawn protection #3

Closed itsdinkd closed 2 years ago

itsdinkd commented 3 years ago

Since adding Peeping Creepers for 1.17.1, and disabling their break blocks config, they have been bypassing spawn protecting and blowing up blocks while players choose a origin in spawn.

Sindarin27 commented 3 years ago

Interestingly, this is vanilla behaviour! Mobs, tnt, pistons, etc are all allowed to bypass spawn protection. I'm not sure what to do about that, since adjusting such vanilla behaviours isn't the goal of this mod.

The difference my mod makes that makes this noticeable is probably the fact that the creepers spot you from farther away. Normally, most creepers wouldn't notice a player at spawn.

You could use a mod or data pack that gives players resistance for some time after they spawn. If that's not enough for you, please let me know and I'll put a spawn protection upgrade mod on my idea list.

itsdinkd commented 3 years ago

no worries. I ended up just claiming spawn with Flan, however, I probably would recommend if possible that spawn protection upgrade for other server owners / modpack devs as you are right with the creepers not usually going to spawn but with the range change it occurs frequently.

On Sun, Oct 17, 2021, 10:13 AM Gwyddion Sindarin @.***> wrote:

Interestingly, this is vanilla behaviour! Mobs, tnt, pistons, etc are all allowed to bypass spawn protection. I'm not sure what to do about that, since adjusting such vanilla behaviours isn't the goal of this mod.

The difference my mod makes that makes this noticeable is probably the fact that the creepers spot you from farther away. Normally, most creepers wouldn't notice a player at spawn.

You could use a mod or data pack that gives players resistance for some time after they spawn. If that's not enough for you, please let me know and I'll put a spawn protection upgrade mod on my idea list.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Sindarin27/peeping-creepers/issues/3#issuecomment-945161334, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIL5CKCC5T3IRII6ONE4NY3UHL74BANCNFSM5GE7LRMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

itsdinkd commented 2 years ago

Hi Sindarin, were you able to add that upgrade for spawn protection in the 1.18 release?

Sindarin27 commented 2 years ago

Not yet, but I think this will be doable. I will take a look at it in due time.

Sindarin27 commented 2 years ago

This is now included in the next 1.18 release, version 1.2 when it releases. The default setting keeps the current behaviour, but there will be a config setting protectSpawn to make creepers respect spawn protection. Creepers just barely outside the spawn protection range will still be able to blow up blocks inside the range, as will creepers that have already started blowing up and are then pushed inside the protection range.