Generic cleanup of warnings, whitespace and style.
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
@@ -37,7 +37,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer {
|
||||
* @param name The new display name.
|
||||
*/
|
||||
public void setDisplayName(String name);
|
||||
|
||||
|
||||
/**
|
||||
* Gets the name that is shown on the player list.
|
||||
*
|
||||
@@ -82,6 +82,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer {
|
||||
|
||||
/**
|
||||
* Gets the socket address of this player
|
||||
*
|
||||
* @return the player's address
|
||||
*/
|
||||
public InetSocketAddress getAddress();
|
||||
@@ -117,12 +118,14 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer {
|
||||
|
||||
/**
|
||||
* Returns if the player is in sneak mode
|
||||
*
|
||||
* @return true if player is in sneak mode
|
||||
*/
|
||||
public boolean isSneaking();
|
||||
|
||||
/**
|
||||
* Sets the sneak mode the player
|
||||
*
|
||||
* @param sneak true if player should appear sneaking
|
||||
*/
|
||||
public void setSneaking(boolean sneak);
|
||||
@@ -214,7 +217,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer {
|
||||
/**
|
||||
* Send a chunk change. This fakes a chunk change packet for a user at
|
||||
* a certain location. The updated cuboid must be entirely within a single
|
||||
* chunk. This will not actually change the world in any way.
|
||||
* chunk. This will not actually change the world in any way.
|
||||
*
|
||||
* At least one of the dimensions of the cuboid must be even. The size of the
|
||||
* data buffer must be 2.5*sx*sy*sz and formatted in accordance with the Packet51
|
||||
|
||||
Reference in New Issue
Block a user