Package net.minecraftforge.event.network
Class CustomPayloadEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.network.CustomPayloadEvent
public class CustomPayloadEvent
extends net.minecraftforge.eventbus.api.Event
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ResourceLocationprivate final FriendlyByteBufprivate final intprivate final Objectprivate final CustomPayloadEvent.Context
- 
Constructor SummaryConstructorsConstructorDescriptionCustomPayloadEvent(ResourceLocation channel, Object payload, CustomPayloadEvent.Context source, int loginIndex) 
- 
Method SummaryMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
channel
- 
payload
- 
data
- 
source
- 
loginIndexprivate final int loginIndex
 
- 
- 
Constructor Details- 
CustomPayloadEventpublic CustomPayloadEvent(ResourceLocation channel, Object payload, CustomPayloadEvent.Context source, int loginIndex) 
 
- 
- 
Method Details- 
getChannel
- 
getPayload
- 
getPayloadObject
- 
getLoginIndexpublic int getLoginIndex()
- 
getSource
 
-