@minecraft/serverClassesTrigger本页总览Class: Trigger Represents a trigger for firing an event. Constructors new Trigger() new Trigger(eventName): Trigger Parameters ParameterTypeeventNamestring Returns Trigger Remarks