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
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<NetworkRegistry.LoginPayload>
collected
private boolean
isLocal
-
Constructor Summary
Constructors Constructor Description GatherLoginPayloadsEvent(java.util.List<NetworkRegistry.LoginPayload> loginPayloadList, boolean isLocal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(PacketBuffer buffer, ResourceLocation channelName, java.lang.String context)
boolean
isLocal()
-
-
-
Field Detail
-
collected
private final java.util.List<NetworkRegistry.LoginPayload> collected
-
isLocal
private final boolean isLocal
-
-
Constructor Detail
-
GatherLoginPayloadsEvent
public GatherLoginPayloadsEvent(java.util.List<NetworkRegistry.LoginPayload> loginPayloadList, boolean isLocal)
-
-
Method Detail
-
add
public void add(PacketBuffer buffer, ResourceLocation channelName, java.lang.String context)
-
isLocal
public boolean isLocal()
-
-