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$Displayintermediary net/minecraft/class_9285$class_11193official dkh$b
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final recordstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AttributeModifiersComponent.Display> static final PacketCodec<RegistryByteBuf, AttributeModifiersComponent.Display> -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTooltip(Consumer<Text> textConsumer, @Nullable PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier) createOverride(Text text) getType()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/component/type/AttributeModifiersComponent$Display;CODEC:Lcom/mojang/serialization/Codec;intermediary field_59729Lnet/minecraft/class_9285$class_11193;field_59729:Lcom/mojang/serialization/Codec;official aLdkh$b;a:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/component/type/AttributeModifiersComponent$Display;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_59730Lnet/minecraft/class_9285$class_11193;field_59730:Lnet/minecraft/class_9139;official bLdkh$b;b:Laae;
-
-
Method Details
-
getDefault
- Mappings:
Namespace Name Mixin selector named getDefaultLnet/minecraft/component/type/AttributeModifiersComponent$Display;getDefault()Lnet/minecraft/component/type/AttributeModifiersComponent$Display;intermediary method_70729Lnet/minecraft/class_9285$class_11193;method_70729()Lnet/minecraft/class_9285$class_11193;official aLdkh$b;a()Ldkh$b;
-
getHidden
- Mappings:
Namespace Name Mixin selector named getHiddenLnet/minecraft/component/type/AttributeModifiersComponent$Display;getHidden()Lnet/minecraft/component/type/AttributeModifiersComponent$Display;intermediary method_70733Lnet/minecraft/class_9285$class_11193;method_70733()Lnet/minecraft/class_9285$class_11193;official bLdkh$b;b()Ldkh$b;
-
createOverride
- Mappings:
Namespace Name Mixin selector named createOverrideLnet/minecraft/component/type/AttributeModifiersComponent$Display;createOverride(Lnet/minecraft/text/Text;)Lnet/minecraft/component/type/AttributeModifiersComponent$Display;intermediary method_70732Lnet/minecraft/class_9285$class_11193;method_70732(Lnet/minecraft/class_2561;)Lnet/minecraft/class_9285$class_11193;official aLdkh$b;a(Lxx;)Ldkh$b;
-
getType
AttributeModifiersComponent.Display.Type getType()- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/component/type/AttributeModifiersComponent$Display;getType()Lnet/minecraft/component/type/AttributeModifiersComponent$Display$Type;intermediary method_70734Lnet/minecraft/class_9285$class_11193;method_70734()Lnet/minecraft/class_9285$class_11193$class_11197;official cLdkh$b;c()Ldkh$b$d;
-
addTooltip
void addTooltip(Consumer<Text> textConsumer, @Nullable @Nullable PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier) - Mappings:
Namespace Name Mixin selector named addTooltipLnet/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;)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 aLdkh$b;a(Ljava/util/function/Consumer;Lczl;Ljk;Lcga;)V
-