Package net.minecraft
Record Class class_9697
java.lang.Object
java.lang.Record
net.minecraft.class_9697
- Record Components:
template-base-addition-
- All Implemented Interfaces:
class_9695
public record class_9697(ItemStack template, ItemStack base, ItemStack addition)
extends Record
implements class_9695
- Mappings:
Namespace Name named net/minecraft/class_9697intermediary net/minecraft/class_9697official cyznamed templateintermediary comp_2677official anamed baseintermediary comp_2678official bnamed additionintermediary comp_2679official c
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddition()Returns the value of theadditionrecord component.base()Returns the value of thebaserecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmethod_59984(int int2) booleantemplate()Returns the value of thetemplaterecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_9697
-
-
Method Details
-
method_59984
- Specified by:
method_59984in interfaceclass_9695- Mappings:
Namespace Name Mixin selector named method_59984Lnet/minecraft/class_9695;method_59984(I)Lnet/minecraft/item/ItemStack;intermediary method_59984Lnet/minecraft/class_9695;method_59984(I)Lnet/minecraft/class_1799;official aLcyj;a(I)Lcua;
-
method_59983
public int method_59983()- Specified by:
method_59983in interfaceclass_9695- Mappings:
Namespace Name Mixin selector named method_59983Lnet/minecraft/class_9695;method_59983()Iintermediary method_59983Lnet/minecraft/class_9695;method_59983()Iofficial aLcyj;a()I
-
method_59987
public boolean method_59987()- Specified by:
method_59987in interfaceclass_9695- Mappings:
Namespace Name Mixin selector named method_59987Lnet/minecraft/class_9695;method_59987()Zintermediary method_59987Lnet/minecraft/class_9695;method_59987()Zofficial bLcyj;b()Z
-
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). -
template
Returns the value of thetemplaterecord component.- Returns:
- the value of the
templaterecord component
-
base
Returns the value of thebaserecord component.- Returns:
- the value of the
baserecord component
-
addition
Returns the value of theadditionrecord component.- Returns:
- the value of the
additionrecord component
-