mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-04-13 09:41:09 +00:00
SPIGOT-7933: Improve custom Minecart max speed
This commit is contained in:
parent
fc49617971
commit
b9df8e9f23
1 changed files with 1 additions and 5 deletions
|
@ -31,19 +31,15 @@ public interface Minecart extends Vehicle {
|
|||
* velocity.
|
||||
*
|
||||
* @return The max speed
|
||||
* @see GameRule#MINECART_MAX_SPEED
|
||||
*/
|
||||
@Deprecated
|
||||
public double getMaxSpeed();
|
||||
|
||||
/**
|
||||
* 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
|
||||
* @see GameRule#MINECART_MAX_SPEED
|
||||
*/
|
||||
@Deprecated
|
||||
public void setMaxSpeed(double speed);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue