Record Class AttributeModifiersComponent.class_11193.class_11194

java.lang.Object
java.lang.Record
net.minecraft.component.type.AttributeModifiersComponent.class_11193.class_11194
All Implemented Interfaces:
AttributeModifiersComponent.class_11193
Enclosing interface:
AttributeModifiersComponent.class_11193

public static record AttributeModifiersComponent.class_11193.class_11194() extends Record implements AttributeModifiersComponent.class_11193
Mappings:
Namespace Name
named net/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11194
intermediary net/minecraft/class_9285$class_11193$class_11194
official ddn$b$a
  • Field Details

    • field_59731

      Mappings:
      Namespace Name Mixin selector
      named field_59731 Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11194;field_59731:Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11194;
      intermediary field_59731 Lnet/minecraft/class_9285$class_11193$class_11194;field_59731:Lnet/minecraft/class_9285$class_11193$class_11194;
      official c Lddn$b$a;c:Lddn$b$a;
    • field_59732

      static final com.mojang.serialization.MapCodec<AttributeModifiersComponent.class_11193.class_11194> field_59732
      Mappings:
      Namespace Name Mixin selector
      named field_59732 Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11194;field_59732:Lcom/mojang/serialization/MapCodec;
      intermediary field_59732 Lnet/minecraft/class_9285$class_11193$class_11194;field_59732:Lcom/mojang/serialization/MapCodec;
      official d Lddn$b$a;d:Lcom/mojang/serialization/MapCodec;
    • field_59733

      Mappings:
      Namespace Name Mixin selector
      named field_59733 Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11194;field_59733:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_59733 Lnet/minecraft/class_9285$class_11193$class_11194;field_59733:Lnet/minecraft/class_9139;
      official e Lddn$b$a;e:Lzg;
  • Constructor Details

    • class_11194

      public class_11194()
      Creates an instance of a class_11194 record class.
  • Method Details

    • method_70734

      Specified by:
      method_70734 in interface AttributeModifiersComponent.class_11193
      Mappings:
      Namespace Name Mixin selector
      named method_70734 Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193;method_70734()Lnet/minecraft/component/type/AttributeModifiersComponent$class_11193$class_11197;
      intermediary method_70734 Lnet/minecraft/class_9285$class_11193;method_70734()Lnet/minecraft/class_9285$class_11193$class_11197;
      official c Lddn$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_70731 in interface AttributeModifiersComponent.class_11193
      Mappings:
      Namespace Name Mixin selector
      named method_70731 Lnet/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;)V
      intermediary method_70731 Lnet/minecraft/class_9285$class_11193;method_70731(Ljava/util/function/Consumer;Lnet/minecraft/class_1657;Lnet/minecraft/class_6880;Lnet/minecraft/class_1322;)V
      official a Lddn$b;a(Ljava/util/function/Consumer;Lcsu;Lji;Lbzr;)V
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.