Class NetworkEvent.GatherLoginPayloadsEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.fmllegacy.network.NetworkEvent.GatherLoginPayloadsEvent
- Enclosing class:
- NetworkEvent
public static class NetworkEvent.GatherLoginPayloadsEvent
extends net.minecraftforge.eventbus.api.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGatherLoginPayloadsEvent(List<NetworkRegistry.LoginPayload> loginPayloadList, boolean isLocal)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add(FriendlyByteBuf buffer, ResourceLocation channelName, String context)
boolean
isLocal()
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
collected
-
isLocal
private final boolean isLocal
-
-
Constructor Details
-
GatherLoginPayloadsEvent
public GatherLoginPayloadsEvent(List<NetworkRegistry.LoginPayload> loginPayloadList, boolean isLocal)
-
-
Method Details
-
add
-
isLocal
public boolean isLocal()
-