Uses of Record Class
net.minecraft.network.protocol.common.ClientboundCustomPayloadPacket
Packages that use ClientboundCustomPayloadPacket
Package
Description
-
Uses of ClientboundCustomPayloadPacket in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type ClientboundCustomPayloadPacketModifier and TypeMethodDescriptionvoid
ClientCommonPacketListenerImpl.handleCustomPayload
(ClientboundCustomPayloadPacket p_295727_) void
ClientConfigurationPacketListenerImpl.handleCustomPayload
(ClientboundCustomPayloadPacket packet) -
Uses of ClientboundCustomPayloadPacket in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common with type parameters of type ClientboundCustomPayloadPacketModifier and TypeFieldDescriptionstatic final PacketType
<ClientboundCustomPayloadPacket> CommonPacketTypes.CLIENTBOUND_CUSTOM_PAYLOAD
static final StreamCodec
<FriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.CONFIG_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.GAMEPLAY_STREAM_CODEC
Methods in net.minecraft.network.protocol.common that return types with arguments of type ClientboundCustomPayloadPacketMethods in net.minecraft.network.protocol.common with parameters of type ClientboundCustomPayloadPacketModifier and TypeMethodDescriptionvoid
ClientCommonPacketListener.handleCustomPayload
(ClientboundCustomPayloadPacket p_294344_) -
Uses of ClientboundCustomPayloadPacket in net.minecraft.network.protocol.common.custom
Methods in net.minecraft.network.protocol.common.custom that return ClientboundCustomPayloadPacketModifier and TypeMethodDescriptiondefault ClientboundCustomPayloadPacket
CustomPacketPayload.toVanillaClientbound()
Returns the vanilla clientbound packet representation of this payload. -
Uses of ClientboundCustomPayloadPacket in net.neoforged.neoforge.network.registration
Methods in net.neoforged.neoforge.network.registration with parameters of type ClientboundCustomPayloadPacketModifier and TypeMethodDescriptionstatic void
NetworkRegistry.handleModdedPayload
(ClientCommonPacketListener listener, ClientboundCustomPayloadPacket packet) Handles modded payloads on the client.