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 baj$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 Lbaj$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 Lbaj$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
    • field_39111

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

      private float factorTarget
      Mappings:
      Namespace Name Mixin selector
      official d Lbaj$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 Lbaj$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 Lbaj$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 Lbaj$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 Lbaj$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 factorTarget, float float2, float float3, int int2, float float4, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbaj$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> Lbaj$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 Lbaj$a;a(Lbaj;)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(float factor)
      Mappings:
      Namespace Name Mixin selector
      official a Lbaj$a;a(F)F
      intermediary method_42134 Lnet/minecraft/class_1293$class_7247;method_42134(F)F
      named lerp Lnet/minecraft/entity/effect/StatusEffectInstance$FactorCalculationData;lerp(F)F