Package net.minecraft.client.font
Record Class FontManager.Builder
java.lang.Object
java.lang.Record
net.minecraft.client.font.FontManager.Builder
- Record Components:
- id-
- result-
- Enclosing class:
- FontManager
@Environment(CLIENT)
private static record FontManager.Builder(FontManager.FontKey id, com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>,Identifier> result)
extends Record 
- Mappings:
- Namespace - Name - official - erm$b- intermediary - net/minecraft/class_378$class_8535- named - net/minecraft/client/font/FontManager$Builder- official - a- intermediary - comp_1494- named - id- official - b- intermediary - comp_1495- named - result
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final FontManager.FontKeyThe field for theidrecord component.private final com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>,Identifier> The field for theresultrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionBuilder(FontManager.FontKey fontKey, com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>, Identifier> either) 
- 
Method SummaryModifier and TypeMethodDescriptionbuild(Function<Identifier, List<Font>> fontRetriever) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>,Identifier> result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
idThe field for theidrecord component.
- 
resultprivate final com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>,Identifier> resultThe field for theresultrecord component.
 
- 
- 
Constructor Details- 
BuilderBuilder(FontManager.FontKey fontKey, com.mojang.datafixers.util.Either<CompletableFuture<Optional<Font>>, Identifier> either) 
 
- 
- 
Method Details- 
build- Mappings:
- Namespace - Name - Mixin selector - official - a- Lerm$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 - build- Lnet/minecraft/client/font/FontManager$Builder;build(Ljava/util/function/Function;)Ljava/util/Optional;
 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
idReturns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
- 
resultReturns the value of theresultrecord component.- Returns:
- the value of the resultrecord component
 
 
-