Package net.minecraft.client.font
Record Class FontManager.FontEntry
java.lang.Object
java.lang.Record
net.minecraft.client.font.FontManager.FontEntry
- Record Components:
fontId
-builders
-dependencies
-
- All Implemented Interfaces:
DependencyTracker.Dependencies<Identifier>
- Enclosing class:
FontManager
@Environment(CLIENT)
private static record FontManager.FontEntry(Identifier fontId, List<FontManager.Builder> builders, Set<Identifier> dependencies)
extends Record
implements DependencyTracker.Dependencies<Identifier>
- Mappings:
Namespace Name named net/minecraft/client/font/FontManager$FontEntry
intermediary net/minecraft/class_378$class_8537
official fjv$e
named fontId
intermediary comp_1498
official a
named builders
intermediary comp_1499
official b
named dependencies
intermediary comp_1500
official c
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<FontManager.Builder> The field for thebuilders
record component.private final Set
<Identifier> The field for thedependencies
record component.private final Identifier
The field for thefontId
record component. -
Constructor Summary
ModifierConstructorDescriptionFontEntry
(Identifier fontId) private
FontEntry
(Identifier identifier, List<FontManager.Builder> list, Set<Identifier> set) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBuilder
(FontManager.FontKey key, FontFilterType.FilterMap filters, CompletableFuture<Optional<Font>> fontFuture) void
addReferenceBuilder
(FontManager.FontKey key, FontFilterType.FilterMap filters, FontLoader.Reference reference) builders()
Returns the value of thebuilders
record component.Returns the value of thedependencies
record component.final boolean
Indicates whether some other object is "equal to" this one.fontId()
Returns the value of thefontId
record component.void
forDependencies
(Consumer<Identifier> callback) void
forOptionalDependencies
(Consumer<Identifier> callback) private Stream
<CompletableFuture<Optional<Font>>> getRequiredFontProviders
(Function<Identifier, List<Font.FontFilterPair>> fontRetriever) final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
fontId
The field for thefontId
record component. -
builders
The field for thebuilders
record component. -
dependencies
The field for thedependencies
record component.
-
-
Constructor Details
-
FontEntry
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/font/FontManager$FontEntry;<init>(Lnet/minecraft/util/Identifier;)V
intermediary <init>
Lnet/minecraft/class_378$class_8537;<init>(Lnet/minecraft/class_2960;)V
official <init>
Lfjv$e;<init>(Lalf;)V
-
FontEntry
-
-
Method Details
-
addReferenceBuilder
public void addReferenceBuilder(FontManager.FontKey key, FontFilterType.FilterMap filters, FontLoader.Reference reference) - Mappings:
Namespace Name Mixin selector named addReferenceBuilder
Lnet/minecraft/client/font/FontManager$FontEntry;addReferenceBuilder(Lnet/minecraft/client/font/FontManager$FontKey;Lnet/minecraft/client/font/FontFilterType$FilterMap;Lnet/minecraft/client/font/FontLoader$Reference;)V
intermediary method_51631
Lnet/minecraft/class_378$class_8537;method_51631(Lnet/minecraft/class_378$class_8534;Lnet/minecraft/class_9243$class_9244;Lnet/minecraft/class_389$class_8540;)V
official a
Lfjv$e;a(Lfjv$a;Lfjw$a;Lfki$c;)V
-
addBuilder
public void addBuilder(FontManager.FontKey key, FontFilterType.FilterMap filters, CompletableFuture<Optional<Font>> fontFuture) - Mappings:
Namespace Name Mixin selector named addBuilder
Lnet/minecraft/client/font/FontManager$FontEntry;addBuilder(Lnet/minecraft/client/font/FontManager$FontKey;Lnet/minecraft/client/font/FontFilterType$FilterMap;Ljava/util/concurrent/CompletableFuture;)V
intermediary method_51632
Lnet/minecraft/class_378$class_8537;method_51632(Lnet/minecraft/class_378$class_8534;Lnet/minecraft/class_9243$class_9244;Ljava/util/concurrent/CompletableFuture;)V
official a
Lfjv$e;a(Lfjv$a;Lfjw$a;Ljava/util/concurrent/CompletableFuture;)V
-
getImmediateProviders
- Mappings:
Namespace Name Mixin selector named getImmediateProviders
Lnet/minecraft/client/font/FontManager$FontEntry;getImmediateProviders()Ljava/util/stream/Stream;
intermediary method_51635
Lnet/minecraft/class_378$class_8537;method_51635()Ljava/util/stream/Stream;
official d
Lfjv$e;d()Ljava/util/stream/Stream;
-
getRequiredFontProviders
public Optional<List<Font.FontFilterPair>> getRequiredFontProviders(Function<Identifier, List<Font.FontFilterPair>> fontRetriever) - Mappings:
Namespace Name Mixin selector named getRequiredFontProviders
Lnet/minecraft/client/font/FontManager$FontEntry;getRequiredFontProviders(Ljava/util/function/Function;)Ljava/util/Optional;
intermediary method_51634
Lnet/minecraft/class_378$class_8537;method_51634(Ljava/util/function/Function;)Ljava/util/Optional;
official a
Lfjv$e;a(Ljava/util/function/Function;)Ljava/util/Optional;
-
forDependencies
- Specified by:
forDependencies
in interfaceDependencyTracker.Dependencies<Identifier>
- Mappings:
Namespace Name Mixin selector named forDependencies
Lnet/minecraft/resource/DependencyTracker$Dependencies;forDependencies(Ljava/util/function/Consumer;)V
intermediary method_51478
Lnet/minecraft/class_8523$class_8524;method_51478(Ljava/util/function/Consumer;)V
official a
Layd$a;a(Ljava/util/function/Consumer;)V
-
forOptionalDependencies
- Specified by:
forOptionalDependencies
in interfaceDependencyTracker.Dependencies<Identifier>
- Mappings:
Namespace Name Mixin selector named forOptionalDependencies
Lnet/minecraft/resource/DependencyTracker$Dependencies;forOptionalDependencies(Ljava/util/function/Consumer;)V
intermediary method_51480
Lnet/minecraft/class_8523$class_8524;method_51480(Ljava/util/function/Consumer;)V
official b
Layd$a;b(Ljava/util/function/Consumer;)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)
. -
fontId
Returns the value of thefontId
record component.- Returns:
- the value of the
fontId
record component
-
builders
Returns the value of thebuilders
record component.- Returns:
- the value of the
builders
record component
-
dependencies
Returns the value of thedependencies
record component.- Returns:
- the value of the
dependencies
record component
-