Package net.minecraft.client.font
Record Class FontManager.class_8535
java.lang.Object
java.lang.Record
net.minecraft.client.font.FontManager.class_8535
- Record Components:
id
-result
-
- Enclosing class:
FontManager
@Environment(CLIENT)
private static record FontManager.class_8535(FontManager.class_8534 id, com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>,Identifier> result)
extends Record
- Mappings:
Namespace Name official eqv$b
intermediary net/minecraft/class_378$class_8535
named net/minecraft/client/font/FontManager$class_8535
official a
intermediary comp_1494
named id
official b
intermediary comp_1495
named result
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FontManager.class_8534
The field for theid
record component.private final com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>,
Identifier> The field for theresult
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8535
(FontManager.class_8534 class_8534, com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>, Identifier> either) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.method_51629
(Function<Identifier, List<Font>> function) com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>,
Identifier> result()
Returns the value of theresult
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
id
The field for theid
record component. -
result
private final com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>,Identifier> resultThe field for theresult
record component.
-
-
Constructor Details
-
class_8535
class_8535(FontManager.class_8534 class_8534, com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>, Identifier> either)
-
-
Method Details
-
method_51629
- Mappings:
Namespace Name Mixin selector official a
Leqv$b;a(Ljava/util/function/Function;)Ljava/util/Optional;
intermediary method_51629
Lnet/minecraft/class_378$class_8535;method_51629(Ljava/util/function/Function;)Ljava/util/Optional;
named method_51629
Lnet/minecraft/client/font/FontManager$class_8535;method_51629(Ljava/util/function/Function;)Ljava/util/Optional;
-
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)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
result
Returns the value of theresult
record component.- Returns:
- the value of the
result
record component
-