Skip to content

Custom Events

necro50n3 edited this page Oct 9, 2025 · 7 revisions

This is a MOD ADDON ONLY feature. There are three events that are fired.

Raid Join Event

A cancellable event that is fired right before a player joins or hosts a raid.

Parameters:

ServerPlayer player
RaidBoss raidBoss
boolean isHost

Raid Battle Start Event

A non-cancellable event that is fired when a player starts their raid battle.

Parameters:

ServerPlayer player
RaidBoss raidBoss
PokemonBattle battle

Raid End Event

A non-cancellable event that is fired when the raid is completed.

Parameters:

ServerPlayer player
RaidBoss raidBoss
boolean isWin

Raid Den Spawn Event

A non-cancellable event that is fired when a raid spawns or refreshes.

Parameters:

ServerLevel level
BlockPos blockPos
RaidBoss raidBoss

Clone this wiki locally