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
official avc
intermediary net/minecraft/class_8079
named net/minecraft/datafixer/fix/StatusEffectDurationFix
  • 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<?> dynamic)
     
    private com.mojang.serialization.Dynamic<?>
    fixPotionEffect(com.mojang.serialization.Dynamic<?> dynamic)
     
    private com.mojang.serialization.Dynamic<?>
    fixPotionEffects(com.mojang.serialization.Dynamic<?> dynamic)
     
    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
      official a Lavc;a:Ljava/util/Set;
      intermediary field_42105 Lnet/minecraft/class_8079;field_42105:Ljava/util/Set;
      named POTION_ITEM_IDS Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;POTION_ITEM_IDS:Ljava/util/Set;
  • Constructor Details

    • StatusEffectDurationFix

      public StatusEffectDurationFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lavc;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_8079;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      named <init> Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;<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<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lavc;a(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;
      named fixPotionEffect Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;fixPotionEffect(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixPotionEffects

      private com.mojang.serialization.Dynamic<?> fixPotionEffects(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Lavc;b(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;
      named fixPotionEffects Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;fixPotionEffects(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixEntityStatusEffects

      private com.mojang.serialization.Dynamic<?> fixEntityStatusEffects(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official c Lavc;c(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;
      named fixEntityStatusEffects Lnet/minecraft/datafixer/fix/StatusEffectDurationFix;fixEntityStatusEffects(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;