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 fpg$b
intermediary net/minecraft/class_793$class_4751
named net/minecraft/client/render/model/json/JsonUnbakedModel$GuiLight
  • 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
      official a Lfpg$b;a:Lfpg$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

      public static final JsonUnbakedModel.GuiLight BLOCK
      The model will be shaded from the side, like a block.
      Mappings:
      Namespace Name Mixin selector
      official b Lfpg$b;b:Lfpg$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

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official c Lfpg$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

      private GuiLight(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfpg$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

      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
      official a Lfpg$b;a(Ljava/lang/String;)Lfpg$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 Lfpg$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