Class ModelMountEvent

java.lang.Object
org.bukkit.event.Event
com.ticxo.modelengine.api.events.AbstractEvent
com.ticxo.modelengine.api.events.ModelMountEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class ModelMountEvent extends AbstractEvent implements org.bukkit.event.Cancellable
  • Constructor Details

    • ModelMountEvent

      public ModelMountEvent(ActiveModel vehicle, org.bukkit.entity.Entity passenger, boolean isDriver, Mount seat)
  • Method Details

    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getVehicle

      public ActiveModel getVehicle()
    • getPassenger

      public org.bukkit.entity.Entity getPassenger()
    • isDriver

      public boolean isDriver()
    • getSeat

      public Mount getSeat()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable