Package net.neoforged.neoforge.network
Class NetworkEvent.ClientCustomPayloadEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.network.NetworkEvent
net.neoforged.neoforge.network.NetworkEvent.ClientCustomPayloadEvent
- Direct Known Subclasses:
NetworkEvent.ClientCustomPayloadLoginEvent
- Enclosing class:
NetworkEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.network.NetworkEvent
NetworkEvent.ChannelRegistrationChangeEvent, NetworkEvent.ClientCustomPayloadEvent, NetworkEvent.ClientCustomPayloadLoginEvent, NetworkEvent.Context, NetworkEvent.GatherLoginPayloadsEvent, NetworkEvent.LoginPayloadEvent, NetworkEvent.PacketDispatcher, NetworkEvent.RegistrationChangeType, NetworkEvent.ServerCustomPayloadEvent, NetworkEvent.ServerCustomPayloadLoginEvent
Nested classes/interfaces inherited from class net.neoforged.bus.api.Event
net.neoforged.bus.api.Event.HasResult, net.neoforged.bus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionClientCustomPayloadEvent
(ICustomPacketPayloadWithBuffer payload, NetworkEvent.Context source) ClientCustomPayloadEvent
(ICustomQueryPayloadWithBuffer payload, NetworkEvent.Context source) -
Method Summary
Methods inherited from class net.neoforged.neoforge.network.NetworkEvent
getLoginIndex, getPayload, getSource
Methods inherited from class net.neoforged.bus.api.Event
getResult, hasResult, setResult
-
Constructor Details
-
ClientCustomPayloadEvent
ClientCustomPayloadEvent(ICustomQueryPayloadWithBuffer payload, NetworkEvent.Context source) -
ClientCustomPayloadEvent
ClientCustomPayloadEvent(ICustomPacketPayloadWithBuffer payload, NetworkEvent.Context source)
-