Class EvtGraveLooted
java.lang.Object
org.skriptlang.skript.lang.structure.Structure
ch.njol.skript.lang.SkriptEvent
com.ranull.graves.event.integration.skript.EvtGraveLooted
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable
,ch.njol.skript.lang.SyntaxElement
@Name("Grave Looted Event")
@Description("Triggered when an inventory associated with a grave is completely looted. Provides access to the grave and inventory view.")
@Examples({"on grave looted:","\tbroadcast \"%event-player% completely looted grave %event-grave% at block %event-block% and inventory %event-inventory-view%\""})
public class EvtGraveLooted
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.ListeningBehavior
Nested 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
FieldsModifier and TypeFieldDescriptionprivate ch.njol.skript.lang.Literal
<Grave> private ch.njol.skript.lang.Literal
<org.bukkit.inventory.InventoryView> private ch.njol.skript.lang.Literal
<org.bukkit.entity.Player> Fields inherited from class ch.njol.skript.lang.SkriptEvent
eventPriority, listeningBehavior, PRIORITY, supportsListeningBehavior, trigger
Fields 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, unload
Methods inherited from class org.skriptlang.skript.lang.structure.Structure
getEntryContainer, getSyntaxTypeName, init, parse, parse, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Field Details
-
player
private ch.njol.skript.lang.Literal<org.bukkit.entity.Player> player -
grave
-
inventoryView
private ch.njol.skript.lang.Literal<org.bukkit.inventory.InventoryView> inventoryView
-
-
Constructor Details
-
EvtGraveLooted
public EvtGraveLooted()
-
-
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:
init
in classch.njol.skript.lang.SkriptEvent
-
check
public boolean check(org.bukkit.event.Event e) - Specified by:
check
in classch.njol.skript.lang.SkriptEvent
-
toString
-