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