Class FlyingMountController_v16

java.lang.Object
com.ticxo.modelengine.api.mount.controller.AbstractMountController
com.ticxo.modelengine.api.mount.controller.flying.FlyingMountController_v16
All Implemented Interfaces:
MountController

public class FlyingMountController_v16 extends AbstractMountController
Controller ID: flying_v16
Special airborne controller specifically for 1.16 due to the bug MC-202202.
This controller uses WASD for movement, jump & look up to ascend, jump & look down to descend, and sneak anywhere to dismount.
  • Constructor Details

    • FlyingMountController_v16

      public FlyingMountController_v16()
  • Method Details

    • updateDriverMovement

      public void updateDriverMovement(MoveController controller, ModeledEntity model)
      Description copied from interface: MountController
      Action performed when the rider is controlling the vehicle as a driver.
      This method is called each movement tick of the vehicle.
      Parameters:
      controller - wrapped movement controller of the vehicle
      model - model of the vehicle
    • updatePassengerMovement

      public void updatePassengerMovement(MoveController controller, ModeledEntity model)
      Description copied from interface: MountController
      Action performed when the rider is controlling the vehicle as a passenger.
      This method is called each movement tick of the vehicle.
      Usually, only dismounting through sneaking is handled here, but there are no limits to what the passenger can do.
      Parameters:
      controller - wrapped movement controller of the vehicle
      model - model of the vehicle