Package ch.njol.skript.events
Class EvtGrow
java.lang.Object
ch.njol.skript.lang.SkriptEvent
ch.njol.skript.events.EvtGrow
- All Implemented Interfaces:
- Debuggable,- SyntaxElement
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancheck(org.bukkit.event.Event e)Checks whether the given Event applies, e.g.booleaninit(Literal<?>[] args, int matchedPattern, SkriptParser.ParseResult parser)called just after the constructortoString(@Nullable org.bukkit.event.Event e, boolean debug)Methods inherited from class ch.njol.skript.lang.SkriptEventgetEventClasses, getEventPriority, init, isEventPrioritySupported, shouldLoadEvent, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.njol.skript.lang.SyntaxElementgetParser
- 
Field Details- 
ANYpublic static final int ANYGrowth event restriction. ANY means any grow event goes. Structure/block restrict for structure/block grow events only.- See Also:
- Constant Field Values
 
- 
STRUCTUREpublic static final int STRUCTUREGrowth event restriction. ANY means any grow event goes. Structure/block restrict for structure/block grow events only.- See Also:
- Constant Field Values
 
- 
BLOCKpublic static final int BLOCKGrowth event restriction. ANY means any grow event goes. Structure/block restrict for structure/block grow events only.- See Also:
- Constant Field Values
 
 
- 
- 
Constructor Details- 
EvtGrowpublic EvtGrow()
 
- 
- 
Method Details- 
initDescription copied from class:SkriptEventcalled just after the constructor- Specified by:
- initin class- SkriptEvent
 
- 
checkpublic boolean check(org.bukkit.event.Event e)Description copied from class:SkriptEventChecks whether the given Event applies, e.g. the leftclick event is only part of the PlayerInteractEvent, and this checks whether the player leftclicked or not. This method will only be called for events this SkriptEvent is registered for.- Specified by:
- checkin class- SkriptEvent
- Returns:
- true if this is SkriptEvent is represented by the Bukkit Event or false if not
 
- 
toString- Parameters:
- e- The event to get information to. This is always null if debug == false.
- debug- If true this should print more information, if false this should print what is shown to the end user
- Returns:
- String representation of this object
 
 
-