Record Class TextureSetup

java.lang.Object
java.lang.Record
net.minecraft.client.texture.TextureSetup
Record Components:
texure0 -
texure1 -
texure2 -

@Environment(CLIENT) public record TextureSetup(@Nullable GpuTextureView texure0, @Nullable GpuTextureView texure1, @Nullable GpuTextureView texure2) extends Record
Mappings:
Namespace Name
named net/minecraft/client/texture/TextureSetup
intermediary net/minecraft/class_11231
official gcg
named texure0
intermediary comp_4052
official a
named texure1
intermediary comp_4053
official b
named texure2
intermediary comp_4054
official c
  • Field Details

    • texure0

      @Nullable private final @Nullable GpuTextureView texure0
      The field for the texure0 record component.
    • texure1

      @Nullable private final @Nullable GpuTextureView texure1
      The field for the texure1 record component.
    • texure2

      @Nullable private final @Nullable GpuTextureView texure2
      The field for the texure2 record component.
    • EMPTY

      private static final TextureSetup EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/client/texture/TextureSetup;EMPTY:Lnet/minecraft/client/texture/TextureSetup;
      intermediary field_59931 Lnet/minecraft/class_11231;field_59931:Lnet/minecraft/class_11231;
      official d Lgcg;d:Lgcg;
    • field_60313

      private static int field_60313
      Mappings:
      Namespace Name Mixin selector
      named field_60313 Lnet/minecraft/client/texture/TextureSetup;field_60313:I
      intermediary field_60313 Lnet/minecraft/class_11231;field_60313:I
      official e Lgcg;e:I
  • Constructor Details

  • Method Details

    • withoutGlTexture

      public static TextureSetup withoutGlTexture(GpuTextureView texture)
      Mappings:
      Namespace Name Mixin selector
      named withoutGlTexture Lnet/minecraft/client/texture/TextureSetup;withoutGlTexture(Lcom/mojang/blaze3d/textures/GpuTextureView;)Lnet/minecraft/client/texture/TextureSetup;
      intermediary method_70900 Lnet/minecraft/class_11231;method_70900(Lcom/mojang/blaze3d/textures/GpuTextureView;)Lnet/minecraft/class_11231;
      official a Lgcg;a(Lcom/mojang/blaze3d/textures/GpuTextureView;)Lgcg;
    • of

      public static TextureSetup of(GpuTextureView texture)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/client/texture/TextureSetup;of(Lcom/mojang/blaze3d/textures/GpuTextureView;)Lnet/minecraft/client/texture/TextureSetup;
      intermediary method_70902 Lnet/minecraft/class_11231;method_70902(Lcom/mojang/blaze3d/textures/GpuTextureView;)Lnet/minecraft/class_11231;
      official b Lgcg;b(Lcom/mojang/blaze3d/textures/GpuTextureView;)Lgcg;
    • of

      public static TextureSetup of(GpuTextureView texture0, GpuTextureView texture1)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/client/texture/TextureSetup;of(Lcom/mojang/blaze3d/textures/GpuTextureView;Lcom/mojang/blaze3d/textures/GpuTextureView;)Lnet/minecraft/client/texture/TextureSetup;
      intermediary method_70901 Lnet/minecraft/class_11231;method_70901(Lcom/mojang/blaze3d/textures/GpuTextureView;Lcom/mojang/blaze3d/textures/GpuTextureView;)Lnet/minecraft/class_11231;
      official a Lgcg;a(Lcom/mojang/blaze3d/textures/GpuTextureView;Lcom/mojang/blaze3d/textures/GpuTextureView;)Lgcg;
    • empty

      public static TextureSetup empty()
      Mappings:
      Namespace Name Mixin selector
      named empty Lnet/minecraft/client/texture/TextureSetup;empty()Lnet/minecraft/client/texture/TextureSetup;
      intermediary method_70899 Lnet/minecraft/class_11231;method_70899()Lnet/minecraft/class_11231;
      official a Lgcg;a()Lgcg;
    • getSortKey

      public int getSortKey()
      Mappings:
      Namespace Name Mixin selector
      named getSortKey Lnet/minecraft/client/texture/TextureSetup;getSortKey()I
      intermediary method_71297 Lnet/minecraft/class_11231;method_71297()I
      official b Lgcg;b()I
    • method_71298

      public static void method_71298()
      Mappings:
      Namespace Name Mixin selector
      named method_71298 Lnet/minecraft/client/texture/TextureSetup;method_71298()V
      intermediary method_71298 Lnet/minecraft/class_11231;method_71298()V
      official c Lgcg;c()V
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • texure0

      Returns the value of the texure0 record component.
      Returns:
      the value of the texure0 record component
    • texure1

      Returns the value of the texure1 record component.
      Returns:
      the value of the texure1 record component
    • texure2

      Returns the value of the texure2 record component.
      Returns:
      the value of the texure2 record component