Interface HologramEquipment
public interface HologramEquipment
Represents the externally visible equipment inventory of a hologram.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents a slot in a holograms equipment inventory. -
Method Summary
Modifier and TypeMethodDescription@Nullable ItemStackGet an item that has been put at a certain slot.getSkin()Get the skin that is being represented by this instance.voidsetItem(HologramEquipment.Slot slot, @Nullable ItemStack is) Set an item at a certain slot.
-
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
Set an item at a certain slot.- Parameters:
slot- The slot at which the item shall be put tois- The item that shall be placed. May benullif it's supposed to be air
-
getItem
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
nullif it's air
-