Package de.studiocode.invui.resourcepack
Enum Icon
- All Implemented Interfaces:
Serializable,Comparable<Icon>,java.lang.constant.Constable
Custom-textured Items that look like they are a part of the inventory.
Needs the resource pack to work, activate ResourcePack forcing and
choose between the lightweight or complete version using
ForceResourcePack.setResourcePack(String, BaseComponent[]).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionde.studiocode.invui.item.ItemgetItem()Gets a non-clickableItemwith this texture.de.studiocode.invui.item.builder.ItemBuilderGets a copy of theItemBuilderfor thisIcon.static IconReturns the enum constant of this type with the specified name.static Icon[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BACKGROUND
-
ARROW_1_UP
-
ARROW_1_RIGHT
-
ARROW_1_DOWN
-
ARROW_1_LEFT
-
LIGHT_ARROW_1_UP
-
LIGHT_ARROW_1_RIGHT
-
LIGHT_ARROW_1_DOWN
-
LIGHT_ARROW_1_LEFT
-
ARROW_2_UP
-
ARROW_2_RIGHT
-
ARROW_2_DOWN
-
ARROW_2_LEFT
-
LIGHT_ARROW_2_UP
-
LIGHT_ARROW_2_RIGHT
-
LIGHT_ARROW_2_DOWN
-
LIGHT_ARROW_2_LEFT
-
HORIZONTAL_LINE
-
VERTICAL_LINE
-
LIGHT_HORIZONTAL_LINE
-
LIGHT_VERTICAL_LINE
-
CORNER_TOP_LEFT
-
CORNER_TOP_RIGHT
-
CORNER_BOTTOM_LEFT
-
CORNER_BOTTOM_RIGHT
-
LIGHT_CORNER_TOP_LEFT
-
LIGHT_CORNER_TOP_RIGHT
-
LIGHT_CORNER_BOTTOM_LEFT
-
LIGHT_CORNER_BOTTOM_RIGHT
-
HORIZONTAL_DOWN
-
HORIZONTAL_UP
-
VERTICAL_LEFT
-
VERTICAL_RIGHT
-
LIGHT_HORIZONTAL_DOWN
-
LIGHT_HORIZONTAL_UP
-
LIGHT_VERTICAL_LEFT
-
LIGHT_VERTICAL_RIGHT
-
VERTICAL_HORIZONTAL
-
LIGHT_VERTICAL_HORIZONTAL
-
X
-
LIGHT_X
-
RED_X
-
CHECKMARK
-
LIGHT_CHECKMARK
-
GREEN_CHECKMARK
-
ANVIL_OVERLAY_PLUS
-
ANVIL_OVERLAY_ARROW
-
ANVIL_OVERLAY_ARROW_LEFT
-
LENS
-
LIGHT_LENS
-
CHECKBOX
-
CHECKBOX_CHECKED
-
LIGHT_CHECKBOX
-
LIGHT_CHECKBOX_CHECKED
-
HORIZONTAL_DOTS
-
LIGHT_HORIZONTAL_DOTS
-
VERTICAL_DOTS
-
LIGHT_VERTICAL_DOTS
-
CIRCLE
-
LIGHT_CIRCLE
-
BOX
-
LIGHT_BOX
-
REFRESH
-
LIGHT_REFRESH
-
REFRESH_ANIMATED
-
LIGHT_REFRESH_ANIMATED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getItemBuilder
public de.studiocode.invui.item.builder.ItemBuilder getItemBuilder()Gets a copy of theItemBuilderfor thisIcon.- Returns:
- A copy of the
ItemBuilder
-
getItem
public de.studiocode.invui.item.Item getItem()Gets a non-clickableItemwith this texture.- Returns:
- A non-clickable
Itemwith this texture.
-