Uses of Class
net.minecraftforge.event.network.CustomPayloadEvent
-
Uses of CustomPayloadEvent in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic boolean
ForgeHooks.onCustomPayload
(CustomPayloadEvent event) -
Uses of CustomPayloadEvent in net.minecraftforge.network
Modifier and TypeMethodDescription<T extends CustomPayloadEvent>
EventNetworkChannelEventNetworkChannel.addListener
(Consumer<T> eventListener) <T extends CustomPayloadEvent>
voidNetworkInstance.addListener
(Consumer<T> eventListener) Modifier and TypeMethodDescriptionboolean
NetworkInstance.dispatch
(CustomPayloadEvent event) private void
SimpleChannel.networkEventListener
(CustomPayloadEvent event) private static void
ChannelListManager.registerListener
(CustomPayloadEvent evt) private static void
ChannelListManager.unregisterListener
(CustomPayloadEvent evt)