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 eyc$a
named provider
intermediary comp_2348
official a
named filter
intermediary comp_2349
official b
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
final boolean
Indicates whether some other object is "equal to" this one.filter()
Returns the value of thefilter
record component.final int
hashCode()
Returns a hash code value for this object.provider()
Returns the value of theprovider
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
FontFilterPair
-
-
Method Details
-
close
public void close()- Specified by:
close
in 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 theprovider
record component.- Returns:
- the value of the
provider
record component
-
filter
Returns the value of thefilter
record component.- Returns:
- the value of the
filter
record component
-