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