Package net.minecraft.client.texture
Record Class SpriteLoader.StitchResult
java.lang.Object
java.lang.Record
net.minecraft.client.texture.SpriteLoader.StitchResult
- Record Components:
- width-
- height-
- mipLevel-
- missing-
- regions-
- readyForUpload-
- Enclosing class:
- SpriteLoader
@Environment(CLIENT)
public static record SpriteLoader.StitchResult(int width, int height, int mipLevel, Sprite missing, Map<Identifier,Sprite> regions, CompletableFuture<Void> readyForUpload)
extends Record 
- Mappings:
- Namespace - Name - official - fuq$a- intermediary - net/minecraft/class_7766$class_7767- named - net/minecraft/client/texture/SpriteLoader$StitchResult- official - a- intermediary - comp_1040- named - width- official - b- intermediary - comp_1041- named - height- official - c- intermediary - comp_1042- named - mipLevel- official - d- intermediary - comp_1043- named - missing- official - e- intermediary - comp_1044- named - regions- official - f- intermediary - comp_1045- named - readyForUpload
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intThe field for theheightrecord component.private final intThe field for themipLevelrecord component.private final SpriteThe field for themissingrecord component.private final CompletableFuture<Void>The field for thereadyForUploadrecord component.private final Map<Identifier,Sprite> The field for theregionsrecord component.private final intThe field for thewidthrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionStitchResult(int int2, int int3, int int4, Sprite sprite, Map<Identifier, Sprite> map, CompletableFuture<Void> completableFuture) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intheight()Returns the value of theheightrecord component.intmipLevel()Returns the value of themipLevelrecord component.missing()Returns the value of themissingrecord component.Returns the value of thereadyForUploadrecord component.regions()Returns the value of theregionsrecord component.final StringtoString()Returns a string representation of this record class.intwidth()Returns the value of thewidthrecord component.
- 
Field Details- 
widthprivate final int widthThe field for thewidthrecord component.
- 
heightprivate final int heightThe field for theheightrecord component.
- 
mipLevelprivate final int mipLevelThe field for themipLevelrecord component.
- 
missingThe field for themissingrecord component.
- 
regionsThe field for theregionsrecord component.
- 
readyForUploadThe field for thereadyForUploadrecord component.
 
- 
- 
Constructor Details- 
StitchResultpublic StitchResult(int int2, int int3, int int4, Sprite sprite, Map<Identifier, Sprite> map, CompletableFuture<Void> completableFuture) 
 
- 
- 
Method Details- 
whenComplete- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfuq$a;a()Ljava/util/concurrent/CompletableFuture;- intermediary - method_45845- Lnet/minecraft/class_7766$class_7767;method_45845()Ljava/util/concurrent/CompletableFuture;- named - whenComplete- Lnet/minecraft/client/texture/SpriteLoader$StitchResult;whenComplete()Ljava/util/concurrent/CompletableFuture;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
widthpublic int width()Returns the value of thewidthrecord component.- Returns:
- the value of the widthrecord component
 
- 
heightpublic int height()Returns the value of theheightrecord component.- Returns:
- the value of the heightrecord component
 
- 
mipLevelpublic int mipLevel()Returns the value of themipLevelrecord component.- Returns:
- the value of the mipLevelrecord component
 
- 
missingReturns the value of themissingrecord component.- Returns:
- the value of the missingrecord component
 
- 
regionsReturns the value of theregionsrecord component.- Returns:
- the value of the regionsrecord component
 
- 
readyForUploadReturns the value of thereadyForUploadrecord component.- Returns:
- the value of the readyForUploadrecord component
 
 
-