Class EvtGravePostCreate
java.lang.Object
org.skriptlang.skript.lang.structure.Structure
ch.njol.skript.lang.SkriptEvent
dev.cwhead.GravesX.event.integration.skript.EvtGravePostCreate
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable,ch.njol.skript.lang.SyntaxElement
@Name("Grave Post Create Event")
@Description("Triggered after a grave create attempt completes (after placement). Provides access to the entity, grave, and placed location (nullable).")
@Examples({"on grave post create:","\tbroadcast \"Grave %event-grave% post-created for entity %event-entity%\"","\tif event-placed location is set:","\t\tbroadcast \"Placed at %event-placed location%\"","\telse:","\t\tbroadcast \"Grave was not placed\""})
public class EvtGravePostCreate
extends ch.njol.skript.lang.SkriptEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.njol.skript.lang.SkriptEvent
ch.njol.skript.lang.SkriptEvent.ListeningBehaviorNested classes/interfaces inherited from class org.skriptlang.skript.lang.structure.Structure
org.skriptlang.skript.lang.structure.Structure.Priority, org.skriptlang.skript.lang.structure.Structure.StructureData -
Field Summary
Fields inherited from class ch.njol.skript.lang.SkriptEvent
eventPriority, listeningBehavior, PRIORITY, supportsListeningBehavior, triggerFields inherited from class org.skriptlang.skript.lang.structure.Structure
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.njol.skript.lang.SkriptEvent
canExecuteAsynchronously, fixPattern, getEventClasses, getEventPriority, getListeningBehavior, getPriority, init, isEventPrioritySupported, isListeningBehaviorSupported, load, parse, postLoad, postUnload, preLoad, shouldLoadEvent, unloadMethods inherited from class org.skriptlang.skript.lang.structure.Structure
getEntryContainer, getSyntaxTypeName, init, parse, parse, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser, preInit
-
Constructor Details
-
EvtGravePostCreate
public EvtGravePostCreate()
-
-
Method Details
-
init
public boolean init(ch.njol.skript.lang.Literal<?> @NotNull [] args, int matchedPattern, @NotNull @NotNull ch.njol.skript.lang.SkriptParser.ParseResult parseResult) - Specified by:
initin classch.njol.skript.lang.SkriptEvent
-
check
public boolean check(org.bukkit.event.Event e) - Specified by:
checkin classch.njol.skript.lang.SkriptEvent
-
toString
-