Class PlayerVehicleInformation
java.lang.Object
net.minestom.server.entity.vehicle.PlayerVehicleInformation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
void
refresh
(float sideways, float forward, boolean jump, boolean unmount) Refresh internal databoolean
boolean
-
Constructor Details
-
PlayerVehicleInformation
public PlayerVehicleInformation()
-
-
Method Details
-
getSideways
public float getSideways() -
getForward
public float getForward() -
shouldJump
public boolean shouldJump() -
shouldUnmount
public boolean shouldUnmount() -
refresh
public void refresh(float sideways, float forward, boolean jump, boolean unmount) Refresh internal data- Parameters:
sideways
- the new sideways valueforward
- the new forward valuejump
- the new jump valueunmount
- the new unmount value
-