Enum Class PolygonMode

java.lang.Object
java.lang.Enum<PolygonMode>
net.minecraft.client.render.PolygonMode
All Implemented Interfaces:
Serializable, Comparable<PolygonMode>, Constable

@Environment(CLIENT) public enum PolygonMode extends Enum<PolygonMode>
Mappings:
Namespace Name
named net/minecraft/client/render/PolygonMode
intermediary net/minecraft/class_10880
official fkj
  • Enum Constant Details

    • FILL

      public static final PolygonMode FILL
      Mappings:
      Namespace Name Mixin selector
      named FILL Lnet/minecraft/client/render/PolygonMode;FILL:Lnet/minecraft/client/render/PolygonMode;
      intermediary field_57906 Lnet/minecraft/class_10880;field_57906:Lnet/minecraft/class_10880;
      official a Lfkj;a:Lfkj;
    • WIREFRAME

      public static final PolygonMode WIREFRAME
      Mappings:
      Namespace Name Mixin selector
      named WIREFRAME Lnet/minecraft/client/render/PolygonMode;WIREFRAME:Lnet/minecraft/client/render/PolygonMode;
      intermediary field_57907 Lnet/minecraft/class_10880;field_57907:Lnet/minecraft/class_10880;
      official b Lfkj;b:Lfkj;
  • Constructor Details

    • PolygonMode

      private PolygonMode()
  • Method Details

    • values

      public static PolygonMode[] 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 PolygonMode 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