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
Controller ID:
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.
flying_v16Special 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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ticxo.modelengine.api.mount.controller.MountController
MountController.MountInput -
Field Summary
Fields inherited from class com.ticxo.modelengine.api.mount.controller.AbstractMountController
entity, input, mountable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateDriverMovement(MoveController controller, ModeledEntity model) Action performed when the rider is controlling the vehicle as a driver.
This method is called each movement tick of the vehicle.voidupdatePassengerMovement(MoveController controller, ModeledEntity model) 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.Methods inherited from class com.ticxo.modelengine.api.mount.controller.AbstractMountController
updateDirectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ticxo.modelengine.api.mount.controller.MountController
getEntity, getInput, getMountable, setEntity, setInput, setMountable, updateRiderPosition
-
Constructor Details
-
FlyingMountController_v16
public FlyingMountController_v16()
-
-
Method Details
-
updateDriverMovement
Description copied from interface:MountControllerAction 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 vehiclemodel- model of the vehicle
-
updatePassengerMovement
Description copied from interface:MountControllerAction 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 vehiclemodel- model of the vehicle
-