mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
@@ -31,19 +31,15 @@ public interface Minecart extends Vehicle {
|
|||||||
* velocity.
|
* velocity.
|
||||||
*
|
*
|
||||||
* @return The max speed
|
* @return The max speed
|
||||||
* @see GameRule#MINECART_MAX_SPEED
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public double getMaxSpeed();
|
public double getMaxSpeed();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the maximum speed of a minecart. Must be nonnegative. Default is
|
* Sets the maximum speed of a minecart. Must be nonnegative. Default is
|
||||||
* 0.4D.
|
* 0.4D or {@link GameRule#MINECART_MAX_SPEED}.
|
||||||
*
|
*
|
||||||
* @param speed The max speed
|
* @param speed The max speed
|
||||||
* @see GameRule#MINECART_MAX_SPEED
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public void setMaxSpeed(double speed);
|
public void setMaxSpeed(double speed);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user