Interface ContainerButtonClickPacketView

All Superinterfaces:
PacketView

public interface ContainerButtonClickPacketView extends PacketView
Copy-on-write view of a serverbound container-button click.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    buttonId(int buttonId)
    Changes the menu-specific button id; its valid range depends on the menu type.
    int
     
    void
    containerId(int containerId)
    Changes the non-negative target container id.

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

    isModified, nativeHandle, type
  • Method Details

    • containerId

      int containerId()
    • containerId

      void containerId(int containerId)
      Changes the non-negative target container id.
    • buttonId

      int buttonId()
    • buttonId

      void buttonId(int buttonId)
      Changes the menu-specific button id; its valid range depends on the menu type.