Uses of Class
net.minecraftforge.event.network.CustomPayloadEvent.Context
Packages that use CustomPayloadEvent.Context
Package
Description
-
Uses of CustomPayloadEvent.Context in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type CustomPayloadEvent.ContextModifier and TypeMethodDescriptionprivate static voidTierSortingRegistry.handle(TierSortingRegistry.SyncPacket packet, CustomPayloadEvent.Context context) -
Uses of CustomPayloadEvent.Context in net.minecraftforge.event.network
Fields in net.minecraftforge.event.network declared as CustomPayloadEvent.ContextModifier and TypeFieldDescriptionprivate final CustomPayloadEvent.ContextCustomPayloadEvent.sourceMethods in net.minecraftforge.event.network that return CustomPayloadEvent.ContextConstructors in net.minecraftforge.event.network with parameters of type CustomPayloadEvent.ContextModifierConstructorDescriptionCustomPayloadEvent(ResourceLocation channel, FriendlyByteBuf payload, CustomPayloadEvent.Context source, int loginIndex) CustomPayloadEvent(ICustomPacket<?> payload, CustomPayloadEvent.Context source) -
Uses of CustomPayloadEvent.Context in net.minecraftforge.network
Fields in net.minecraftforge.network with type parameters of type CustomPayloadEvent.ContextModifier and TypeFieldDescriptionprivate final BiConsumer<MSG,CustomPayloadEvent.Context> SimpleChannel.Message.consumerThe field for theconsumerrecord component.private BiConsumer<MSG,CustomPayloadEvent.Context> SimpleChannel.MessageBuilder.consumerprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap<BiConsumer<Acknowledge,CustomPayloadEvent.Context>> ForgePacketHandler.pendingAcknowledgmentsMethods in net.minecraftforge.network that return types with arguments of type CustomPayloadEvent.ContextModifier and TypeMethodDescriptionSimpleChannel.Message.consumer()Returns the value of theconsumerrecord component.Methods in net.minecraftforge.network with parameters of type CustomPayloadEvent.ContextModifier and TypeMethodDescriptionprivate static <MSG> voidSimpleChannel.decodeAndDispatch(FriendlyByteBuf data, CustomPayloadEvent.Context ctx, SimpleChannel.Message<MSG> msg) (package private) voidForgePacketHandler.handleChannelVersions(ChannelVersions list, CustomPayloadEvent.Context ctx) (package private) voidForgePacketHandler.handleClientAck(Acknowledge msg, CustomPayloadEvent.Context ctx) (package private) voidForgePacketHandler.handleConfigSync(ConfigData msg, CustomPayloadEvent.Context ctx) (package private) voidForgePacketHandler.handleLoginWrapper(LoginWrapper msg, CustomPayloadEvent.Context ctx) (package private) voidForgePacketHandler.handleModMismatchData(MismatchData data, CustomPayloadEvent.Context ctx) (package private) voidForgePacketHandler.handleModVersions(ModVersions list, CustomPayloadEvent.Context ctx) (package private) voidForgePacketHandler.handleRegistryData(RegistryData msg, CustomPayloadEvent.Context ctx) (package private) voidForgePacketHandler.handleRegistryList(RegistryList list, CustomPayloadEvent.Context ctx) private booleanForgePacketHandler.handleRegistryLoading(CustomPayloadEvent.Context ctx) voidChannel.reply(MSG msg, CustomPayloadEvent.Context context) private static voidChannelListManager.updateFrom(CustomPayloadEvent.Context source, FriendlyByteBuf buffer, ChannelRegistrationChangeEvent.Type changeType) Method parameters in net.minecraftforge.network with type arguments of type CustomPayloadEvent.ContextModifier and TypeMethodDescriptionSimpleChannel.MessageBuilder.consumerMainThread(io.netty.util.AttributeKey<C> key, org.apache.commons.lang3.function.TriConsumer<C, MSG, CustomPayloadEvent.Context> consumer) Set the message consumer, which is called once a message has been decoded.SimpleChannel.MessageBuilder.consumerMainThread(BiConsumer<MSG, CustomPayloadEvent.Context> consumer) Set the message consumer, which is called once a message has been decoded.SimpleChannel.MessageBuilder.consumerNetworkThread(io.netty.util.AttributeKey<C> key, SimpleChannel.MessageBuilder.ToBooleanTriFunction<C, MSG, CustomPayloadEvent.Context> handler) Function returning a boolean "packet handled" indication, for simpler channel building.SimpleChannel.MessageBuilder.consumerNetworkThread(io.netty.util.AttributeKey<C> key, org.apache.commons.lang3.function.TriConsumer<C, MSG, CustomPayloadEvent.Context> consumer) Set the message consumer, which is called once a message has been decoded.SimpleChannel.MessageBuilder.consumerNetworkThread(BiConsumer<MSG, CustomPayloadEvent.Context> consumer) Set the message consumer, which is called once a message has been decoded.SimpleChannel.MessageBuilder.consumerNetworkThread(SimpleChannel.MessageBuilder.ToBooleanBiFunction<MSG, CustomPayloadEvent.Context> handler) Function returning a boolean "packet handled" indication, for simpler channel building.intForgePacketHandler.expectAck(BiConsumer<Acknowledge, CustomPayloadEvent.Context> consumer) -
Uses of CustomPayloadEvent.Context in net.minecraftforge.network.packets
Methods in net.minecraftforge.network.packets with parameters of type CustomPayloadEvent.ContextModifier and TypeMethodDescriptionstatic voidOpenContainer.handle(OpenContainer msg, CustomPayloadEvent.Context ctx) static voidSpawnEntity.handle(SpawnEntity msg, CustomPayloadEvent.Context ctx) -
Uses of CustomPayloadEvent.Context in net.minecraftforge.network.tasks
Methods in net.minecraftforge.network.tasks with parameters of type CustomPayloadEvent.ContextModifier and TypeMethodDescriptionprivate voidSyncRegistriesTask.sendRegistries(Acknowledge msg, CustomPayloadEvent.Context ctx)