@minecraft/serverClassesTriggerOn this pageClass: Trigger Represents a trigger for firing an event. Constructors new Trigger() new Trigger(eventName): Trigger Parameters ParameterTypeeventNamestring Returns Trigger Remarks Creates a new trigger. Properties eventName eventName: string Remarks Event name of the trigger.