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>
  • Enum Constant Details

    • field_21858

      public static final JsonUnbakedModel.GuiLight field_21858
      The model will be shaded from the front, like a basic item
    • field_21859

      public static final JsonUnbakedModel.GuiLight field_21859
      The model will be shaded from the side, like a block.
  • Field Details

    • name

      private final String name
  • Constructor Details

    • GuiLight

      private GuiLight​(String name)
  • Method Details

    • values

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

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

      public static JsonUnbakedModel.GuiLight deserialize​(String value)
    • isSide

      public boolean isSide()