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 aua
intermediary net/minecraft/class_1183
named net/minecraft/datafixer/fix/ItemPotionFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    ItemPotionFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
     
  • 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 Laua;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 Laua;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;
    • WATER

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

    • ItemPotionFix

      public ItemPotionFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
  • Method Details

    • makeRule

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