Class StatusEffect.EffectAttributeModifierCreator

java.lang.Object
net.minecraft.entity.effect.StatusEffect.EffectAttributeModifierCreator
All Implemented Interfaces:
AttributeModifierCreator
Enclosing class:
StatusEffect

private class StatusEffect.EffectAttributeModifierCreator extends Object implements AttributeModifierCreator
Mappings:
Namespace Name
official blg$a
intermediary net/minecraft/class_1291$class_8634
named net/minecraft/entity/effect/StatusEffect$EffectAttributeModifierCreator
  • Field Details

    • uuid

      private final UUID uuid
      Mappings:
      Namespace Name Mixin selector
      official b Lblg$a;b:Ljava/util/UUID;
      intermediary field_45105 Lnet/minecraft/class_1291$class_8634;field_45105:Ljava/util/UUID;
      named uuid Lnet/minecraft/entity/effect/StatusEffect$EffectAttributeModifierCreator;uuid:Ljava/util/UUID;
    • baseValue

      private final double baseValue
      Mappings:
      Namespace Name Mixin selector
      official c Lblg$a;c:D
      intermediary field_45106 Lnet/minecraft/class_1291$class_8634;field_45106:D
      named baseValue Lnet/minecraft/entity/effect/StatusEffect$EffectAttributeModifierCreator;baseValue:D
    • operation

      private final EntityAttributeModifier.Operation operation
      Mappings:
      Namespace Name Mixin selector
      official d Lblg$a;d:Lbnp$a;
      intermediary field_45107 Lnet/minecraft/class_1291$class_8634;field_45107:Lnet/minecraft/class_1322$class_1323;
      named operation Lnet/minecraft/entity/effect/StatusEffect$EffectAttributeModifierCreator;operation:Lnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;
  • Constructor Details

    • EffectAttributeModifierCreator

      public EffectAttributeModifierCreator(UUID uuid, double baseValue, EntityAttributeModifier.Operation operation)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblg$a;<init>(Lblg;Ljava/util/UUID;DLbnp$a;)V
      intermediary <init> Lnet/minecraft/class_1291$class_8634;<init>(Lnet/minecraft/class_1291;Ljava/util/UUID;DLnet/minecraft/class_1322$class_1323;)V
      named <init> Lnet/minecraft/entity/effect/StatusEffect$EffectAttributeModifierCreator;<init>(Lnet/minecraft/entity/effect/StatusEffect;Ljava/util/UUID;DLnet/minecraft/entity/attribute/EntityAttributeModifier$Operation;)V
  • Method Details

    • getUuid

      public UUID getUuid()
      Specified by:
      getUuid in interface AttributeModifierCreator
      Mappings:
      Namespace Name Mixin selector
      official a Lblb;a()Ljava/util/UUID;
      intermediary method_52521 Lnet/minecraft/class_8630;method_52521()Ljava/util/UUID;
      named getUuid Lnet/minecraft/entity/attribute/AttributeModifierCreator;getUuid()Ljava/util/UUID;
    • createAttributeModifier

      public EntityAttributeModifier createAttributeModifier(int amplifier)
      Specified by:
      createAttributeModifier in interface AttributeModifierCreator
      Mappings:
      Namespace Name Mixin selector
      official a Lblb;a(I)Lbnp;
      intermediary method_52522 Lnet/minecraft/class_8630;method_52522(I)Lnet/minecraft/class_1322;
      named createAttributeModifier Lnet/minecraft/entity/attribute/AttributeModifierCreator;createAttributeModifier(I)Lnet/minecraft/entity/attribute/EntityAttributeModifier;