Deprecate magic values

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-08-19 13:32:18 -05:00
parent d9f3848e22
commit f9bec6eadd
108 changed files with 1194 additions and 11 deletions

View File

@@ -187,7 +187,9 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* @param loc The location of a note block.
* @param instrument The instrument ID.
* @param note The note ID.
* @deprecated Magic value
*/
@Deprecated
public void playNote(Location loc, byte instrument, byte note);
/**
@@ -225,7 +227,9 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* @param sound the internal sound name to play
* @param volume the volume of the sound
* @param pitch the pitch of the sound
* @deprecated Magic value
*/
@Deprecated
public void playSound(Location location, String sound, float volume, float pitch);
/**
@@ -234,7 +238,9 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* @param loc the location to play the effect at
* @param effect the {@link Effect}
* @param data a data bit needed for some effects
* @deprecated Magic value
*/
@Deprecated
public void playEffect(Location loc, Effect effect, int data);
/**
@@ -253,7 +259,9 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* @param loc The location of the changed block
* @param material The new block
* @param data The block data
* @deprecated Magic value
*/
@Deprecated
public void sendBlockChange(Location loc, Material material, byte data);
/**
@@ -271,7 +279,9 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* @param sz The z size of the cuboid
* @param data The data to be sent
* @return true if the chunk change packet was sent
* @deprecated Magic value
*/
@Deprecated
public boolean sendChunkChange(Location loc, int sx, int sy, int sz, byte[] data);
/**
@@ -281,7 +291,9 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
* @param loc The location of the changed block
* @param material The new block ID
* @param data The block data
* @deprecated Magic value
*/
@Deprecated
public void sendBlockChange(Location loc, int material, byte data);
/**