public class NetworkEvent extends Event
修飾子とタイプ | クラスと説明 |
---|---|
static class |
NetworkEvent.ChannelRegistrationChangeEvent
Fired when the channel registration (see minecraft custom channel documentation) changes.
|
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.RegistrationChangeType |
static class |
NetworkEvent.ServerCustomPayloadEvent |
static class |
NetworkEvent.ServerCustomPayloadLoginEvent |
Event.HasResult, Event.Result
コンストラクタと説明 |
---|
NetworkEvent(java.util.function.Supplier<NetworkEvent.Context> source) |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getLoginIndex() |
PacketBuffer |
getPayload() |
java.util.function.Supplier<NetworkEvent.Context> |
getSource() |
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public NetworkEvent(java.util.function.Supplier<NetworkEvent.Context> source)
public PacketBuffer getPayload()
public java.util.function.Supplier<NetworkEvent.Context> getSource()
public int getLoginIndex()