Interface BundlePacketView

All Superinterfaces:
PacketView

public interface BundlePacketView extends PacketView
Lazy copy-on-write view over one clientbound play bundle.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the original child iterable without copying it.
    void
    packets(Iterable<?> packets)
    Replaces the child iterable used by the bundle.

    Methods inherited from interface devs.beer.nativepackets.api.PacketView

    isModified, nativeHandle, type
  • Method Details

    • packets

      Iterable<?> packets()
      Returns the original child iterable without copying it.
    • packets

      void packets(Iterable<?> packets)
      Replaces the child iterable used by the bundle.