Package net.minecraft
Record Class class_11697.Atlas
java.lang.Object
java.lang.Record
net.minecraft.class_11697.Atlas
- Record Components:
atlas-config-
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
class_11697
@Environment(CLIENT)
private static record class_11697.Atlas(SpriteAtlasTexture atlas, class_11697.class_11698 config)
extends Record
implements AutoCloseable
- Mappings:
Namespace Name named net/minecraft/class_11697$Atlasintermediary net/minecraft/class_11697$class_7772official hxb$bnamed atlasintermediary comp_1051official anamed configintermediary comp_4557official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SpriteAtlasTextureThe field for theatlasrecord component.private final class_11697.class_11698The field for theconfigrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionAtlas(SpriteAtlasTexture spriteAtlasTexture, class_11697.class_11698 class_11698) -
Method Summary
Modifier and TypeMethodDescriptionatlas()Returns the value of theatlasrecord component.voidclose()config()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.(package private) CompletableFuture<SpriteLoader.StitchResult> method_73034(ResourceManager resourceManager, Executor executor, int int2) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Atlas
Atlas(SpriteAtlasTexture spriteAtlasTexture, class_11697.class_11698 class_11698)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
method_73034
CompletableFuture<SpriteLoader.StitchResult> method_73034(ResourceManager resourceManager, Executor executor, int int2) - Mappings:
Namespace Name Mixin selector named method_73034Lnet/minecraft/class_11697$Atlas;method_73034(Lnet/minecraft/resource/ResourceManager;Ljava/util/concurrent/Executor;I)Ljava/util/concurrent/CompletableFuture;intermediary method_73034Lnet/minecraft/class_11697$class_7772;method_73034(Lnet/minecraft/class_3300;Ljava/util/concurrent/Executor;I)Ljava/util/concurrent/CompletableFuture;official aLhxb$b;a(Laxt;Ljava/util/concurrent/Executor;I)Ljava/util/concurrent/CompletableFuture;
-
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). -
atlas
Returns the value of theatlasrecord component.- Returns:
- the value of the
atlasrecord component
-
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-