Enum RenderedItem.RenderType

java.lang.Object
java.lang.Enum<RenderedItem.RenderType>
wbs.utils.util.effects.RenderedItem.RenderType
All Implemented Interfaces:
Serializable, Comparable<RenderedItem.RenderType>, java.lang.constant.Constable
Enclosing class:
RenderedItem

public static enum RenderedItem.RenderType extends Enum<RenderedItem.RenderType>
Represents a specific implementation of ItemRenderer
  • Enum Constant Details

  • Method Details

    • values

      public static RenderedItem.RenderType[] 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

      public static RenderedItem.RenderType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getRenderer

      public wbs.utils.util.effects.ItemRenderer getRenderer(org.bukkit.Location loc)
      Gets a new ItemRenderer based on the enum value, created at the given location
      Parameters:
      loc - The location to render the item
      Returns:
      A new ItemRenderer