public static enum IItemRenderer.ItemRenderType extends java.lang.Enum<IItemRenderer.ItemRenderType>
Enum Constant and Description |
---|
ENTITY
Called to render an in-world item, e.g.
|
EQUIPPED
Called to render an item currently held in-hand by a living entity.
|
EQUIPPED_FIRST_PERSON
Called to render an item currently held in-hand by a living entity in
first person.
|
FIRST_PERSON_MAP
The render type used for when a ItemMap is rendered in first person,
All appropriate rotations have been applied, and the player's hands,
and the map BG are already rendered.
|
INVENTORY
Called to render an item in a GUI inventory slot.
|
Modifier and Type | Method and Description |
---|---|
static IItemRenderer.ItemRenderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IItemRenderer.ItemRenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IItemRenderer.ItemRenderType ENTITY
public static final IItemRenderer.ItemRenderType EQUIPPED
public static final IItemRenderer.ItemRenderType EQUIPPED_FIRST_PERSON
public static final IItemRenderer.ItemRenderType INVENTORY
public static final IItemRenderer.ItemRenderType FIRST_PERSON_MAP
public static IItemRenderer.ItemRenderType[] values()
for (IItemRenderer.ItemRenderType c : IItemRenderer.ItemRenderType.values()) System.out.println(c);
public static IItemRenderer.ItemRenderType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null