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_9654
intermediary net/minecraft/class_9653$class_9654
official cf$a
named b
intermediary comp_2624
official b
named c
intermediary comp_2625
official c
named d
intermediary comp_2626
official d
named e
intermediary comp_2627
official e
named f
intermediary comp_2628
official f
named g
intermediary comp_2629
official g
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional
<RegistryEntryList<EntityAttribute>> The field for theb
record component.The field for thec
record component.The field for thed
record component.private final NumberRange.DoubleRange
The field for thee
record component.private final Optional
<EntityAttributeModifier.Operation> The field for thef
record component.static final com.mojang.serialization.Codec
<class_9653.class_9654> private final Optional
<AttributeModifierSlot> The field for theg
record 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 theb
record component.c()
Returns the value of thec
record component.d()
Returns the value of thed
record component.e()
Returns the value of thee
record component.final boolean
Indicates whether some other object is "equal to" this one.f()
Returns the value of thef
record component.g()
Returns the value of theg
record component.final int
hashCode()
Returns a hash code value for this object.boolean
final String
toString()
Returns a string representation of this record class.
-
Field Details
-
b
The field for theb
record component. -
c
The field for thec
record component. -
d
The field for thed
record component. -
e
The field for thee
record component. -
f
The field for thef
record component. -
g
The field for theg
record component. -
field_51379
- Mappings:
Namespace Name Mixin selector named field_51379
Lnet/minecraft/class_9653$class_9654;field_51379:Lcom/mojang/serialization/Codec;
intermediary field_51379
Lnet/minecraft/class_9653$class_9654;field_51379:Lcom/mojang/serialization/Codec;
official a
Lcf$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:
test
in interfacePredicate<AttributeModifiersComponent.Entry>
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/class_9653$class_9654;test(Lnet/minecraft/component/type/AttributeModifiersComponent$Entry;)Z
intermediary method_59671
Lnet/minecraft/class_9653$class_9654;method_59671(Lnet/minecraft/class_9285$class_9287;)Z
official a
Lcf$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 theb
record component.- Returns:
- the value of the
b
record component
-
c
Returns the value of thec
record component.- Returns:
- the value of the
c
record component
-
d
Returns the value of thed
record component.- Returns:
- the value of the
d
record component
-
e
Returns the value of thee
record component.- Returns:
- the value of the
e
record component
-
f
Returns the value of thef
record component.- Returns:
- the value of the
f
record component
-
g
Returns the value of theg
record component.- Returns:
- the value of the
g
record component
-