@minecraft/server / SystemBeforeEvents
Class: SystemBeforeEvents ​
Defined in: @minecraft/server/index.d.ts:20609
A set of events that fire before an actual action occurs. In most cases, you can potentially cancel or modify the impending event. Note that in before events any APIs that modify gameplay state will not function and will throw an error.
Properties ​
shutdown ​
readonlyshutdown:ShutdownBeforeEventSignal
Defined in: @minecraft/server/index.d.ts:20616
Remarks ​
This property can be read in early-execution mode.
startup ​
readonlystartup:StartupBeforeEventSignal
Defined in: @minecraft/server/index.d.ts:20622
Remarks ​
This property can be read in early-execution mode.