Enum Class TextureClampMode

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

@Environment(CLIENT) public enum TextureClampMode extends Enum<TextureClampMode>
Mappings:
Namespace Name
named net/minecraft/client/texture/TextureClampMode
intermediary net/minecraft/class_10790
official flh
  • Enum Constant Details

    • REPEAT

      public static final TextureClampMode REPEAT
      Mappings:
      Namespace Name Mixin selector
      named REPEAT Lnet/minecraft/client/texture/TextureClampMode;REPEAT:Lnet/minecraft/client/texture/TextureClampMode;
      intermediary field_56752 Lnet/minecraft/class_10790;field_56752:Lnet/minecraft/class_10790;
      official a Lflh;a:Lflh;
    • CLAMP_TO_EDGE

      public static final TextureClampMode CLAMP_TO_EDGE
      Mappings:
      Namespace Name Mixin selector
      named CLAMP_TO_EDGE Lnet/minecraft/client/texture/TextureClampMode;CLAMP_TO_EDGE:Lnet/minecraft/client/texture/TextureClampMode;
      intermediary field_56753 Lnet/minecraft/class_10790;field_56753:Lnet/minecraft/class_10790;
      official b Lflh;b:Lflh;
  • Constructor Details

    • TextureClampMode

      private TextureClampMode()
  • Method Details

    • values

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