Interface Hotbar

    • Method Detail

      • selectedSlotIndex

        int selectedSlotIndex()
        Gets the index of the slot that is currently selected by the Humanoid.
        Returns:
        The slot being currently held as an integer from 0-8, inclusive
      • setSelectedSlotIndex

        void setSelectedSlotIndex​(int index)
        Sets the slot selected by the Humanoid.
        Parameters:
        index - The slot to hold as an integer from 0-8, inclusive