Package net.minecraft.client.font
Record Class Font.FontFilterPair
java.lang.Object
java.lang.Record
net.minecraft.client.font.Font.FontFilterPair
- Record Components:
- provider-
- filter-
- All Implemented Interfaces:
- AutoCloseable
- Enclosing interface:
- Font
@Environment(CLIENT)
public static record Font.FontFilterPair(Font provider, FontFilterType.FilterMap filter)
extends Record
implements AutoCloseable
- Mappings:
- Namespace - Name - named - net/minecraft/client/font/Font$FontFilterPair- intermediary - net/minecraft/class_390$class_9241- official - fdu$a- named - provider- intermediary - comp_2348- official - a- named - filter- intermediary - comp_2349- official - b
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()final booleanIndicates whether some other object is "equal to" this one.filter()Returns the value of thefilterrecord component.final inthashCode()Returns a hash code value for this object.provider()Returns the value of theproviderrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
FontFilterPair
 
- 
- 
Method Details- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
- 
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).
- 
providerReturns the value of theproviderrecord component.- Returns:
- the value of the providerrecord component
 
- 
filterReturns the value of thefilterrecord component.- Returns:
- the value of the filterrecord component
 
 
-