Package net.minecraft
Record Class class_8786<T extends Recipe<?>>
java.lang.Object
java.lang.Record
net.minecraft.class_8786<T>
- Record Components:
comp_1932
-comp_1933
-
public record class_8786<T extends Recipe<?>>(Identifier comp_1932, T extends Recipe<?> comp_1933)
extends Record
- Mappings:
Namespace Name official cmf
intermediary net/minecraft/class_8786
named net/minecraft/class_8786
official a
intermediary comp_1932
named comp_1932
official b
intermediary comp_1933
named comp_1933
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomp_1932
record component.Returns the value of thecomp_1933
record component.boolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for this object.toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_8786
-
-
Method Details
-
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)
. -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
comp_1932
Returns the value of thecomp_1932
record component.- Returns:
- the value of the
comp_1932
record component
-
comp_1933
Returns the value of thecomp_1933
record component.- Returns:
- the value of the
comp_1933
record component
-