Package net.minecraft.network.protocol
Interface BundlerInfo
public interface BundlerInfo
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends PacketListener,
P extends BundlePacket<? super T>>
BundlerInfocreateForPacket
(PacketType<P> p_329276_, Function<Iterable<Packet<? super T>>, P> p_265627_, BundleDelimiterPacket<? super T> p_265373_) startPacketBundling
(Packet<?> p_265162_) void
unbundlePacket
(Packet<?> p_265095_, Consumer<Packet<?>> p_265715_)
-
Field Details
-
BUNDLE_SIZE_LIMIT
static final int BUNDLE_SIZE_LIMIT- See Also:
-
-
Method Details
-
createForPacket
static <T extends PacketListener,P extends BundlePacket<? super T>> BundlerInfo createForPacket(PacketType<P> p_329276_, Function<Iterable<Packet<? super T>>, P> p_265627_, BundleDelimiterPacket<? super T> p_265373_) -
unbundlePacket
-
startPacketBundling
-