Class StatusEffectDurationFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.StatusEffectDurationFix

public class StatusEffectDurationFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/StatusEffectDurationFix
intermediary net/minecraft/class_8079
official beg
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Set<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    StatusEffectDurationFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private com.mojang.serialization.Dynamic<?>
    fixEntityStatusEffects(com.mojang.serialization.Dynamic<?> entityDynamic)
     
    private com.mojang.serialization.Dynamic<?>
    fixPotionEffect(com.mojang.serialization.Dynamic<?> effectDynamic)
     
    private com.mojang.serialization.Dynamic<?>
    fixPotionEffects(com.mojang.serialization.Dynamic<?> effectsDynamic)
     
    protected com.mojang.datafixers.TypeRewriteRule
     

    Methods inherited from class com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • POTION_ITEM_IDS

      private static final Set<String> POTION_ITEM_IDS
      Mappings:
      Namespace Name Mixin selector
      named POTION_ITEM_IDS Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;POTION_ITEM_IDS:Ljava/util/Set;
      intermediary field_42105 Lnet/minecraft/class_8079;field_42105:Ljava/util/Set;
      official a Lbeg;a:Ljava/util/Set;
  • Constructor Details

    • StatusEffectDurationFix

      public StatusEffectDurationFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_8079;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbeg;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixPotionEffect

      private com.mojang.serialization.Dynamic<?> fixPotionEffect(com.mojang.serialization.Dynamic<?> effectDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixPotionEffect Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;fixPotionEffect(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_48551 Lnet/minecraft/class_8079;method_48551(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbeg;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixPotionEffects

      private com.mojang.serialization.Dynamic<?> fixPotionEffects(com.mojang.serialization.Dynamic<?> effectsDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixPotionEffects Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;fixPotionEffects(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_48554 Lnet/minecraft/class_8079;method_48554(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbeg;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixEntityStatusEffects

      private com.mojang.serialization.Dynamic<?> fixEntityStatusEffects(com.mojang.serialization.Dynamic<?> entityDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixEntityStatusEffects Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;fixEntityStatusEffects(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_48555 Lnet/minecraft/class_8079;method_48555(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official c Lbeg;c(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;