Package net.minecraftforge.network
Class NetworkEvent.ClientCustomPayloadEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.network.NetworkEvent
net.minecraftforge.network.NetworkEvent.ClientCustomPayloadEvent
- Direct Known Subclasses:
NetworkEvent.ClientCustomPayloadLoginEvent
- Enclosing class:
- NetworkEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.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.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionClientCustomPayloadEvent
(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source) -
Method Summary
Methods inherited from class net.minecraftforge.network.NetworkEvent
getLoginIndex, getPayload, getSource
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
ClientCustomPayloadEvent
ClientCustomPayloadEvent(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source)
-