Interface CarriedItemPacketView

All Superinterfaces:
PacketView

public interface CarriedItemPacketView extends PacketView
Copy-on-write view of a serverbound carried-hotbar-slot packet.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    slot(int slot)
    Changes the selected hotbar slot, from 0 through 8.

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

    isModified, nativeHandle, type
  • Method Details

    • slot

      int slot()
    • slot

      void slot(int slot)
      Changes the selected hotbar slot, from 0 through 8.