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