Uses of Interface
net.minecraft.network.IPacket
Packages that use IPacket
Package
Description
-
Uses of IPacket in net.minecraft.client.network.play
Methods in net.minecraft.client.network.play with parameters of type IPacket -
Uses of IPacket in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type IPacket -
Uses of IPacket in net.minecraft.entity
Methods in net.minecraft.entity that return IPacketModifier and TypeMethodDescriptionIPacket<?>
AreaEffectCloudEntity.getAddEntityPacket()
abstract IPacket<?>
Entity.getAddEntityPacket()
IPacket<?>
LivingEntity.getAddEntityPacket()
-
Uses of IPacket in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon that return IPacket -
Uses of IPacket in net.minecraft.entity.effect
Methods in net.minecraft.entity.effect that return IPacket -
Uses of IPacket in net.minecraft.entity.item
Methods in net.minecraft.entity.item that return IPacketModifier and TypeMethodDescriptionIPacket<?>
BoatEntity.getAddEntityPacket()
IPacket<?>
EnderCrystalEntity.getAddEntityPacket()
IPacket<?>
ExperienceOrbEntity.getAddEntityPacket()
IPacket<?>
FallingBlockEntity.getAddEntityPacket()
IPacket<?>
ItemEntity.getAddEntityPacket()
IPacket<?>
ItemFrameEntity.getAddEntityPacket()
IPacket<?>
LeashKnotEntity.getAddEntityPacket()
IPacket<?>
PaintingEntity.getAddEntityPacket()
IPacket<?>
TNTEntity.getAddEntityPacket()
-
Uses of IPacket in net.minecraft.entity.item.minecart
Methods in net.minecraft.entity.item.minecart that return IPacket -
Uses of IPacket in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return IPacketMethods in net.minecraft.entity.player with parameters of type IPacketModifier and TypeMethodDescriptionvoid
ServerPlayerEntity.trackChunk
(ChunkPos p_213844_1_, IPacket<?> p_213844_2_, IPacket<?> p_213844_3_) -
Uses of IPacket in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return IPacketModifier and TypeMethodDescriptionIPacket<?>
AbstractArrowEntity.getAddEntityPacket()
IPacket<?>
DamagingProjectileEntity.getAddEntityPacket()
IPacket<?>
EvokerFangsEntity.getAddEntityPacket()
IPacket<?>
EyeOfEnderEntity.getAddEntityPacket()
IPacket<?>
FireworkRocketEntity.getAddEntityPacket()
IPacket<?>
FishingBobberEntity.getAddEntityPacket()
IPacket<?>
LlamaSpitEntity.getAddEntityPacket()
IPacket<?>
ShulkerBulletEntity.getAddEntityPacket()
IPacket<?>
ThrowableEntity.getAddEntityPacket()
-
Uses of IPacket in net.minecraft.item
Methods in net.minecraft.item that return IPacketModifier and TypeMethodDescriptionIPacket<?>
AbstractMapItem.getUpdatePacket
(ItemStack p_150911_1_, World p_150911_2_, PlayerEntity p_150911_3_) IPacket<?>
FilledMapItem.getUpdatePacket
(ItemStack p_150911_1_, World p_150911_2_, PlayerEntity p_150911_3_) -
Uses of IPacket in net.minecraft.network
Fields in net.minecraft.network declared as IPacketFields in net.minecraft.network with type parameters of type IPacketModifier and TypeFieldDescriptionProtocolType.PacketList.classToId
ProtocolType.PacketList.idToConstructor
private static final Map<Class<? extends IPacket<?>>,
ProtocolType> ProtocolType.PROTOCOL_BY_PACKET
Methods in net.minecraft.network with type parameters of type IPacketMethods in net.minecraft.network that return IPacketModifier and TypeMethodDescriptionIPacket<?>
ProtocolType.createPacket
(PacketDirection p_179244_1_, int p_179244_2_) IPacket<?>
ProtocolType.PacketList.createPacket
(int p_229718_1_) Methods in net.minecraft.network that return types with arguments of type IPacketMethods in net.minecraft.network with parameters of type IPacketModifier and TypeMethodDescriptionprotected void
NetworkManager.channelRead0
(io.netty.channel.ChannelHandlerContext p_channelRead0_1_, IPacket<?> p_channelRead0_2_) protected void
NettyPacketEncoder.encode
(io.netty.channel.ChannelHandlerContext p_encode_1_, IPacket<?> p_encode_2_, io.netty.buffer.ByteBuf p_encode_3_) static <T extends INetHandler>
voidPacketThreadUtil.ensureRunningOnSameThread
(IPacket<T> p_218797_0_, T p_218797_1_, ThreadTaskExecutor<?> p_218797_2_) static <T extends INetHandler>
voidPacketThreadUtil.ensureRunningOnSameThread
(IPacket<T> p_218796_0_, T p_218796_1_, ServerWorld p_218796_2_) private static <T extends INetHandler>
voidNetworkManager.genericsFtw
(IPacket<T> p_197664_0_, INetHandler p_197664_1_) ProtocolType.getPacketId
(PacketDirection p_179246_1_, IPacket<?> p_179246_2_) static ProtocolType
ProtocolType.getProtocolForPacket
(IPacket<?> p_150752_0_) void
void
NetworkManager.send
(IPacket<?> p_201058_1_, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> p_201058_2_) private void
NetworkManager.sendPacket
(IPacket<?> p_150732_1_, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> p_150732_2_) Constructors in net.minecraft.network with parameters of type IPacketModifierConstructorDescriptionQueuedPacket
(IPacket<?> p_i48604_1_, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> p_i48604_2_) -
Uses of IPacket in net.minecraft.network.handshake.client
Classes in net.minecraft.network.handshake.client that implement IPacket -
Uses of IPacket in net.minecraft.network.login.client
Classes in net.minecraft.network.login.client that implement IPacketModifier and TypeClassDescriptionclass
class
class
-
Uses of IPacket in net.minecraft.network.login.server
Classes in net.minecraft.network.login.server that implement IPacketModifier and TypeClassDescriptionclass
class
class
class
class
-
Uses of IPacket in net.minecraft.network.play
Methods in net.minecraft.network.play with parameters of type IPacket -
Uses of IPacket in net.minecraft.network.play.client
Classes in net.minecraft.network.play.client that implement IPacketModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
static class
static class
static class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
-
Uses of IPacket in net.minecraft.network.play.server
Classes in net.minecraft.network.play.server that implement IPacketModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
static class
static class
static class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
-
Uses of IPacket in net.minecraft.network.status.client
Classes in net.minecraft.network.status.client that implement IPacket -
Uses of IPacket in net.minecraft.network.status.server
Classes in net.minecraft.network.status.server that implement IPacket -
Uses of IPacket in net.minecraft.scoreboard
Methods in net.minecraft.scoreboard that return types with arguments of type IPacketModifier and TypeMethodDescriptionServerScoreboard.getStartTrackingPackets
(ScoreObjective p_96550_1_) ServerScoreboard.getStopTrackingPackets
(ScoreObjective p_96548_1_) -
Uses of IPacket in net.minecraft.server.management
Methods in net.minecraft.server.management with parameters of type IPacketModifier and TypeMethodDescriptionvoid
PlayerList.broadcast
(PlayerEntity p_148543_1_, double p_148543_2_, double p_148543_4_, double p_148543_6_, double p_148543_8_, RegistryKey<World> p_148543_10_, IPacket<?> p_148543_11_) void
PlayerList.broadcastAll
(IPacket<?> p_148540_1_) void
PlayerList.broadcastAll
(IPacket<?> p_232642_1_, RegistryKey<World> p_232642_2_) -
Uses of IPacket in net.minecraft.world
Fields in net.minecraft.world with type parameters of type IPacketMethods in net.minecraft.world with parameters of type IPacketModifier and TypeMethodDescriptionprivate void
TrackedEntity.broadcastAndSend
(IPacket<?> p_219451_1_) void
World.sendPacketToServer
(IPacket<?> p_184135_1_) Method parameters in net.minecraft.world with type arguments of type IPacketModifier and TypeMethodDescriptionvoid
TrackedEntity.sendPairingData
(Consumer<IPacket<?>> p_219452_1_) Constructor parameters in net.minecraft.world with type arguments of type IPacketModifierConstructorDescriptionTrackedEntity
(ServerWorld p_i50704_1_, Entity p_i50704_2_, int p_i50704_3_, boolean p_i50704_4_, Consumer<IPacket<?>> p_i50704_5_) -
Uses of IPacket in net.minecraft.world.server
Methods in net.minecraft.world.server with parameters of type IPacketModifier and TypeMethodDescriptionprivate void
protected void
void
void
protected void
ChunkManager.broadcastAndSend
(Entity p_219225_1_, IPacket<?> p_219225_2_) void
ChunkManager.EntityTracker.broadcastAndSend
(IPacket<?> p_219392_1_) void
ServerChunkProvider.broadcastAndSend
(Entity p_217216_1_, IPacket<?> p_217216_2_) private void
ChunkManager.playerLoadedChunk
(ServerPlayerEntity p_219180_1_, IPacket<?>[] p_219180_2_, Chunk p_219180_3_) private boolean
ServerWorld.sendParticles
(ServerPlayerEntity p_195601_1_, boolean p_195601_2_, double p_195601_3_, double p_195601_5_, double p_195601_7_, IPacket<?> p_195601_9_) protected void
ChunkManager.updateChunkTracking
(ServerPlayerEntity p_219199_1_, ChunkPos p_219199_2_, IPacket<?>[] p_219199_3_, boolean p_219199_4_, boolean p_219199_5_) -
Uses of IPacket in net.minecraft.world.storage
Methods in net.minecraft.world.storage that return IPacketModifier and TypeMethodDescriptionIPacket<?>
MapData.getUpdatePacket
(ItemStack p_176052_1_, IBlockReader p_176052_2_, PlayerEntity p_176052_3_) IPacket<?>
MapData.MapInfo.nextUpdatePacket
(ItemStack p_176101_1_) -
Uses of IPacket in net.minecraftforge.common.util
Methods in net.minecraftforge.common.util with parameters of type IPacket -
Uses of IPacket in net.minecraftforge.entity
Methods in net.minecraftforge.entity that return IPacket -
Uses of IPacket in net.minecraftforge.fml.network
Classes in net.minecraftforge.fml.network with type parameters of type IPacketFields in net.minecraftforge.fml.network with type parameters of type IPacketModifier and TypeFieldDescriptionprivate final BiFunction<PacketDistributor<T>,
Supplier<T>, Consumer<IPacket<?>>> PacketDistributor.functor
NetworkDirection.packetClass
PacketDistributor.PacketTarget.packetConsumer
private static final it.unimi.dsi.fastutil.objects.Reference2ReferenceArrayMap<Class<? extends IPacket>,
NetworkDirection> NetworkDirection.packetLookup
Methods in net.minecraftforge.fml.network with type parameters of type IPacketModifier and TypeMethodDescription<T extends IPacket<?>>
ICustomPacket<T>NetworkDirection.buildPacket
(org.apache.commons.lang3.tuple.Pair<PacketBuffer, Integer> packetData, ResourceLocation channelName) Methods in net.minecraftforge.fml.network that return IPacketModifier and TypeMethodDescriptionstatic IPacket<?>
NetworkHooks.getEntitySpawningPacket
(Entity entity) Methods in net.minecraftforge.fml.network that return types with arguments of type IPacketModifier and TypeMethodDescriptionPacketDistributor.clientToServer
(Supplier<Void> voidSupplier) NetworkDirection.getPacketClass()
PacketDistributor.networkManagerList
(Supplier<List<NetworkManager>> nmListSupplier) PacketDistributor.playerConsumer
(Supplier<ServerPlayerEntity> entityPlayerMPSupplier) PacketDistributor.playerListAll
(Supplier<Void> voidSupplier) PacketDistributor.playerListDimConsumer
(Supplier<RegistryKey<World>> dimensionTypeSupplier) PacketDistributor.playerListPointConsumer
(Supplier<PacketDistributor.TargetPoint> targetPointSupplier) PacketDistributor.trackingChunk
(Supplier<Chunk> chunkPosSupplier) PacketDistributor.trackingEntity
(Supplier<Entity> entitySupplier) PacketDistributor.trackingEntityAndSelf
(Supplier<Entity> entitySupplier) Methods in net.minecraftforge.fml.network with parameters of type IPacketConstructor parameters in net.minecraftforge.fml.network with type arguments of type IPacketModifierConstructorDescriptionprivate
NetworkDirection
(BiFunction<ICustomPacket<?>, Supplier<NetworkEvent.Context>, NetworkEvent> eventSupplier, LogicalSide logicalSide, Class<? extends IPacket> clazz, int i) PacketDistributor
(BiFunction<PacketDistributor<T>, Supplier<T>, Consumer<IPacket<?>>> functor, NetworkDirection direction) (package private)
PacketTarget
(Consumer<IPacket<?>> packetConsumer, PacketDistributor<?> distributor) -
Uses of IPacket in net.minecraftforge.fml.network.simple
Methods in net.minecraftforge.fml.network.simple that return IPacketModifier and TypeMethodDescription<MSG> IPacket<?>
SimpleChannel.toVanillaPacket
(MSG message, NetworkDirection direction) -
Uses of IPacket in net.minecraftforge.network
Fields in net.minecraftforge.network with type parameters of type IPacketModifier and TypeFieldDescriptionVanillaPacketFilter.handlers
VanillaPacketFilter.handlers
VanillaPacketFilter.handlers
Methods in net.minecraftforge.network with type parameters of type IPacketModifier and TypeMethodDescriptionprotected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.Methods in net.minecraftforge.network that return types with arguments of type IPacketModifier and TypeMethodDescriptionForgeConnectionNetworkFilter.buildHandlers
(NetworkManager manager) ForgeConnectionNetworkFilter.buildHandlers
(NetworkManager manager) ForgeConnectionNetworkFilter.buildHandlers
(NetworkManager manager) protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.Methods in net.minecraftforge.network with parameters of type IPacketModifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ProtocolType protocol, PacketDirection direction, IPacket<?> packet, List<? super IPacket<?>> out) Append the given packet to the given list.protected void
VanillaPacketFilter.encode
(io.netty.channel.ChannelHandlerContext ctx, IPacket<?> msg, List<Object> out) private static boolean
VanillaPacketSplitter.heuristicIsDefinitelySmallEnough
(IPacket<?> packet) private static void
ForgeConnectionNetworkFilter.splitPacket
(IPacket<?> packet, List<? super IPacket<?>> out) Method parameters in net.minecraftforge.network with type arguments of type IPacketModifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ProtocolType protocol, PacketDirection direction, IPacket<?> packet, List<? super IPacket<?>> out) Append the given packet to the given list.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.protected static <T extends IPacket<?>>
Map.Entry<Class<? extends IPacket<?>>,BiConsumer<IPacket<?>, List<? super IPacket<?>>>> Helper function for building the handler map.private static void
ForgeConnectionNetworkFilter.splitPacket
(IPacket<?> packet, List<? super IPacket<?>> out) Constructor parameters in net.minecraftforge.network with type arguments of type IPacketModifierConstructorDescriptionprotected
VanillaPacketFilter
(Map<Class<? extends IPacket<?>>, BiConsumer<IPacket<?>, List<? super IPacket<?>>>> handlers) protected
VanillaPacketFilter
(Map<Class<? extends IPacket<?>>, BiConsumer<IPacket<?>, List<? super IPacket<?>>>> handlers) protected
VanillaPacketFilter
(Map<Class<? extends IPacket<?>>, BiConsumer<IPacket<?>, List<? super IPacket<?>>>> handlers)