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$Atlas
intermediary net/minecraft/class_11697$class_7772
official hxb$b
named atlas
intermediary comp_1051
official a
named config
intermediary comp_4557
official b
  • Field Details

  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • method_73034

      CompletableFuture<SpriteLoader.StitchResult> method_73034(ResourceManager resourceManager, Executor executor, int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_73034 Lnet/minecraft/class_11697$Atlas;method_73034(Lnet/minecraft/resource/ResourceManager;Ljava/util/concurrent/Executor;I)Ljava/util/concurrent/CompletableFuture;
      intermediary method_73034 Lnet/minecraft/class_11697$class_7772;method_73034(Lnet/minecraft/class_3300;Ljava/util/concurrent/Executor;I)Ljava/util/concurrent/CompletableFuture;
      official a Lhxb$b;a(Laxt;Ljava/util/concurrent/Executor;I)Ljava/util/concurrent/CompletableFuture;
    • 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.
    • atlas

      public SpriteAtlasTexture atlas()
      Returns the value of the atlas record component.
      Returns:
      the value of the atlas record component
    • config

      public class_11697.class_11698 config()
      Returns the value of the config record component.
      Returns:
      the value of the config record component