Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Warden spawned by shrieker uses DEFAULT SpawnReason

Open evanbeebs2008 opened this issue 3 years ago • 6 comments

Expected behavior

with 80+ wardens in 1 spot no other mobs should be spawning

Observed/Actual behavior

no other mobs should be spawning

Steps/models to reproduce

get 80 wardens spawned look around mobs there is

Plugin and Datapack List

image

Paper version

image

Other

No response

evanbeebs2008 avatar Aug 13 '22 03:08 evanbeebs2008

try setting count-all-mobs-for-spawning to true in the config/paper-world-defaults.yml. this is likely WAI -- how did you spawn the wardens?

e-im avatar Aug 13 '22 03:08 e-im

Should warden's spawn with the NATURAL reason?

Machine-Maker avatar Aug 13 '22 03:08 Machine-Maker

@e-im

try setting count-all-mobs-for-spawning to true in the config/paper-world-defaults.yml. this is likely WAI -- how did you spawn the wardens?

ah that's what was going on was thinking this was a bug.

to your question did with shrieker and with command block both did the same. and after doing that thing in config both were working right

evanbeebs2008 avatar Aug 13 '22 03:08 evanbeebs2008

command block is working as intended shrieker is not. Currently, they just have the DEFAULT reason, not sure that NATURAL quite fits though either as they are somewhat player summoned, not from the natural spawner.

e-im avatar Aug 13 '22 03:08 e-im

What I gave you is a workaround, there is still an issue here. Reopening

e-im avatar Aug 14 '22 17:08 e-im

I think the solution is to change how the "natural" mobs are tracked. Just having a NATURAL spawn reason shouldn't be good enough. Instead, some other flag on "non-natural" mobs should be set, and only mobs without that flag should be counted.

Machine-Maker avatar Aug 14 '22 17:08 Machine-Maker