Uses of Interface
net.minecraft.network.IPacket
Package
Description
-
Uses of IPacket in net.minecraft.client.network.play
-
Uses of IPacket in net.minecraft.client.world
-
Uses of IPacket in net.minecraft.entity
Modifier and TypeMethodDescriptionIPacket<?>
AreaEffectCloudEntity.getAddEntityPacket()
abstract IPacket<?>
Entity.getAddEntityPacket()
IPacket<?>
LivingEntity.getAddEntityPacket()
-
Uses of IPacket in net.minecraft.entity.boss.dragon
-
Uses of IPacket in net.minecraft.entity.effect
-
Uses of IPacket in net.minecraft.entity.item
Modifier 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
-
Uses of IPacket in net.minecraft.entity.player
Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.trackChunk
(ChunkPos p_213844_1_, IPacket<?> p_213844_2_, IPacket<?> p_213844_3_) -
Uses of IPacket in net.minecraft.entity.projectile
Modifier 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
Modifier 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
Modifier and TypeFieldDescriptionProtocolType.PacketList.classToId
ProtocolType.PacketList.idToConstructor
private static final Map<Class<? extends IPacket<?>>,
ProtocolType> ProtocolType.PROTOCOL_BY_PACKET
Modifier and TypeMethodDescriptionIPacket<?>
ProtocolType.createPacket
(PacketDirection p_179244_1_, int p_179244_2_) IPacket<?>
ProtocolType.PacketList.createPacket
(int p_229718_1_) Modifier 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_) ModifierConstructorDescriptionQueuedPacket
(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
-
Uses of IPacket in net.minecraft.network.login.client
Modifier and TypeClassDescriptionclass
class
class
-
Uses of IPacket in net.minecraft.network.login.server
Modifier and TypeClassDescriptionclass
class
class
class
class
-
Uses of IPacket in net.minecraft.network.play
-
Uses of IPacket in net.minecraft.network.play.client
Modifier 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
Modifier 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
-
Uses of IPacket in net.minecraft.network.status.server
-
Uses of IPacket in net.minecraft.scoreboard
Modifier and TypeMethodDescriptionServerScoreboard.getStartTrackingPackets
(ScoreObjective p_96550_1_) ServerScoreboard.getStopTrackingPackets
(ScoreObjective p_96548_1_) -
Uses of IPacket in net.minecraft.server.management
Modifier 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
Modifier and TypeMethodDescriptionprivate void
TrackedEntity.broadcastAndSend
(IPacket<?> p_219451_1_) void
World.sendPacketToServer
(IPacket<?> p_184135_1_) Modifier and TypeMethodDescriptionvoid
TrackedEntity.sendPairingData
(Consumer<IPacket<?>> p_219452_1_) ModifierConstructorDescriptionTrackedEntity
(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
Modifier 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
Modifier 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
-
Uses of IPacket in net.minecraftforge.entity
-
Uses of IPacket in net.minecraftforge.fml.network
Modifier 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
Modifier and TypeMethodDescription<T extends IPacket<?>>
ICustomPacket<T>NetworkDirection.buildPacket
(org.apache.commons.lang3.tuple.Pair<PacketBuffer, Integer> packetData, ResourceLocation channelName) Modifier and TypeMethodDescriptionstatic IPacket<?>
NetworkHooks.getEntitySpawningPacket
(Entity entity) Modifier 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) ModifierConstructorDescriptionprivate
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
Modifier and TypeMethodDescription<MSG> IPacket<?>
SimpleChannel.toVanillaPacket
(MSG message, NetworkDirection direction) -
Uses of IPacket in net.minecraftforge.network
Modifier and TypeFieldDescriptionVanillaPacketFilter.handlers
VanillaPacketFilter.handlers
VanillaPacketFilter.handlers
Modifier 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.Modifier 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.Modifier 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) Modifier 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) ModifierConstructorDescriptionprotected
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)