Package net.minecraft
Record Class class_9653.class_9654
java.lang.Object
java.lang.Record
net.minecraft.class_9653.class_9654
- Record Components:
b-c-d-e-f-g-
- All Implemented Interfaces:
Predicate<AttributeModifiersComponent.Entry>
- Enclosing class:
class_9653
public static record class_9653.class_9654(Optional<RegistryEntryList<EntityAttribute>> b, Optional<UUID> c, Optional<String> d, NumberRange.DoubleRange e, Optional<EntityAttributeModifier.Operation> f, Optional<AttributeModifierSlot> g)
extends Record
implements Predicate<AttributeModifiersComponent.Entry>
- Mappings:
Namespace Name named net/minecraft/class_9653$class_9654intermediary net/minecraft/class_9653$class_9654official cf$anamed bintermediary comp_2624official bnamed cintermediary comp_2625official cnamed dintermediary comp_2626official dnamed eintermediary comp_2627official enamed fintermediary comp_2628official fnamed gintermediary comp_2629official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<RegistryEntryList<EntityAttribute>> The field for thebrecord component.The field for thecrecord component.The field for thedrecord component.private final NumberRange.DoubleRangeThe field for theerecord component.private final Optional<EntityAttributeModifier.Operation> The field for thefrecord component.static final com.mojang.serialization.Codec<class_9653.class_9654> private final Optional<AttributeModifierSlot> The field for thegrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9654(Optional<RegistryEntryList<EntityAttribute>> optional, Optional<UUID> optional2, Optional<String> optional3, NumberRange.DoubleRange doubleRange, Optional<EntityAttributeModifier.Operation> optional4, Optional<AttributeModifierSlot> optional5) -
Method Summary
Modifier and TypeMethodDescriptionb()Returns the value of thebrecord component.c()Returns the value of thecrecord component.d()Returns the value of thedrecord component.e()Returns the value of theerecord component.final booleanIndicates whether some other object is "equal to" this one.f()Returns the value of thefrecord component.g()Returns the value of thegrecord component.final inthashCode()Returns a hash code value for this object.booleanfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
b
The field for thebrecord component. -
c
The field for thecrecord component. -
d
The field for thedrecord component. -
e
The field for theerecord component. -
f
The field for thefrecord component. -
g
The field for thegrecord component. -
field_51379
- Mappings:
Namespace Name Mixin selector named field_51379Lnet/minecraft/class_9653$class_9654;field_51379:Lcom/mojang/serialization/Codec;intermediary field_51379Lnet/minecraft/class_9653$class_9654;field_51379:Lcom/mojang/serialization/Codec;official aLcf$a;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_9654
public class_9654(Optional<RegistryEntryList<EntityAttribute>> optional, Optional<UUID> optional2, Optional<String> optional3, NumberRange.DoubleRange doubleRange, Optional<EntityAttributeModifier.Operation> optional4, Optional<AttributeModifierSlot> optional5)
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<AttributeModifiersComponent.Entry>- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/class_9653$class_9654;test(Lnet/minecraft/component/type/AttributeModifiersComponent$Entry;)Zintermediary method_59671Lnet/minecraft/class_9653$class_9654;method_59671(Lnet/minecraft/class_9285$class_9287;)Zofficial aLcf$a;a(Lcxf$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). -
b
Returns the value of thebrecord component.- Returns:
- the value of the
brecord component
-
c
Returns the value of thecrecord component.- Returns:
- the value of the
crecord component
-
d
Returns the value of thedrecord component.- Returns:
- the value of the
drecord component
-
e
Returns the value of theerecord component.- Returns:
- the value of the
erecord component
-
f
Returns the value of thefrecord component.- Returns:
- the value of the
frecord component
-
g
Returns the value of thegrecord component.- Returns:
- the value of the
grecord component
-