Package net.minecraft.component.type
Record Class AttributeModifiersComponent.class_11193.class_11196
java.lang.Object
java.lang.Record
net.minecraft.component.type.AttributeModifiersComponent.class_11193.class_11196
- Record Components:
component-
- All Implemented Interfaces:
AttributeModifiersComponent.class_11193
- Enclosing interface:
AttributeModifiersComponent.class_11193
public static record AttributeModifiersComponent.class_11193.class_11196(Text component)
extends Record
implements AttributeModifiersComponent.class_11193
- Mappings:
Namespace Name named net/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11196intermediary net/minecraft/class_9285$class_11193$class_11196official ddn$b$cnamed componentintermediary comp_4035official c
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.component.type.AttributeModifiersComponent.class_11193
AttributeModifiersComponent.class_11193.class_11194, AttributeModifiersComponent.class_11193.class_11195, AttributeModifiersComponent.class_11193.class_11196, AttributeModifiersComponent.class_11193.class_11197 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for thecomponentrecord component.(package private) static final com.mojang.serialization.MapCodec<AttributeModifiersComponent.class_11193.class_11196> (package private) static final PacketCodec<RegistryByteBuf, AttributeModifiersComponent.class_11193.class_11196> Fields inherited from interface net.minecraft.component.type.AttributeModifiersComponent.class_11193
field_59729, field_59730 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidmethod_70731(Consumer<Text> consumer, @Nullable PlayerEntity playerEntity, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
component
The field for thecomponentrecord component. -
field_59737
static final com.mojang.serialization.MapCodec<AttributeModifiersComponent.class_11193.class_11196> field_59737- Mappings:
Namespace Name Mixin selector named field_59737Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11196;field_59737:Lcom/mojang/serialization/MapCodec;intermediary field_59737Lnet/minecraft/class_9285$class_11193$class_11196;field_59737:Lcom/mojang/serialization/MapCodec;official dLddn$b$c;d:Lcom/mojang/serialization/MapCodec;
-
field_59738
static final PacketCodec<RegistryByteBuf,AttributeModifiersComponent.class_11193.class_11196> field_59738- Mappings:
Namespace Name Mixin selector named field_59738Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11196;field_59738:Lnet/minecraft/network/codec/PacketCodec;intermediary field_59738Lnet/minecraft/class_9285$class_11193$class_11196;field_59738:Lnet/minecraft/class_9139;official eLddn$b$c;e:Lzg;
-
-
Constructor Details
-
class_11196
-
-
Method Details
-
method_70734
- Specified by:
method_70734in interfaceAttributeModifiersComponent.class_11193- Mappings:
Namespace Name Mixin selector named method_70734Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193;method_70734()Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11197;intermediary method_70734Lnet/minecraft/class_9285$class_11193;method_70734()Lnet/minecraft/class_9285$class_11193$class_11197;official cLddn$b;c()Lddn$b$d;
-
method_70731
public void method_70731(Consumer<Text> consumer, @Nullable @Nullable PlayerEntity playerEntity, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier) - Specified by:
method_70731in interfaceAttributeModifiersComponent.class_11193- Mappings:
Namespace Name Mixin selector named method_70731Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193;method_70731(Ljava/util/function/Consumer;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/entity/attribute/EntityAttributeModifier;)Vintermediary method_70731Lnet/minecraft/class_9285$class_11193;method_70731(Ljava/util/function/Consumer;Lnet/minecraft/class_1657;Lnet/minecraft/class_6880;Lnet/minecraft/class_1322;)Vofficial aLddn$b;a(Ljava/util/function/Consumer;Lcsu;Lji;Lbzr;)V
-
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). -
component
Returns the value of thecomponentrecord component.- Returns:
- the value of the
componentrecord component
-