Package net.minecraft
Record Class class_11456.class_11457<T extends class_11456>
java.lang.Object
java.lang.Record
net.minecraft.class_11456.class_11457<T>
- Record Components:
requiredLevel-
- All Implemented Interfaces:
Predicate<T>,class_11413<T>
- Enclosing interface:
class_11456
public static record class_11456.class_11457<T extends class_11456>(int requiredLevel)
extends Record
implements class_11413<T>
- Mappings:
Namespace Name named net/minecraft/class_11456$class_11457intermediary net/minecraft/class_11456$class_11457official ep$anamed requiredLevelintermediary comp_4364official a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for therequiredLevelrecord component. -
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.intReturns the value of therequiredLevelrecord component.booleanfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
requiredLevel
private final int requiredLevelThe field for therequiredLevelrecord component.
-
-
Constructor Details
-
class_11457
public class_11457(int int2)
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<T extends class_11456>- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/class_11456$class_11457;test(Lnet/minecraft/class_11456;)Zintermediary method_71776Lnet/minecraft/class_11456$class_11457;method_71776(Lnet/minecraft/class_11456;)Zofficial aLep$a;a(Lep;)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 with '=='. -
requiredLevel
public int requiredLevel()Returns the value of therequiredLevelrecord component.- Specified by:
requiredLevelin interfaceclass_11413<T extends class_11456>- Returns:
- the value of the
requiredLevelrecord component
-