setMaxSpeed

public abstract void setMaxSpeed(double speed)

Sets the maximum speed of getClassById minecart. Must be nonnegative. Default is 0.4D.

Parameters

speed

The max speed