Record Class TextureSetup

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

@Environment(CLIENT) public record TextureSetup(GpuTextureView texure0, GpuTextureView texure1, GpuTextureView texure2, GpuSampler sampler0, GpuSampler sampler1, GpuSampler sampler2) extends Record
Mappings:
Namespace Name
named net/minecraft/client/texture/TextureSetup
intermediary net/minecraft/class_11231
official goi
named texure0
intermediary comp_4052
official a
named texure1
intermediary comp_4053
official b
named texure2
intermediary comp_4054
official c
named sampler0
intermediary comp_5053
official d
named sampler1
intermediary comp_5054
official e
named sampler2
intermediary comp_5055
official f
  • Field Details

    • texure0

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

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

      private final GpuTextureView texure2
      The field for the texure2 record component.
    • sampler0

      private final GpuSampler sampler0
      The field for the sampler0 record component.
    • sampler1

      private final GpuSampler sampler1
      The field for the sampler1 record component.
    • sampler2

      private final GpuSampler sampler2
      The field for the sampler2 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 g Lgoi;g:Lgoi;
    • shuffleSeed

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

    • TextureSetup

      public TextureSetup(@Nullable GpuTextureView texure0, @Nullable GpuTextureView texure1, @Nullable GpuTextureView texure2, @Nullable GpuSampler sampler0, @Nullable GpuSampler sampler1, @Nullable GpuSampler sampler2)
      Creates an instance of a TextureSetup record class.
      Parameters:
      texure0 - the value for the texure0 record component
      texure1 - the value for the texure1 record component
      texure2 - the value for the texure2 record component
      sampler0 - the value for the sampler0 record component
      sampler1 - the value for the sampler1 record component
      sampler2 - the value for the sampler2 record component
  • Method Details

    • of

      public static TextureSetup of(GpuTextureView texture, GpuSampler sampler)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/client/texture/TextureSetup;of(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/client/gl/GpuSampler;)Lnet/minecraft/client/texture/TextureSetup;
      intermediary method_70900 Lnet/minecraft/class_11231;method_70900(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/class_12137;)Lnet/minecraft/class_11231;
      official a Lgoi;a(Lcom/mojang/blaze3d/textures/GpuTextureView;Lfxx;)Lgoi;
    • withLightmap

      public static TextureSetup withLightmap(GpuTextureView texture, GpuSampler sampler)
      Mappings:
      Namespace Name Mixin selector
      named withLightmap Lnet/minecraft/client/texture/TextureSetup;withLightmap(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/client/gl/GpuSampler;)Lnet/minecraft/client/texture/TextureSetup;
      intermediary method_70902 Lnet/minecraft/class_11231;method_70902(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/class_12137;)Lnet/minecraft/class_11231;
      official b Lgoi;b(Lcom/mojang/blaze3d/textures/GpuTextureView;Lfxx;)Lgoi;
    • of

      public static TextureSetup of(GpuTextureView texture0, GpuSampler sampler0, GpuTextureView texture1, GpuSampler sampler1)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/client/texture/TextureSetup;of(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/client/gl/GpuSampler;Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/client/gl/GpuSampler;)Lnet/minecraft/client/texture/TextureSetup;
      intermediary method_70901 Lnet/minecraft/class_11231;method_70901(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/class_12137;Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/class_12137;)Lnet/minecraft/class_11231;
      official a Lgoi;a(Lcom/mojang/blaze3d/textures/GpuTextureView;Lfxx;Lcom/mojang/blaze3d/textures/GpuTextureView;Lfxx;)Lgoi;
    • 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 Lgoi;a()Lgoi;
    • 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 Lgoi;b()I
    • shuffleRenderingOrder

      public static void shuffleRenderingOrder()
      Mappings:
      Namespace Name Mixin selector
      named shuffleRenderingOrder Lnet/minecraft/client/texture/TextureSetup;shuffleRenderingOrder()V
      intermediary method_71298 Lnet/minecraft/class_11231;method_71298()V
      official c Lgoi;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

      public @Nullable GpuTextureView texure0()
      Returns the value of the texure0 record component.
      Returns:
      the value of the texure0 record component
    • texure1

      public @Nullable GpuTextureView texure1()
      Returns the value of the texure1 record component.
      Returns:
      the value of the texure1 record component
    • texure2

      public @Nullable GpuTextureView texure2()
      Returns the value of the texure2 record component.
      Returns:
      the value of the texure2 record component
    • sampler0

      public @Nullable GpuSampler sampler0()
      Returns the value of the sampler0 record component.
      Returns:
      the value of the sampler0 record component
    • sampler1

      public @Nullable GpuSampler sampler1()
      Returns the value of the sampler1 record component.
      Returns:
      the value of the sampler1 record component
    • sampler2

      public @Nullable GpuSampler sampler2()
      Returns the value of the sampler2 record component.
      Returns:
      the value of the sampler2 record component