Class JumpableVehicleEvent

java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.JumpableVehicleEvent

public class JumpableVehicleEvent extends Event
Fired when the client looks up the vehicle the local player's jump key charges a jump for, while there is one. Cancel to hide it: the jump key then charges nothing and no riding jump is sent.
  • Constructor Details

    • JumpableVehicleEvent

      public JumpableVehicleEvent(net.minecraft.world.entity.PlayerRideableJumping vehicle)
  • Method Details

    • getVehicle

      public net.minecraft.world.entity.PlayerRideableJumping getVehicle()