Interface CustomPacketPayload
- All Known Implementing Classes:
AdvancedAddEntityPayload
,AdvancedContainerSetDataPayload
,AdvancedOpenScreenPayload
,AuxiliaryLightDataPayload
,BeeDebugPayload
,BrainDebugPayload
,BrandPayload
,BreezeDebugPayload
,ChangeEnabledPayload
,ChangeStatusPayload
,ConfigFilePayload
,DiscardedPayload
,EntityTests.CustomSyncPayload
,FrozenRegistryPayload
,FrozenRegistrySyncCompletedPayload
,FrozenRegistrySyncStartPayload
,GameEventDebugPayload
,GameEventListenerDebugPayload
,GameTestAddMarkerDebugPayload
,GameTestClearMarkersDebugPayload
,GoalDebugPayload
,HiveDebugPayload
,KnownRegistryDataMapsPayload
,KnownRegistryDataMapsReplyPayload
,MinecraftRegisterPayload
,MinecraftUnregisterPayload
,ModdedNetworkPayload
,ModdedNetworkQueryPayload
,ModdedNetworkSetupFailedPayload
,ModMismatchTest.ModMismatchPayload
,NeighborUpdatesDebugPayload
,PathfindingDebugPayload
,PoiAddedDebugPayload
,PoiRemovedDebugPayload
,PoiTicketCountDebugPayload
,RaidsDebugPayload
,RegistryDataMapSyncPayload
,SplitPacketPayload
,StructuresDebugPayload
,VillageSectionsDebugPayload
,WorldGenAttemptDebugPayload
public interface CustomPacketPayload
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static final record
CustomPacketPayload.Type<T extends CustomPacketPayload>
static final record
CustomPacketPayload.TypeAndCodec<B extends FriendlyByteBuf,
T extends CustomPacketPayload> -
Method Summary
Modifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,
T extends CustomPacketPayload>
StreamCodec<B, T> codec
(StreamMemberEncoder<B, T> p_319960_, StreamDecoder<B, T> p_320047_) static <B extends FriendlyByteBuf>
StreamCodec<B, CustomPacketPayload> codec
(CustomPacketPayload.FallbackProvider<B> p_319839_, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> p_320495_, ConnectionProtocol protocol, PacketFlow packetFlow) static <T extends CustomPacketPayload>
CustomPacketPayload.Type<T> createType
(String p_319908_) CustomPacketPayload.Type
<? extends CustomPacketPayload> type()
-
Method Details
-
type
CustomPacketPayload.Type<? extends CustomPacketPayload> type() -
codec
static <B extends io.netty.buffer.ByteBuf,T extends CustomPacketPayload> StreamCodec<B,T> codec(StreamMemberEncoder<B, T> p_319960_, StreamDecoder<B, T> p_320047_) -
createType
-
codec
static <B extends FriendlyByteBuf> StreamCodec<B,CustomPacketPayload> codec(CustomPacketPayload.FallbackProvider<B> p_319839_, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> p_320495_, ConnectionProtocol protocol, PacketFlow packetFlow)
-