Skip to content

1.21 CreatureSpawnEvent.SpawnReason.TRIAL_SPAWNER doesn't seem to work #11200

@mike3132

Description

@mike3132

Expected behavior

I expect it to print the spawn reason as TRIAL_SPAWNER but it instead prints as DEFAULT
I am trying to modify creatures spawned only from trail spawners using CreatureSpawnEvent.SpawnReason.TRIAL_SPAWNER

Observed/Actual behavior

If you try and use the event CreatureSpawnEvent.SpawnReason.TRIAL_SPAWNER in order to modify and detect mobs from trial spawners it doesn't work
https://youtu.be/bMdTV3X8DTw

Steps/models to reproduce

You can see the code in this video https://youtu.be/bMdTV3X8DTw

Plugin and Datapack List

https://prnt.sc/Vxx0HmcdJqOM

Paper version

https://prnt.sc/Kyw29fNx3JCn

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.type: bugSomething doesn't work as it was intended to.version: 1.21Game version 1.21

    Type

    No fields configured for Bug.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions