public class NetworkEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Class and Description |
---|---|
static class |
NetworkEvent.ClientCustomPayloadEvent |
static class |
NetworkEvent.ClientCustomPayloadLoginEvent |
static class |
NetworkEvent.Context
Context for
NetworkEvent |
static class |
NetworkEvent.GatherLoginPayloadsEvent |
static class |
NetworkEvent.LoginPayloadEvent |
static class |
NetworkEvent.ServerCustomPayloadEvent |
static class |
NetworkEvent.ServerCustomPayloadLoginEvent |
Modifier and Type | Method and Description |
---|---|
int |
getLoginIndex() |
PacketBuffer |
getPayload() |
java.util.function.Supplier<NetworkEvent.Context> |
getSource() |
public PacketBuffer getPayload()
public java.util.function.Supplier<NetworkEvent.Context> getSource()
public int getLoginIndex()