Enum Class 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>
,Constable
- Enclosing class:
JsonUnbakedModel
@Environment(CLIENT)
public static enum JsonUnbakedModel.GuiLight
extends Enum<JsonUnbakedModel.GuiLight>
- Mappings:
Namespace Name official far$b
intermediary net/minecraft/class_793$class_4751
named net/minecraft/client/render/model/json/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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JsonUnbakedModel.GuiLight
boolean
isSide()
static JsonUnbakedModel.GuiLight
Returns the enum constant of this class with the specified name.static JsonUnbakedModel.GuiLight[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ITEM
The model will be shaded from the front, like a basic item- Mappings:
Namespace Name Mixin selector official a
Lfar$b;a:Lfar$b;
intermediary field_21858
Lnet/minecraft/class_793$class_4751;field_21858:Lnet/minecraft/class_793$class_4751;
named ITEM
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;ITEM:Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;
-
BLOCK
The model will be shaded from the side, like a block.- Mappings:
Namespace Name Mixin selector official b
Lfar$b;b:Lfar$b;
intermediary field_21859
Lnet/minecraft/class_793$class_4751;field_21859:Lnet/minecraft/class_793$class_4751;
named BLOCK
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;BLOCK:Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official c
Lfar$b;c:Ljava/lang/String;
intermediary field_21860
Lnet/minecraft/class_793$class_4751;field_21860:Ljava/lang/String;
named name
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;name:Ljava/lang/String;
-
-
Constructor Details
-
GuiLight
- Mappings:
Namespace Name Mixin selector official <init>
Lfar$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_793$class_4751;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <init>
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
byName
- Mappings:
Namespace Name Mixin selector official a
Lfar$b;a(Ljava/lang/String;)Lfar$b;
intermediary method_24300
Lnet/minecraft/class_793$class_4751;method_24300(Ljava/lang/String;)Lnet/minecraft/class_793$class_4751;
named byName
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;byName(Ljava/lang/String;)Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;
-
isSide
public boolean isSide()- Mappings:
Namespace Name Mixin selector official a
Lfar$b;a()Z
intermediary method_24299
Lnet/minecraft/class_793$class_4751;method_24299()Z
named isSide
Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;isSide()Z
-