|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IItemRenderer.ItemRenderType>
net.minecraftforge.client.IItemRenderer.ItemRenderType
public static enum IItemRenderer.ItemRenderType
Enum Constant Summary | |
---|---|
ENTITY
Called to render an in-world item, e.g. |
|
EQUIPPED
Called to render an item currently held in-hand by a living entity. |
|
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. |
Method Summary | |
---|---|
static IItemRenderer.ItemRenderType |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IItemRenderer.ItemRenderType ENTITY
public static final IItemRenderer.ItemRenderType EQUIPPED
public static final IItemRenderer.ItemRenderType INVENTORY
public static final IItemRenderer.ItemRenderType FIRST_PERSON_MAP
Method Detail |
---|
public static IItemRenderer.ItemRenderType[] values()
for (IItemRenderer.ItemRenderType c : IItemRenderer.ItemRenderType.values()) System.out.println(c);
public static IItemRenderer.ItemRenderType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |