Package net.minecraft.client.texture
Record Class AtlasManager.CompletableEntry
java.lang.Object
java.lang.Record
net.minecraft.client.texture.AtlasManager.CompletableEntry
- Record Components:
entry-preparations-
- Enclosing class:
AtlasManager
@Environment(CLIENT)
private static record AtlasManager.CompletableEntry(AtlasManager.Entry entry, CompletableFuture<SpriteLoader.StitchResult> preparations)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/texture/AtlasManager$CompletableEntryintermediary net/minecraft/class_11697$class_11699official iek$cnamed entryintermediary comp_4558official anamed preparationsintermediary comp_4559official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtlasManager.EntryThe field for theentryrecord component.private final CompletableFuture<SpriteLoader.StitchResult> The field for thepreparationsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCompletableEntry(AtlasManager.Entry entry, CompletableFuture<SpriteLoader.StitchResult> completableFuture) -
Method Summary
Modifier and TypeMethodDescriptionentry()Returns the value of theentryrecord component.final booleanIndicates whether some other object is "equal to" this one.voidfillSpriteMap(Map<SpriteIdentifier, Sprite> sprites) final inthashCode()Returns a hash code value for this object.Returns the value of thepreparationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
entry
The field for theentryrecord component. -
preparations
The field for thepreparationsrecord component.
-
-
Constructor Details
-
CompletableEntry
CompletableEntry(AtlasManager.Entry entry, CompletableFuture<SpriteLoader.StitchResult> completableFuture)
-
-
Method Details
-
fillSpriteMap
- Mappings:
Namespace Name Mixin selector named fillSpriteMapLnet/minecraft/client/texture/AtlasManager$CompletableEntry;fillSpriteMap(Ljava/util/Map;)Vintermediary method_73035Lnet/minecraft/class_11697$class_11699;method_73035(Ljava/util/Map;)Vofficial aLiek$c;a(Ljava/util/Map;)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). -
entry
Returns the value of theentryrecord component.- Returns:
- the value of the
entryrecord component
-
preparations
Returns the value of thepreparationsrecord component.- Returns:
- the value of the
preparationsrecord component
-