Class PlayerVehicleInformation
java.lang.Object
net.minestom.server.entity.vehicle.PlayerVehicleInformation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatvoidrefresh(float sideways, float forward, boolean jump, boolean unmount) Refresh internal databooleanboolean
-
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
-