public enum ClientboundPacketsc0_28 extends java.lang.Enum<ClientboundPacketsc0_28> implements com.viaversion.viaversion.api.protocol.packet.ClientboundPacketType, PreNettyPacketType
| Enum Constant and Description |
|---|
BLOCK_CHANGE |
CHAT_MESSAGE |
DESTROY_ENTITIES |
DISCONNECT |
ENTITY_POSITION |
ENTITY_POSITION_AND_ROTATION |
ENTITY_ROTATION |
ENTITY_TELEPORT |
JOIN_GAME |
KEEP_ALIVE |
LEVEL_DATA |
LEVEL_FINALIZE |
LEVEL_INIT |
OP_LEVEL_UPDATE |
SPAWN_PLAYER |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
java.lang.String |
getName() |
static ClientboundPacketsc0_28 |
getPacket(int id) |
java.util.function.BiConsumer<com.viaversion.viaversion.api.connection.UserConnection,io.netty.buffer.ByteBuf> |
getPacketReader() |
static ClientboundPacketsc0_28 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientboundPacketsc0_28[] |
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 ClientboundPacketsc0_28 JOIN_GAME
public static final ClientboundPacketsc0_28 KEEP_ALIVE
public static final ClientboundPacketsc0_28 LEVEL_INIT
public static final ClientboundPacketsc0_28 LEVEL_DATA
public static final ClientboundPacketsc0_28 LEVEL_FINALIZE
public static final ClientboundPacketsc0_28 BLOCK_CHANGE
public static final ClientboundPacketsc0_28 SPAWN_PLAYER
public static final ClientboundPacketsc0_28 ENTITY_TELEPORT
public static final ClientboundPacketsc0_28 ENTITY_POSITION_AND_ROTATION
public static final ClientboundPacketsc0_28 ENTITY_POSITION
public static final ClientboundPacketsc0_28 ENTITY_ROTATION
public static final ClientboundPacketsc0_28 DESTROY_ENTITIES
public static final ClientboundPacketsc0_28 CHAT_MESSAGE
public static final ClientboundPacketsc0_28 DISCONNECT
public static final ClientboundPacketsc0_28 OP_LEVEL_UPDATE
public static ClientboundPacketsc0_28[] values()
for (ClientboundPacketsc0_28 c : ClientboundPacketsc0_28.values()) System.out.println(c);
public static ClientboundPacketsc0_28 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 ClientboundPacketsc0_28 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