Interface AttributeModifiersComponent.Display

All Known Implementing Classes:
AttributeModifiersComponent.Display.Default, AttributeModifiersComponent.Display.Hidden, AttributeModifiersComponent.Display.Override
Enclosing class:
AttributeModifiersComponent

public static interface AttributeModifiersComponent.Display
Mappings:
Namespace Name
named net/minecraft/component/type/AttributeModifiersComponent$Display
intermediary net/minecraft/class_9285$class_11193
official dfm$b
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<AttributeModifiersComponent.Display> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/component/type/AttributeModifiersComponent$Display;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_59729 Lnet/minecraft/class_9285$class_11193;field_59729:Lcom/mojang/serialization/Codec;
      official a Ldfm$b;a:Lcom/mojang/serialization/Codec;
    • PACKET_CODEC

      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/component/type/AttributeModifiersComponent$Display;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_59730 Lnet/minecraft/class_9285$class_11193;field_59730:Lnet/minecraft/class_9139;
      official b Ldfm$b;b:Lzm;
  • Method Details

    • getDefault

      Mappings:
      Namespace Name Mixin selector
      named getDefault Lnet/minecraft/component/type/AttributeModifiersComponent$Display;getDefault()Lnet/minecraft/component/type/AttributeModifiersComponent$Display;
      intermediary method_70729 Lnet/minecraft/class_9285$class_11193;method_70729()Lnet/minecraft/class_9285$class_11193;
      official a Ldfm$b;a()Ldfm$b;
    • getHidden

      Mappings:
      Namespace Name Mixin selector
      named getHidden Lnet/minecraft/component/type/AttributeModifiersComponent$Display;getHidden()Lnet/minecraft/component/type/AttributeModifiersComponent$Display;
      intermediary method_70733 Lnet/minecraft/class_9285$class_11193;method_70733()Lnet/minecraft/class_9285$class_11193;
      official b Ldfm$b;b()Ldfm$b;
    • createOverride

      static AttributeModifiersComponent.Display createOverride(Text text)
      Mappings:
      Namespace Name Mixin selector
      named createOverride Lnet/minecraft/component/type/AttributeModifiersComponent$Display;createOverride(Lnet/minecraft/text/Text;)Lnet/minecraft/component/type/AttributeModifiersComponent$Display;
      intermediary method_70732 Lnet/minecraft/class_9285$class_11193;method_70732(Lnet/minecraft/class_2561;)Lnet/minecraft/class_9285$class_11193;
      official a Ldfm$b;a(Lxo;)Ldfm$b;
    • getType

      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/component/type/AttributeModifiersComponent$Display;getType()Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;
      intermediary method_70734 Lnet/minecraft/class_9285$class_11193;method_70734()Lnet/minecraft/class_9285$class_11193$class_11197;
      official c Ldfm$b;c()Ldfm$b$d;
    • addTooltip

      void addTooltip(Consumer<Text> textConsumer, @Nullable @Nullable PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier)
      Mappings:
      Namespace Name Mixin selector
      named addTooltip Lnet/minecraft/component/type/AttributeModifiersComponent$Display;addTooltip(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 Ldfm$b;a(Ljava/util/function/Consumer;Lcut;Ljl;Lcbq;)V