Class OnRTPEvent
java.lang.Object
org.bukkit.event.Event
fr.fuzeblocks.homeplugin.core.event.OnEventAction
fr.fuzeblocks.homeplugin.core.event.OnRTPEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
The type On rtp event.
Destination is provided to the parent via 'to'. Origin comes from 'from'.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionOnRTPEvent(org.bukkit.entity.Player player, org.bukkit.Location to) Instantiates a new On rtp event.OnRTPEvent(org.bukkit.entity.Player player, org.bukkit.Location from, org.bukkit.Location to) Instantiates a new On rtp event. -
Method Summary
Methods inherited from class OnEventAction
getFrom, getHandlerList, getHandlers, getHomeName, getLocation, getPlayer, getTo, getType, isCancelled, setCancelled, setHomeNameMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
OnRTPEvent
public OnRTPEvent(org.bukkit.entity.Player player, org.bukkit.Location to) Instantiates a new On rtp event.- Parameters:
player- the playerto- the to
-
OnRTPEvent
public OnRTPEvent(org.bukkit.entity.Player player, org.bukkit.Location from, org.bukkit.Location to) Instantiates a new On rtp event.- Parameters:
player- the playerfrom- the fromto- the to
-