Interface UpdateAttributesPacketView

All Superinterfaces:
PacketView

public interface UpdateAttributesPacketView extends PacketView
Lazy copy-on-write view of a clientbound entity-attributes packet.
  • Method Details

    • entityId

      int entityId()
    • attributeCount

      int attributeCount()
    • attribute

      NativeAttributeSnapshot attribute(int index)
    • entityId

      void entityId(int entityId)
    • attributes

      void attributes(NativeValue attributes)
      Replaces the native snapshot list after one defensive list copy.