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
named net/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight
intermediary net/minecraft/class_793$class_4751
official ggb$b
  • Enum Constant Details

    • ITEM

      public static final JsonUnbakedModel.GuiLight ITEM
      The model will be shaded from the front, like a basic item
      Mappings:
      Namespace Name Mixin selector
      named ITEM Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;ITEM:Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;
      intermediary field_21858 Lnet/minecraft/class_793$class_4751;field_21858:Lnet/minecraft/class_793$class_4751;
      official a Lggb$b;a:Lggb$b;
    • BLOCK

      public static final JsonUnbakedModel.GuiLight BLOCK
      The model will be shaded from the side, like a block.
      Mappings:
      Namespace Name Mixin selector
      named BLOCK Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;BLOCK:Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;
      intermediary field_21859 Lnet/minecraft/class_793$class_4751;field_21859:Lnet/minecraft/class_793$class_4751;
      official b Lggb$b;b:Lggb$b;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;name:Ljava/lang/String;
      intermediary field_21860 Lnet/minecraft/class_793$class_4751;field_21860:Ljava/lang/String;
      official c Lggb$b;c:Ljava/lang/String;
  • Constructor Details

    • GuiLight

      private GuiLight(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_793$class_4751;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lggb$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static JsonUnbakedModel.GuiLight[] 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

      public static JsonUnbakedModel.GuiLight valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • byName

      public static JsonUnbakedModel.GuiLight byName(String value)
      Mappings:
      Namespace Name Mixin selector
      named byName Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;byName(Ljava/lang/String;)Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;
      intermediary method_24300 Lnet/minecraft/class_793$class_4751;method_24300(Ljava/lang/String;)Lnet/minecraft/class_793$class_4751;
      official a Lggb$b;a(Ljava/lang/String;)Lggb$b;
    • isSide

      public boolean isSide()
      Mappings:
      Namespace Name Mixin selector
      named isSide Lnet/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight;isSide()Z
      intermediary method_24299 Lnet/minecraft/class_793$class_4751;method_24299()Z
      official a Lggb$b;a()Z