Class ClientboundCustomPayloadPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundCustomPayloadPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
,ICustomPacket<ClientboundCustomPayloadPacket>
public class ClientboundCustomPayloadPacket
extends Object
implements Packet<ClientGamePacketListener>, ICustomPacket<ClientboundCustomPayloadPacket>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.network.ICustomPacket
ICustomPacket.Fields
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceLocation
private final FriendlyByteBuf
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
private final ResourceLocation
private static final int
private final boolean
-
Constructor Summary
ConstructorDescriptionClientboundCustomPayloadPacket
(FriendlyByteBuf p_178836_) ClientboundCustomPayloadPacket
(ResourceLocation p_132034_, FriendlyByteBuf p_132035_) -
Method Summary
Modifier and TypeMethodDescriptiongetData()
void
handle
(ClientGamePacketListener p_132041_) void
write
(FriendlyByteBuf p_132044_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.network.ICustomPacket
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setName
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
MAX_PAYLOAD_SIZE
private static final int MAX_PAYLOAD_SIZE- See Also:
-
BRAND
-
DEBUG_PATHFINDING_PACKET
-
DEBUG_NEIGHBORSUPDATE_PACKET
-
DEBUG_STRUCTURES_PACKET
-
DEBUG_WORLDGENATTEMPT_PACKET
-
DEBUG_POI_TICKET_COUNT_PACKET
-
DEBUG_POI_ADDED_PACKET
-
DEBUG_POI_REMOVED_PACKET
-
DEBUG_VILLAGE_SECTIONS
-
DEBUG_GOAL_SELECTOR
-
DEBUG_BRAIN
-
DEBUG_BEE
-
DEBUG_HIVE
-
DEBUG_GAME_TEST_ADD_MARKER
-
DEBUG_GAME_TEST_CLEAR
-
DEBUG_RAIDS
-
DEBUG_GAME_EVENT
-
DEBUG_GAME_EVENT_LISTENER
-
identifier
-
data
-
shouldRelease
private final boolean shouldRelease
-
-
Constructor Details
-
ClientboundCustomPayloadPacket
-
ClientboundCustomPayloadPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getIdentifier
-
getData
-