Class NetworkEvent.LoginPayloadEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.fmllegacy.network.NetworkEvent
net.minecraftforge.fmllegacy.network.NetworkEvent.LoginPayloadEvent
- Enclosing class:
- NetworkEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.fmllegacy.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
ConstructorDescriptionLoginPayloadEvent(FriendlyByteBuf payload, Supplier<NetworkEvent.Context> source, int loginIndex)
-
Method Summary
Methods inherited from class net.minecraftforge.fmllegacy.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
-
LoginPayloadEvent
LoginPayloadEvent(FriendlyByteBuf payload, Supplier<NetworkEvent.Context> source, int loginIndex)
-