@Environment(value=CLIENT) public static enum JsonUnbakedModel.GuiLight extends Enum<JsonUnbakedModel.GuiLight>
Enum Constant and Description |
---|
field_21858
The model will be shaded from the front, like a basic item
|
field_21859
The model will be shaded from the side, like a block.
|
Modifier and Type | Method and Description |
---|---|
static JsonUnbakedModel.GuiLight |
deserialize(String value) |
boolean |
isSide() |
static JsonUnbakedModel.GuiLight |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonUnbakedModel.GuiLight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonUnbakedModel.GuiLight field_21858
public static final JsonUnbakedModel.GuiLight field_21859
private final String name
public static JsonUnbakedModel.GuiLight[] values()
for (JsonUnbakedModel.GuiLight c : JsonUnbakedModel.GuiLight.values()) System.out.println(c);
public static JsonUnbakedModel.GuiLight valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static JsonUnbakedModel.GuiLight deserialize(String value)
public boolean isSide()