Interface HologramEquipment


public interface HologramEquipment
Represents the externally visible equipment inventory of a hologram.
  • Method Details

    • getSkin

      HologramSkin getSkin()
      Get the skin that is being represented by this instance.
      Returns:
      The skin instance for which the items will be displayed
    • setItem

      void setItem(HologramEquipment.Slot slot, @Nullable @Nullable ItemStack is)
      Set an item at a certain slot.
      Parameters:
      slot - The slot at which the item shall be put to
      is - The item that shall be placed. May be null if it's supposed to be air
    • getItem

      @Nullable @Nullable ItemStack getItem(HologramEquipment.Slot slot)
      Get an item that has been put at a certain slot.
      Parameters:
      slot - The slot at which the item has been put at
      Returns:
      The item that has been placed. Maybe be null if it's air