General cleanup (deprecated+whitespace)
This commit is contained in:
parent
cbe32fca80
commit
01988e8f6b
@ -75,24 +75,6 @@ public interface Server {
|
|||||||
*/
|
*/
|
||||||
public World[] getWorlds();
|
public World[] getWorlds();
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the in-game time on the server (in hours*1000)
|
|
||||||
*
|
|
||||||
* @return The current time in hours*1000
|
|
||||||
* @deprecated Use World.getTime
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public long getTime();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the in-game time on the server (in hours*1000)
|
|
||||||
*
|
|
||||||
* @param time The time to set the in-game time to (in hours*1000)
|
|
||||||
* @deprecated Use World.setTime
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public void setTime(long time);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reloads the server, refreshing settings and plugin information
|
* Reloads the server, refreshing settings and plugin information
|
||||||
*/
|
*/
|
||||||
|
@ -125,8 +125,7 @@ public interface World {
|
|||||||
* @param spread a reasonable spread is 12
|
* @param spread a reasonable spread is 12
|
||||||
* @return the arrow entity
|
* @return the arrow entity
|
||||||
*/
|
*/
|
||||||
public Arrow spawnArrow(Location loc, Vector velocity,
|
public Arrow spawnArrow(Location loc, Vector velocity, float speed, float spread);
|
||||||
float speed, float spread);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Spawns a tree at a location.
|
* Spawns a tree at a location.
|
||||||
@ -145,8 +144,7 @@ public interface World {
|
|||||||
* @param delegate
|
* @param delegate
|
||||||
* @return whether the tree was created
|
* @return whether the tree was created
|
||||||
*/
|
*/
|
||||||
public boolean generateTree(Location loc, TreeType type,
|
public boolean generateTree(Location loc, TreeType type, BlockChangeDelegate delegate);
|
||||||
BlockChangeDelegate delegate);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Spawns a regular passenger minecart.
|
* Spawns a regular passenger minecart.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user