Class StatusEffectInstance.FactorCalculationData

java.lang.Object
net.minecraft.entity.effect.StatusEffectInstance.FactorCalculationData
Enclosing class:
StatusEffectInstance

public static class StatusEffectInstance.FactorCalculationData extends Object
Mappings:
Namespace Name
official bfa$a
intermediary net/minecraft/class_1293$class_7247
named net/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<StatusEffectInstance.FactorCalculationData> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lbfa$a;a:Lcom/mojang/serialization/Codec;
      intermediary field_38085 Lnet/minecraft/class_1293$class_7247;field_38085:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;CODEC:Lcom/mojang/serialization/Codec;
    • paddingDuration

      private final int paddingDuration
      Mappings:
      Namespace Name Mixin selector
      official b Lbfa$a;b:I
      intermediary field_38086 Lnet/minecraft/class_1293$class_7247;field_38086:I
      named paddingDuration Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;paddingDuration:I
    • factorStart

      private float factorStart
      Mappings:
      Namespace Name Mixin selector
      official c Lbfa$a;c:F
      intermediary field_39111 Lnet/minecraft/class_1293$class_7247;field_39111:F
      named factorStart Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;factorStart:F
    • factorTarget

      private float factorTarget
      Mappings:
      Namespace Name Mixin selector
      official d Lbfa$a;d:F
      intermediary field_38087 Lnet/minecraft/class_1293$class_7247;field_38087:F
      named factorTarget Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;factorTarget:F
    • factorCurrent

      private float factorCurrent
      Mappings:
      Namespace Name Mixin selector
      official e Lbfa$a;e:F
      intermediary field_38088 Lnet/minecraft/class_1293$class_7247;field_38088:F
      named factorCurrent Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;factorCurrent:F
    • effectChangedTimestamp

      private int effectChangedTimestamp
      Mappings:
      Namespace Name Mixin selector
      official f Lbfa$a;f:I
      intermediary field_42107 Lnet/minecraft/class_1293$class_7247;field_42107:I
      named effectChangedTimestamp Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;effectChangedTimestamp:I
    • factorPreviousFrame

      private float factorPreviousFrame
      Mappings:
      Namespace Name Mixin selector
      official g Lbfa$a;g:F
      intermediary field_38090 Lnet/minecraft/class_1293$class_7247;field_38090:F
      named factorPreviousFrame Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;factorPreviousFrame:F
    • hadEffectLastTick

      private boolean hadEffectLastTick
      Mappings:
      Namespace Name Mixin selector
      official h Lbfa$a;h:Z
      intermediary field_38091 Lnet/minecraft/class_1293$class_7247;field_38091:Z
      named hadEffectLastTick Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;hadEffectLastTick:Z
  • Constructor Details

    • FactorCalculationData

      public FactorCalculationData(int paddingDuration, float factorStart, float factorTarget, float factorCurrent, int effectChangedTimestamp, float factorPreviousFrame, boolean hadEffectLastTick)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfa$a;<init>(IFFFIFZ)V
      intermediary <init> Lnet/minecraft/class_1293$class_7247;<init>(IFFFIFZ)V
      named <init> Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;<init>(IFFFIFZ)V
    • FactorCalculationData

      public FactorCalculationData(int paddingDuration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfa$a;<init>(I)V
      intermediary <init> Lnet/minecraft/class_1293$class_7247;<init>(I)V
      named <init> Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;<init>(I)V
  • Method Details

    • update

      public void update(StatusEffectInstance effect)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfa$a;a(Lbfa;)V
      intermediary method_42136 Lnet/minecraft/class_1293$class_7247;method_42136(Lnet/minecraft/class_1293;)V
      named update Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;update(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
    • lerp

      public float lerp(LivingEntity entity, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfa$a;a(Lbfz;F)F
      intermediary method_42134 Lnet/minecraft/class_1293$class_7247;method_42134(Lnet/minecraft/class_1309;F)F
      named lerp Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;lerp(Lnet/minecraft/entity/LivingEntity;F)F