Package net.minecraft.client.texture
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(@Nullable GpuTextureView texure0, @Nullable GpuTextureView texure1, @Nullable GpuTextureView texure2, @Nullable GpuSampler sampler0, @Nullable GpuSampler sampler1, @Nullable GpuSampler sampler2)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/texture/TextureSetupintermediary net/minecraft/class_11231official gncnamed texure0intermediary comp_4052official anamed texure1intermediary comp_4053official bnamed texure2intermediary comp_4054official cnamed sampler0intermediary comp_5053official dnamed sampler1intermediary comp_5054official enamed sampler2intermediary comp_5055official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TextureSetupprivate final @Nullable GpuSamplerThe field for thesampler0record component.private final @Nullable GpuSamplerThe field for thesampler1record component.private final @Nullable GpuSamplerThe field for thesampler2record component.private static intprivate final @Nullable GpuTextureViewThe field for thetexure0record component.private final @Nullable GpuTextureViewThe field for thetexure1record component.private final @Nullable GpuTextureViewThe field for thetexure2record component. -
Constructor Summary
ConstructorsConstructorDescriptionTextureSetup(@Nullable GpuTextureView texure0, @Nullable GpuTextureView texure1, @Nullable GpuTextureView texure2, @Nullable GpuSampler sampler0, @Nullable GpuSampler sampler1, @Nullable GpuSampler sampler2) Creates an instance of aTextureSetuprecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureSetupempty()final booleanIndicates whether some other object is "equal to" this one.intfinal inthashCode()Returns a hash code value for this object.static TextureSetupof(GpuTextureView texture, GpuSampler gpuSampler) static TextureSetupof(GpuTextureView texture0, GpuSampler gpuSampler, GpuTextureView gpuTextureView, GpuSampler gpuSampler2) sampler0()Returns the value of thesampler0record component.sampler1()Returns the value of thesampler1record component.sampler2()Returns the value of thesampler2record component.static voidtexure0()Returns the value of thetexure0record component.texure1()Returns the value of thetexure1record component.texure2()Returns the value of thetexure2record component.final StringtoString()Returns a string representation of this record class.static TextureSetupwithoutGlTexture(GpuTextureView texture, GpuSampler gpuSampler)
-
Field Details
-
texure0
The field for thetexure0record component. -
texure1
The field for thetexure1record component. -
texure2
The field for thetexure2record component. -
sampler0
The field for thesampler0record component. -
sampler1
The field for thesampler1record component. -
sampler2
The field for thesampler2record component. -
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/client/texture/TextureSetup;EMPTY:Lnet/minecraft/client/texture/TextureSetup;intermediary field_59931Lnet/minecraft/class_11231;field_59931:Lnet/minecraft/class_11231;official gLgnc;g:Lgnc;
-
shuffleSeed
private static int shuffleSeed- Mappings:
Namespace Name Mixin selector named shuffleSeedLnet/minecraft/client/texture/TextureSetup;shuffleSeed:Iintermediary field_60313Lnet/minecraft/class_11231;field_60313:Iofficial hLgnc;h:I
-
-
Constructor Details
-
TextureSetup
public TextureSetup(@Nullable @Nullable GpuTextureView texure0, @Nullable @Nullable GpuTextureView texure1, @Nullable @Nullable GpuTextureView texure2, @Nullable @Nullable GpuSampler sampler0, @Nullable @Nullable GpuSampler sampler1, @Nullable @Nullable GpuSampler sampler2) Creates an instance of aTextureSetuprecord class.- Parameters:
texure0- the value for thetexure0record componenttexure1- the value for thetexure1record componenttexure2- the value for thetexure2record componentsampler0- the value for thesampler0record componentsampler1- the value for thesampler1record componentsampler2- the value for thesampler2record component
-
-
Method Details
-
withoutGlTexture
- Mappings:
Namespace Name Mixin selector named withoutGlTextureLnet/minecraft/client/texture/TextureSetup;withoutGlTexture(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/client/gl/GpuSampler;)Lnet/minecraft/client/texture/TextureSetup;intermediary method_70900Lnet/minecraft/class_11231;method_70900(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/class_12137;)Lnet/minecraft/class_11231;official aLgnc;a(Lcom/mojang/blaze3d/textures/GpuTextureView;Lfws;)Lgnc;
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/client/texture/TextureSetup;of(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/client/gl/GpuSampler;)Lnet/minecraft/client/texture/TextureSetup;intermediary method_70902Lnet/minecraft/class_11231;method_70902(Lcom/mojang/blaze3d/textures/GpuTextureView;Lnet/minecraft/class_12137;)Lnet/minecraft/class_11231;official bLgnc;b(Lcom/mojang/blaze3d/textures/GpuTextureView;Lfws;)Lgnc;
-
of
public static TextureSetup of(GpuTextureView texture0, GpuSampler gpuSampler, GpuTextureView gpuTextureView, GpuSampler gpuSampler2) - Mappings:
Namespace Name Mixin selector named ofLnet/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_70901Lnet/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 aLgnc;a(Lcom/mojang/blaze3d/textures/GpuTextureView;Lfws;Lcom/mojang/blaze3d/textures/GpuTextureView;Lfws;)Lgnc;
-
empty
- Mappings:
Namespace Name Mixin selector named emptyLnet/minecraft/client/texture/TextureSetup;empty()Lnet/minecraft/client/texture/TextureSetup;intermediary method_70899Lnet/minecraft/class_11231;method_70899()Lnet/minecraft/class_11231;official aLgnc;a()Lgnc;
-
getSortKey
public int getSortKey()- Mappings:
Namespace Name Mixin selector named getSortKeyLnet/minecraft/client/texture/TextureSetup;getSortKey()Iintermediary method_71297Lnet/minecraft/class_11231;method_71297()Iofficial bLgnc;b()I
-
shuffleRenderingOrder
public static void shuffleRenderingOrder()- Mappings:
Namespace Name Mixin selector named shuffleRenderingOrderLnet/minecraft/client/texture/TextureSetup;shuffleRenderingOrder()Vintermediary method_71298Lnet/minecraft/class_11231;method_71298()Vofficial cLgnc;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 thetexure0record component.- Returns:
- the value of the
texure0record component
-
texure1
Returns the value of thetexure1record component.- Returns:
- the value of the
texure1record component
-
texure2
Returns the value of thetexure2record component.- Returns:
- the value of the
texure2record component
-
sampler0
Returns the value of thesampler0record component.- Returns:
- the value of the
sampler0record component
-
sampler1
Returns the value of thesampler1record component.- Returns:
- the value of the
sampler1record component
-
sampler2
Returns the value of thesampler2record component.- Returns:
- the value of the
sampler2record component
-