-
Notifications
You must be signed in to change notification settings - Fork 23
Custom Events
necro50n3 edited this page Oct 20, 2025
·
7 revisions
This is a MOD ADDON ONLY feature. There are three events that are fired.
A cancellable event that is fired right before a player joins or hosts a raid.
Parameters:
ServerPlayer player
RaidBoss raidBoss
boolean isHost
A non-cancellable event that is fired when a player starts their raid battle.
Parameters:
ServerPlayer player
RaidBoss raidBoss
PokemonBattle battle
A non-cancellable event that is fired when the raid is completed.
Parameters:
ServerPlayer player
RaidBoss raidBoss
boolean isWin
A non-cancellable event that is fired when a raid spawns or refreshes.
Parameters:
ServerLevel level
BlockPos blockPos
RaidBoss raidBoss
A non-cancellable event that is fired before a raid spawns or refreshes.
The raid boss can be changed by subscribing to this event.
Parameters:
RaidBoss raidBoss
- Game Mechanics
- Customisation
- For Developers
- Archived