Package dev.itsharshxd.zentrix.api.scenario.hook
package dev.itsharshxd.zentrix.api.scenario.hook
-
ClassDescriptionGameplayHook<R,
V> A typed decision point in Zentrix's default gameplay that a scenario may take over.GameplayHookHandler<R,V> A scenario's answer to one gameplay decision point.The gameplay decision points Zentrix consults active scenarios about.A block broken by a player inside the match.A crafting result about to be shown to a player of the match.Damage about to be applied to a player in the match.The deathmatch Zentrix is about to start, described as it would run it on its own.A player of the match dying.An entity killed inside the match.Zentrix's periodic check of whether the match is over.A registered gameplay override, kept only so a scenario can drop it early.HookOutcome<V>What a scenario decided about one gameplay decision point.The three answers a handler can give.