Package net.minecraftforge.fml.network
Class NetworkEvent.GatherLoginPayloadsEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.fml.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
Modifier and TypeFieldDescriptionprivate final List<NetworkRegistry.LoginPayload>
private final boolean
-
Constructor Summary
ConstructorDescriptionGatherLoginPayloadsEvent
(List<NetworkRegistry.LoginPayload> loginPayloadList, boolean isLocal) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(PacketBuffer 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()
-