Package net.minecraftforge.network
Class NetworkEvent.LoginPayloadEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.network.NetworkEvent
net.minecraftforge.network.NetworkEvent.LoginPayloadEvent
- 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
ConstructorDescriptionLoginPayloadEvent
(FriendlyByteBuf payload, Supplier<NetworkEvent.Context> source, int loginIndex) -
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
-
LoginPayloadEvent
LoginPayloadEvent(FriendlyByteBuf payload, Supplier<NetworkEvent.Context> source, int loginIndex)
-