I'm working on an idea, I have this so far:
EntityEvents.spawned(event => {
let { entity, player, level, server } = event
if (!entity.type == 'minecraft:zombie') return
if (player.stages.has('no_zombie')){
event.cancel()
}
})```
But it says "cannot read property stages from null," so I'm wondering if there's any way to grab info about the player in this event at all? Or do I need to buckle down and try GameStages mod?