public static enum IItemRenderer.ItemRendererHelper extends java.lang.Enum<IItemRenderer.ItemRendererHelper>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static IItemRenderer.ItemRendererHelper |
valueOf(java.lang.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.
|
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
public static IItemRenderer.ItemRendererHelper[] values()
for (IItemRenderer.ItemRendererHelper c : IItemRenderer.ItemRendererHelper.values()) System.out.println(c);
public static IItemRenderer.ItemRendererHelper 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