public enum ServerboundPackets1_5_2 extends java.lang.Enum<ServerboundPackets1_5_2> implements com.viaversion.viaversion.api.protocol.packet.ServerboundPacketType, PreNettyPacketType
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
java.lang.String |
getName() |
static ServerboundPackets1_5_2 |
getPacket(int id) |
java.util.function.BiConsumer<com.viaversion.viaversion.api.connection.UserConnection,io.netty.buffer.ByteBuf> |
getPacketReader() |
static ServerboundPackets1_5_2 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerboundPackets1_5_2[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfpublic static final ServerboundPackets1_5_2 KEEP_ALIVE
public static final ServerboundPackets1_5_2 LOGIN
public static final ServerboundPackets1_5_2 CLIENT_PROTOCOL
public static final ServerboundPackets1_5_2 CHAT_MESSAGE
public static final ServerboundPackets1_5_2 INTERACT_ENTITY
public static final ServerboundPackets1_5_2 RESPAWN
public static final ServerboundPackets1_5_2 PLAYER_MOVEMENT
public static final ServerboundPackets1_5_2 PLAYER_POSITION
public static final ServerboundPackets1_5_2 PLAYER_ROTATION
public static final ServerboundPackets1_5_2 PLAYER_POSITION_AND_ROTATION
public static final ServerboundPackets1_5_2 PLAYER_DIGGING
public static final ServerboundPackets1_5_2 PLAYER_BLOCK_PLACEMENT
public static final ServerboundPackets1_5_2 HELD_ITEM_CHANGE
public static final ServerboundPackets1_5_2 ANIMATION
public static final ServerboundPackets1_5_2 ENTITY_ACTION
public static final ServerboundPackets1_5_2 CLOSE_WINDOW
public static final ServerboundPackets1_5_2 CLICK_WINDOW
public static final ServerboundPackets1_5_2 WINDOW_CONFIRMATION
public static final ServerboundPackets1_5_2 CREATIVE_INVENTORY_ACTION
public static final ServerboundPackets1_5_2 CLICK_WINDOW_BUTTON
public static final ServerboundPackets1_5_2 UPDATE_SIGN
public static final ServerboundPackets1_5_2 PLAYER_ABILITIES
public static final ServerboundPackets1_5_2 TAB_COMPLETE
public static final ServerboundPackets1_5_2 CLIENT_SETTINGS
public static final ServerboundPackets1_5_2 CLIENT_STATUS
public static final ServerboundPackets1_5_2 PLUGIN_MESSAGE
public static final ServerboundPackets1_5_2 SHARED_KEY
public static final ServerboundPackets1_5_2 SERVER_PING
public static final ServerboundPackets1_5_2 DISCONNECT
public static ServerboundPackets1_5_2[] values()
for (ServerboundPackets1_5_2 c : ServerboundPackets1_5_2.values()) System.out.println(c);
public static ServerboundPackets1_5_2 valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ServerboundPackets1_5_2 getPacket(int id)
public int getId()
getId in interface com.viaversion.viaversion.api.protocol.packet.PacketTypepublic java.lang.String getName()
getName in interface com.viaversion.viaversion.api.protocol.packet.PacketTypepublic java.util.function.BiConsumer<com.viaversion.viaversion.api.connection.UserConnection,io.netty.buffer.ByteBuf> getPacketReader()
getPacketReader in interface PreNettyPacketType