public enum ItemTESRContext extends java.lang.Enum<ItemTESRContext>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
getCurrentStack() |
net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType |
getCurrentTransform() |
void |
providePerspectiveContext(net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType transform) |
void |
provideStackContext(net.minecraft.item.ItemStack stack) |
static ItemTESRContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemTESRContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemTESRContext INSTANCE
public static ItemTESRContext[] values()
for (ItemTESRContext c : ItemTESRContext.values()) System.out.println(c);
public static ItemTESRContext 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 nullpublic void provideStackContext(@Nonnull
net.minecraft.item.ItemStack stack)
public void providePerspectiveContext(@Nonnull
net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType transform)
@Nonnull public net.minecraft.item.ItemStack getCurrentStack()
@Nonnull public net.minecraft.client.renderer.block.model.ItemCameraTransforms.TransformType getCurrentTransform()