|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IItemRenderer.ItemRendererHelper>
net.minecraftforge.client.IItemRenderer.ItemRendererHelper
public static enum IItemRenderer.ItemRendererHelper
Enum Constant Summary | |
---|---|
BLOCK_3D
Determines if the item should equate to a block that has RenderBlocks.renderItemIn3d return true |
|
ENTITY_BOBBING
Determines if an up-and-down bobbing effect should be used when rendering an EntityItem, like most default items do. |
|
ENTITY_ROTATION
Determines if a rotation effect should be used when rendering an EntityItem, like most default blocks do. |
|
EQUIPPED_BLOCK
Determines if the currently equipped item should be rendered as a 3D block or as a 2D texture. |
|
INVENTORY_BLOCK
Determines if the item should be rendered in GUI inventory slots as a 3D block or as a 2D texture. |
Method Summary | |
---|---|
static IItemRenderer.ItemRendererHelper |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IItemRenderer.ItemRendererHelper[] |
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.ItemRendererHelper ENTITY_ROTATION
public static final IItemRenderer.ItemRendererHelper ENTITY_BOBBING
public static final IItemRenderer.ItemRendererHelper EQUIPPED_BLOCK
public static final IItemRenderer.ItemRendererHelper BLOCK_3D
public static final IItemRenderer.ItemRendererHelper INVENTORY_BLOCK
Method Detail |
---|
public static IItemRenderer.ItemRendererHelper[] values()
for (IItemRenderer.ItemRendererHelper c : IItemRenderer.ItemRendererHelper.values()) System.out.println(c);
public static IItemRenderer.ItemRendererHelper 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 |