Package net.minecraft.client.texture
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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final TextureSetup
private static int
private final @Nullable GpuTextureView
The field for thetexure0
record component.private final @Nullable GpuTextureView
The field for thetexure1
record component.private final @Nullable GpuTextureView
The field for thetexure2
record component. -
Constructor Summary
ConstructorsConstructorDescriptionTextureSetup
(@Nullable GpuTextureView gpuTextureView, @Nullable GpuTextureView gpuTextureView2, @Nullable GpuTextureView gpuTextureView3) -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureSetup
empty()
final boolean
Indicates whether some other object is "equal to" this one.int
final int
hashCode()
Returns a hash code value for this object.static void
static TextureSetup
of
(GpuTextureView texture) static TextureSetup
of
(GpuTextureView texture0, GpuTextureView texture1) texure0()
Returns the value of thetexure0
record component.texure1()
Returns the value of thetexure1
record component.texure2()
Returns the value of thetexure2
record component.final String
toString()
Returns a string representation of this record class.static TextureSetup
withoutGlTexture
(GpuTextureView texture)
-
Field Details
-
texure0
The field for thetexure0
record component. -
texure1
The field for thetexure1
record component. -
texure2
The field for thetexure2
record component. -
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
-
TextureSetup
public TextureSetup(@Nullable @Nullable GpuTextureView gpuTextureView, @Nullable @Nullable GpuTextureView gpuTextureView2, @Nullable @Nullable GpuTextureView gpuTextureView3)
-
-
Method Details
-
withoutGlTexture
- 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
- 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
- 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
- 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
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. -
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. -
equals
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 withObjects::equals(Object,Object)
. -
texure0
Returns the value of thetexure0
record component.- Returns:
- the value of the
texure0
record component
-
texure1
Returns the value of thetexure1
record component.- Returns:
- the value of the
texure1
record component
-
texure2
Returns the value of thetexure2
record component.- Returns:
- the value of the
texure2
record component
-