Package ch.njol.skript.events
Class EvtMoveOn
java.lang.Object
ch.njol.skript.lang.SkriptEvent
ch.njol.skript.lang.SelfRegisteringSkriptEvent
ch.njol.skript.events.EvtMoveOn
- All Implemented Interfaces:
Debuggable,SyntaxElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.block.BlockgetBlock(org.bukkit.event.player.PlayerMoveEvent e)booleaninit(Literal<?>[] args, int matchedPattern, SkriptParser.ParseResult parseResult)called just after the constructorvoidThis method is called after the whole trigger is loaded for events that fire themselves.toString(@Nullable org.bukkit.event.Event e, boolean debug)voidunregister(Trigger t)This method is called to unregister this event registered throughSelfRegisteringSkriptEvent.register(Trigger).voidThis method is called to unregister all events registered throughSelfRegisteringSkriptEvent.register(Trigger).Methods inherited from class ch.njol.skript.lang.SelfRegisteringSkriptEvent
afterParse, check, isEventPrioritySupportedMethods inherited from class ch.njol.skript.lang.SkriptEvent
getEventClasses, getEventPriority, init, shouldLoadEvent, 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
-
Constructor Details
-
EvtMoveOn
public EvtMoveOn()
-
-
Method Details
-
getBlock
public static org.bukkit.block.Block getBlock(org.bukkit.event.player.PlayerMoveEvent e) -
init
Description copied from class:SkriptEventcalled just after the constructor- Specified by:
initin classSkriptEvent
-
register
Description copied from class:SelfRegisteringSkriptEventThis method is called after the whole trigger is loaded for events that fire themselves.- Specified by:
registerin classSelfRegisteringSkriptEvent- Parameters:
trigger- the trigger to register to this event
-
unregister
Description copied from class:SelfRegisteringSkriptEventThis method is called to unregister this event registered throughSelfRegisteringSkriptEvent.register(Trigger).- Specified by:
unregisterin classSelfRegisteringSkriptEvent- Parameters:
t- the same trigger which was registered for this event
-
unregisterAll
public void unregisterAll()Description copied from class:SelfRegisteringSkriptEventThis method is called to unregister all events registered throughSelfRegisteringSkriptEvent.register(Trigger). This is called on all registered events, thus it can also only unregister the event it is called on.- Specified by:
unregisterAllin classSelfRegisteringSkriptEvent
-
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
-