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 bbg$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 Lbbg$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 Lbbg$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 Lbbg$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 Lbbg$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 Lbbg$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

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

      private float factorPreviousFrame
      Mappings:
      Namespace Name Mixin selector
      official g Lbbg$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 Lbbg$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> Lbbg$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> Lbbg$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 instance)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbg$a;a(Lbbg;)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 Lbbg$a;a(Lbcc;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