Commits
md_5 authored b9df8e9f23b
24 24 | * |
25 25 | * @return The damage |
26 26 | */ |
27 27 | public double getDamage(); |
28 28 | |
29 29 | /** |
30 30 | * Gets the maximum speed of a minecart. The speed is unrelated to the |
31 31 | * velocity. |
32 32 | * |
33 33 | * @return The max speed |
34 - | * @see GameRule#MINECART_MAX_SPEED |
35 34 | */ |
36 - | |
37 35 | public double getMaxSpeed(); |
38 36 | |
39 37 | /** |
40 38 | * Sets the maximum speed of a minecart. Must be nonnegative. Default is |
41 - | * 0.4D. |
39 + | * 0.4D or {@link GameRule#MINECART_MAX_SPEED}. |
42 40 | * |
43 41 | * @param speed The max speed |
44 - | * @see GameRule#MINECART_MAX_SPEED |
45 42 | */ |
46 - | |
47 43 | public void setMaxSpeed(double speed); |
48 44 | |
49 45 | /** |
50 46 | * Returns whether this minecart will slow down faster without a passenger |
51 47 | * occupying it |
52 48 | * |
53 49 | * @return Whether it decelerates faster |
54 50 | */ |
55 51 | public boolean isSlowWhenEmpty(); |
56 52 | |