Enum JsonUnbakedModel.GuiLight
java.lang.Object
java.lang.Enum<JsonUnbakedModel.GuiLight>
net.minecraft.client.render.model.json.JsonUnbakedModel.GuiLight
- All Implemented Interfaces:
Serializable
,Comparable<JsonUnbakedModel.GuiLight>
,java.lang.constant.Constable
- Enclosing class:
- JsonUnbakedModel
@Environment(CLIENT) public static enum JsonUnbakedModel.GuiLight extends Enum<JsonUnbakedModel.GuiLight>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description field_21858
The model will be shaded from the front, like a basic itemfield_21859
The model will be shaded from the side, like a block. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method 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.
-
Enum Constant Details
-
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.
-
-
Field Details
-
name
-
-
Constructor Details
-
GuiLight
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
deserialize
-
isSide
public boolean isSide()
-