Class ItemPotionFix

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

public class ItemPotionFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official akr
intermediary net/minecraft/class_1183
named net/minecraft/datafixer/fix/ItemPotionFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    private static final int
     
    private static final String[]
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemPotionFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    • field_29885

      private static final int field_29885
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lakr;b:I
      intermediary field_29885 Lnet/minecraft/class_1183;field_29885:I
      named field_29885 Lnet/minecraft/datafixer/fix/ItemPotionFix;field_29885:I
    • ID_TO_POTIONS

      private static final String[] ID_TO_POTIONS
      Mappings:
      Namespace Name Mixin selector
      official c Lakr;c:[Ljava/lang/String;
      intermediary field_5678 Lnet/minecraft/class_1183;field_5678:[Ljava/lang/String;
      named ID_TO_POTIONS Lnet/minecraft/datafixer/fix/ItemPotionFix;ID_TO_POTIONS:[Ljava/lang/String;
    • field_29884

      public static final String field_29884
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lakr;a:Ljava/lang/String;
      intermediary field_29884 Lnet/minecraft/class_1183;field_29884:Ljava/lang/String;
      named field_29884 Lnet/minecraft/datafixer/fix/ItemPotionFix;field_29884:Ljava/lang/String;
  • Constructor Details

    • ItemPotionFix

      public ItemPotionFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakr;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_1183;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/ItemPotionFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix