Package net.minecraftforge.network
Class NetworkEvent.ServerCustomPayloadEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.network.NetworkEvent
net.minecraftforge.network.NetworkEvent.ServerCustomPayloadEvent
- Direct Known Subclasses:
NetworkEvent.ServerCustomPayloadLoginEvent
- 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
ConstructorDescriptionServerCustomPayloadEvent
(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
-
ServerCustomPayloadEvent
ServerCustomPayloadEvent(ICustomPacket<?> payload, Supplier<NetworkEvent.Context> source)
-