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 GpuTexture texure0, @Nullable GpuTexture texure1, @Nullable GpuTexture texure2)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/texture/TextureSetupintermediary net/minecraft/class_11231official fzenamed texure0intermediary comp_4052official anamed texure1intermediary comp_4053official bnamed texure2intermediary comp_4054official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TextureSetupprivate final @Nullable GpuTextureThe field for thetexure0record component.private final @Nullable GpuTextureThe field for thetexure1record component.private final @Nullable GpuTextureThe field for thetexure2record component. -
Constructor Summary
ConstructorsConstructorDescriptionTextureSetup(@Nullable GpuTexture gpuTexture, @Nullable GpuTexture gpuTexture2, @Nullable GpuTexture gpuTexture3) -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureSetupempty()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static TextureSetupof(GpuTexture gpuTexture) static TextureSetupof(GpuTexture gpuTexture, GpuTexture gpuTexture2) texure0()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(GpuTexture gpuTexture)
-
Field Details
-
texure0
The field for thetexure0record component. -
texure1
The field for thetexure1record component. -
texure2
The field for thetexure2record 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 dLfze;d:Lfze;
-
-
Constructor Details
-
TextureSetup
public TextureSetup(@Nullable @Nullable GpuTexture gpuTexture, @Nullable @Nullable GpuTexture gpuTexture2, @Nullable @Nullable GpuTexture gpuTexture3)
-
-
Method Details
-
withoutGlTexture
- Mappings:
Namespace Name Mixin selector named withoutGlTextureLnet/minecraft/client/texture/TextureSetup;withoutGlTexture(Lcom/mojang/blaze3d/textures/GpuTexture;)Lnet/minecraft/client/texture/TextureSetup;intermediary method_70900Lnet/minecraft/class_11231;method_70900(Lcom/mojang/blaze3d/textures/GpuTexture;)Lnet/minecraft/class_11231;official aLfze;a(Lcom/mojang/blaze3d/textures/GpuTexture;)Lfze;
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/client/texture/TextureSetup;of(Lcom/mojang/blaze3d/textures/GpuTexture;)Lnet/minecraft/client/texture/TextureSetup;intermediary method_70902Lnet/minecraft/class_11231;method_70902(Lcom/mojang/blaze3d/textures/GpuTexture;)Lnet/minecraft/class_11231;official bLfze;b(Lcom/mojang/blaze3d/textures/GpuTexture;)Lfze;
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/client/texture/TextureSetup;of(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;)Lnet/minecraft/client/texture/TextureSetup;intermediary method_70901Lnet/minecraft/class_11231;method_70901(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;)Lnet/minecraft/class_11231;official aLfze;a(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;)Lfze;
-
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 aLfze;a()Lfze;
-
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
-