geforkt von Mirrors/Paper
Add methods to control thunder.
By: sk89q <the.sk89q@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
28011b1217
Commit
fbb5ca1dc6
@ -438,6 +438,34 @@ public interface World {
|
|||||||
* @param duration Time in ticks
|
* @param duration Time in ticks
|
||||||
*/
|
*/
|
||||||
public void setWeatherDuration(int duration);
|
public void setWeatherDuration(int duration);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns whether there is thunder.
|
||||||
|
*
|
||||||
|
* @return Whether there is thunder
|
||||||
|
*/
|
||||||
|
public boolean isThundering();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set whether it is thundering.
|
||||||
|
*
|
||||||
|
* @param thundering Whether it is thundering
|
||||||
|
*/
|
||||||
|
public void setThundering(boolean thundering);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the thundering duration.
|
||||||
|
*
|
||||||
|
* @return Duration in ticks
|
||||||
|
*/
|
||||||
|
public int getThunderDuration();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the thundering duration.
|
||||||
|
*
|
||||||
|
* @param duration Duration in ticks
|
||||||
|
*/
|
||||||
|
public void setThunderDuration(int duration);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the {@link Environment} type of this world
|
* Gets the {@link Environment} type of this world
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren