mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Reflective toString implementation for all packets [Adds #152]
This commit is contained in:
parent
223e5fb29e
commit
ebee856602
121 changed files with 756 additions and 20 deletions
|
@ -3,6 +3,7 @@ package org.spacehq.mc.protocol.data.game;
|
|||
import org.spacehq.mc.auth.data.GameProfile;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.GameMode;
|
||||
import org.spacehq.mc.protocol.data.message.Message;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
|
||||
public class PlayerListEntry {
|
||||
private GameProfile profile;
|
||||
|
@ -66,4 +67,9 @@ public class PlayerListEntry {
|
|||
result = 31 * result + (this.displayName != null ? this.displayName.hashCode() : 0);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.spacehq.mc.protocol.data.game.entity.attribute;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -58,4 +60,8 @@ public class Attribute {
|
|||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.spacehq.mc.protocol.data.game.entity.metadata;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
|
||||
public class EntityMetadata {
|
||||
private int id;
|
||||
private MetadataType type;
|
||||
|
@ -35,4 +37,9 @@ public class EntityMetadata {
|
|||
result = 31 * result + this.value.hashCode();
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.spacehq.mc.protocol.data.game.entity.metadata;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
|
||||
public class Position {
|
||||
private int x;
|
||||
private int y;
|
||||
|
@ -35,4 +37,9 @@ public class Position {
|
|||
result = 31 * result + this.z;
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package org.spacehq.mc.protocol.packet.handshake.client;
|
||||
|
||||
import org.spacehq.mc.protocol.data.handshake.HandshakeIntent;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.handshake.HandshakeIntent;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -63,4 +64,8 @@ public class HandshakePacket implements Packet {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,8 @@ public class ClientChatPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,8 @@ public class ClientKeepAlivePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,8 @@ public class ClientPluginMessagePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.ClientRequest;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.ClientRequest;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -39,4 +40,8 @@ public class ClientRequestPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.client;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.ResourcePackStatus;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,9 @@ public class ClientResourcePackStatusPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.data.game.setting.ChatVisibility;
|
||||
import org.spacehq.mc.protocol.data.game.setting.SkinPart;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -100,4 +101,8 @@ public class ClientSettingsPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.client;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -62,4 +63,8 @@ public class ClientTabCompletePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.player;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -92,4 +93,8 @@ public class ClientPlayerAbilitiesPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
|||
import org.spacehq.mc.protocol.data.game.entity.player.PlayerAction;
|
||||
import org.spacehq.mc.protocol.data.game.world.block.BlockFace;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -58,4 +59,8 @@ public class ClientPlayerActionPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.player;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,8 @@ public class ClientPlayerChangeHeldItemPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.player;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.InteractAction;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -99,4 +100,8 @@ public class ClientPlayerInteractEntityPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.player;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -86,4 +87,8 @@ public class ClientPlayerMovementPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.player;
|
||||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.world.block.BlockFace;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -82,4 +83,8 @@ public class ClientPlayerPlaceBlockPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,5 +12,4 @@ public class ClientPlayerRotationPacket extends ClientPlayerMovementPacket {
|
|||
this.yaw = yaw;
|
||||
this.pitch = pitch;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.client.player;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.PlayerState;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -59,4 +60,8 @@ public class ClientPlayerStatePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.player;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,9 @@ public class ClientPlayerSwingArmPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.player;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Hand;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,9 @@ public class ClientPlayerUseItemPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.window;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,8 @@ public class ClientCloseWindowPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.window;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -53,4 +54,8 @@ public class ClientConfirmTransactionPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.client.window;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -47,4 +48,8 @@ public class ClientCreativeInventoryActionPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.window;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,8 @@ public class ClientEnchantItemPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.window;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack;
|
||||
import org.spacehq.mc.protocol.data.game.window.ClickItemParam;
|
||||
import org.spacehq.mc.protocol.data.game.window.CreativeGrabParam;
|
||||
import org.spacehq.mc.protocol.data.game.window.DropItemParam;
|
||||
|
@ -12,6 +12,7 @@ import org.spacehq.mc.protocol.data.game.window.SpreadItemParam;
|
|||
import org.spacehq.mc.protocol.data.game.window.WindowAction;
|
||||
import org.spacehq.mc.protocol.data.game.window.WindowActionParam;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -121,4 +122,8 @@ public class ClientWindowActionPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.world;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -36,4 +37,9 @@ public class ClientSpectatePacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.world;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,8 @@ public class ClientSteerBoatPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.world;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -70,4 +71,8 @@ public class ClientSteerVehiclePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.world;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -35,4 +36,9 @@ public class ClientTeleportConfirmPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.client.world;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -56,4 +57,8 @@ public class ClientUpdateSignPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.client.world;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -67,4 +68,9 @@ public class ClientVehicleMovePacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.BossBarAction;
|
||||
import org.spacehq.mc.protocol.data.game.BossBarColor;
|
||||
import org.spacehq.mc.protocol.data.game.BossBarDivision;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.message.Message;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -167,4 +168,9 @@ public class ServerBossBarPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ package org.spacehq.mc.protocol.packet.ingame.server;
|
|||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.MessageType;
|
||||
import org.spacehq.mc.protocol.data.message.Message;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -60,4 +61,8 @@ public class ServerChatPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ package org.spacehq.mc.protocol.packet.ingame.server;
|
|||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.CombatState;
|
||||
import org.spacehq.mc.protocol.data.message.Message;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -85,4 +86,8 @@ public class ServerCombatPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.setting.Difficulty;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -39,4 +40,8 @@ public class ServerDifficultyPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.data.message.Message;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -42,4 +43,8 @@ public class ServerDisconnectPacket implements Packet {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ import org.spacehq.mc.protocol.data.MagicValues;
|
|||
import org.spacehq.mc.protocol.data.game.entity.player.GameMode;
|
||||
import org.spacehq.mc.protocol.data.game.setting.Difficulty;
|
||||
import org.spacehq.mc.protocol.data.game.world.WorldType;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -103,4 +104,8 @@ public class ServerJoinGamePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,8 @@ public class ServerKeepAlivePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.data.message.Message;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -44,4 +45,9 @@ public class ServerPlayerListDataPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ import org.spacehq.mc.protocol.data.game.PlayerListEntry;
|
|||
import org.spacehq.mc.protocol.data.game.PlayerListEntryAction;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.GameMode;
|
||||
import org.spacehq.mc.protocol.data.message.Message;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -145,4 +146,9 @@ public class ServerPlayerListEntryPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,8 @@ public class ServerPluginMessagePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -43,4 +44,9 @@ public class ServerResourcePackSendPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ import org.spacehq.mc.protocol.data.MagicValues;
|
|||
import org.spacehq.mc.protocol.data.game.entity.player.GameMode;
|
||||
import org.spacehq.mc.protocol.data.game.setting.Difficulty;
|
||||
import org.spacehq.mc.protocol.data.game.world.WorldType;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -65,4 +66,8 @@ public class ServerRespawnPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -35,4 +36,9 @@ public class ServerSetCompressionPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,8 @@ public class ServerSetCooldownPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ import org.spacehq.mc.protocol.data.game.statistic.CraftItemStatistic;
|
|||
import org.spacehq.mc.protocol.data.game.statistic.GenericStatistic;
|
||||
import org.spacehq.mc.protocol.data.game.statistic.Statistic;
|
||||
import org.spacehq.mc.protocol.data.game.statistic.UseItemStatistic;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -90,4 +91,8 @@ public class ServerStatisticsPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,8 @@ public class ServerSwitchCameraPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -43,4 +44,8 @@ public class ServerTabCompletePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ package org.spacehq.mc.protocol.packet.ingame.server;
|
|||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.TitleAction;
|
||||
import org.spacehq.mc.protocol.data.message.Message;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -125,4 +126,9 @@ public class ServerTitlePacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.Animation;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -47,4 +48,8 @@ public class ServerEntityAnimationPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,8 @@ public class ServerEntityAttachPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,8 @@ public class ServerEntityCollectItemPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -43,4 +44,8 @@ public class ServerEntityDestroyPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.Effect;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -90,4 +91,8 @@ public class ServerEntityEffectPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.EquipmentSlot;
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -57,4 +58,8 @@ public class ServerEntityEquipmentPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -45,4 +46,8 @@ public class ServerEntityHeadLookPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.EntityMetadata;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -47,4 +48,8 @@ public class ServerEntityMetadataPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -98,4 +99,8 @@ public class ServerEntityMovementPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.attribute.Attribute;
|
||||
import org.spacehq.mc.protocol.data.game.entity.attribute.AttributeModifier;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.attribute.AttributeType;
|
||||
import org.spacehq.mc.protocol.data.game.entity.attribute.ModifierOperation;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -74,4 +75,8 @@ public class ServerEntityPropertiesPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.Effect;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -47,4 +48,8 @@ public class ServerEntityRemoveEffectPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
|
||||
public class ServerEntityRotationPacket extends ServerEntityMovementPacket {
|
||||
|
||||
protected ServerEntityRotationPacket() {
|
||||
|
@ -13,4 +15,8 @@ public class ServerEntityRotationPacket extends ServerEntityMovementPacket {
|
|||
this.pitch = pitch;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -51,4 +52,8 @@ public class ServerEntitySetPassengersPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.EntityStatus;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -47,4 +48,8 @@ public class ServerEntityStatusPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -85,4 +86,8 @@ public class ServerEntityTeleportPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -61,4 +62,8 @@ public class ServerEntityVelocityPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -67,4 +68,9 @@ public class ServerVehicleMovePacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity.player;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -92,4 +93,8 @@ public class ServerPlayerAbilitiesPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity.player;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,8 @@ public class ServerPlayerChangeHeldItemPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity.player;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -53,4 +54,8 @@ public class ServerPlayerHealthPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity.player;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.PositionElement;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -103,4 +104,8 @@ public class ServerPlayerPositionRotationPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity.player;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -53,4 +54,8 @@ public class ServerPlayerSetExperiencePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity.player;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -47,4 +48,8 @@ public class ServerPlayerUseBedPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -69,4 +70,8 @@ public class ServerSpawnExpOrbPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.type.GlobalEntityType;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -71,4 +72,8 @@ public class ServerSpawnGlobalEntityPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.EntityMetadata;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.EntityMetadata;
|
||||
import org.spacehq.mc.protocol.data.game.entity.type.MobType;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -138,4 +139,8 @@ public class ServerSpawnMobPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ import org.spacehq.mc.protocol.data.game.entity.type.object.ObjectData;
|
|||
import org.spacehq.mc.protocol.data.game.entity.type.object.ObjectType;
|
||||
import org.spacehq.mc.protocol.data.game.entity.type.object.ProjectileData;
|
||||
import org.spacehq.mc.protocol.data.game.entity.type.object.SplashPotionData;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -183,4 +184,8 @@ public class ServerSpawnObjectPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
|||
import org.spacehq.mc.protocol.data.game.entity.type.PaintingType;
|
||||
import org.spacehq.mc.protocol.data.game.entity.type.object.HangingDirection;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -75,4 +76,8 @@ public class ServerSpawnPaintingPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.entity.spawn;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.EntityMetadata;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -96,4 +97,8 @@ public class ServerSpawnPlayerPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.scoreboard;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.scoreboard.ScoreboardPosition;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -47,4 +48,8 @@ public class ServerDisplayScoreboardPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.scoreboard;
|
|||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.scoreboard.ObjectiveAction;
|
||||
import org.spacehq.mc.protocol.data.game.scoreboard.ScoreType;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -77,4 +78,8 @@ public class ServerScoreboardObjectivePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ import org.spacehq.mc.protocol.data.game.scoreboard.CollisionRule;
|
|||
import org.spacehq.mc.protocol.data.game.scoreboard.NameTagVisibility;
|
||||
import org.spacehq.mc.protocol.data.game.scoreboard.TeamAction;
|
||||
import org.spacehq.mc.protocol.data.game.scoreboard.TeamColor;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -168,4 +169,8 @@ public class ServerTeamPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.scoreboard;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.scoreboard.ScoreboardAction;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -73,4 +74,8 @@ public class ServerUpdateScorePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.window;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -37,4 +38,8 @@ public class ServerCloseWindowPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.window;
|
||||
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -53,4 +54,8 @@ public class ServerConfirmTransactionPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.window;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.window.WindowType;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -79,4 +80,8 @@ public class ServerOpenWindowPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.window;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -55,4 +56,8 @@ public class ServerSetSlotPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.window;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.ItemStack;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -53,4 +54,8 @@ public class ServerWindowItemsPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.window;
|
|||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.window.property.WindowProperty;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -65,4 +66,8 @@ public class ServerWindowPropertyPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.world;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.data.game.entity.player.BlockBreakStage;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -61,4 +62,8 @@ public class ServerBlockBreakAnimPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.world;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.world.block.BlockChangeRecord;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -40,4 +41,8 @@ public class ServerBlockChangePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.world;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.data.game.world.block.value.BlockValue;
|
||||
import org.spacehq.mc.protocol.data.game.world.block.value.BlockValueType;
|
||||
import org.spacehq.mc.protocol.data.game.world.block.value.ChestValue;
|
||||
|
@ -15,6 +15,7 @@ import org.spacehq.mc.protocol.data.game.world.block.value.NoteBlockValueType;
|
|||
import org.spacehq.mc.protocol.data.game.world.block.value.PistonValue;
|
||||
import org.spacehq.mc.protocol.data.game.world.block.value.PistonValueType;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -134,4 +135,8 @@ public class ServerBlockValuePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.world;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.chunk.Column;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.io.stream.StreamNetOutput;
|
||||
|
@ -54,4 +55,9 @@ public class ServerChunkDataPacket implements Packet {
|
|||
public boolean isPriority() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.world;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.world.block.ExplodedBlockRecord;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -107,4 +108,8 @@ public class ServerExplosionPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.world;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.world.map.MapData;
|
||||
import org.spacehq.mc.protocol.data.game.world.map.MapPlayer;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -108,4 +109,8 @@ public class ServerMapDataPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.world;
|
||||
|
||||
import org.spacehq.mc.protocol.data.game.world.block.BlockState;
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.data.game.world.block.BlockChangeRecord;
|
||||
import org.spacehq.mc.protocol.data.game.world.block.BlockState;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -63,4 +64,8 @@ public class ServerMultiBlockChangePacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ import org.spacehq.mc.protocol.data.game.world.notify.DemoMessageValue;
|
|||
import org.spacehq.mc.protocol.data.game.world.notify.EnterCreditsValue;
|
||||
import org.spacehq.mc.protocol.data.game.world.notify.RainStrengthValue;
|
||||
import org.spacehq.mc.protocol.data.game.world.notify.ThunderStrengthValue;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -73,4 +74,8 @@ public class ServerNotifyClientPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ package org.spacehq.mc.protocol.packet.ingame.server.world;
|
|||
|
||||
import org.spacehq.mc.protocol.data.game.entity.metadata.Position;
|
||||
import org.spacehq.mc.protocol.util.NetUtil;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -39,4 +40,8 @@ public class ServerOpenTileEntityEditorPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package org.spacehq.mc.protocol.packet.ingame.server.world;
|
||||
|
||||
import org.spacehq.mc.protocol.data.MagicValues;
|
||||
import org.spacehq.mc.protocol.data.game.world.sound.SoundCategory;
|
||||
import org.spacehq.mc.protocol.data.game.world.sound.BuiltinSound;
|
||||
import org.spacehq.mc.protocol.data.game.world.sound.SoundCategory;
|
||||
import org.spacehq.mc.protocol.util.ReflectionToString;
|
||||
import org.spacehq.packetlib.io.NetInput;
|
||||
import org.spacehq.packetlib.io.NetOutput;
|
||||
import org.spacehq.packetlib.packet.Packet;
|
||||
|
@ -97,4 +98,8 @@ public class ServerPlayBuiltinSoundPacket implements Packet {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return ReflectionToString.toString(this);
|
||||
}
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue