Package net.minecraft
Record Class class_7479.class_7480
java.lang.Object
java.lang.Record
net.minecraft.class_7479.class_7480
- Record Components:
id-query-
- Enclosing class:
class_7479
@Environment(CLIENT)
private static record class_7479.class_7480(int id, String query)
extends Record
- Mappings:
Namespace Name official efo$aintermediary net/minecraft/class_7479$class_7480named net/minecraft/class_7479$class_7480official aintermediary comp_824named idofficial bintermediary comp_825named query
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.booleanmethod_44043(int int2) booleanmethod_44044(String string) query()Returns the value of thequeryrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_7480
class_7480(int int2, String string)
-
-
Method Details
-
method_44043
public boolean method_44043(int int2) - Mappings:
Namespace Name Mixin selector official aLefo$a;a(I)Zintermediary method_44043Lnet/minecraft/class_7479$class_7480;method_44043(I)Znamed method_44043Lnet/minecraft/class_7479$class_7480;method_44043(I)Z
-
method_44044
- Mappings:
Namespace Name Mixin selector official aLefo$a;a(Ljava/lang/String;)Zintermediary method_44044Lnet/minecraft/class_7479$class_7480;method_44044(Ljava/lang/String;)Znamed method_44044Lnet/minecraft/class_7479$class_7480;method_44044(Ljava/lang/String;)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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
query
Returns the value of thequeryrecord component.- Returns:
- the value of the
queryrecord component
-