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$FontFilterPairintermediary net/minecraft/class_390$class_9241official ezm$anamed providerintermediary comp_2348official anamed filterintermediary comp_2349official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
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). -
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
filter
Returns the value of thefilterrecord component.- Returns:
- the value of the
filterrecord component
-