Package net.minecraft.component.type
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
static final record
static final record
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AttributeModifiersComponent.Display> static final PacketCodec
<RegistryByteBuf, AttributeModifiersComponent.Display> -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTooltip
(Consumer<Text> textConsumer, @Nullable PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier) createOverride
(Text text) getType()
-
Field Details
-
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
- 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
AttributeModifiersComponent.Display.Type 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
-