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
named net/minecraft/datafixer/fix/ItemPotionFix
intermediary net/minecraft/class_1183
official beg
  • 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
      named field_29885 Lnet/minecraft/datafixer/fix/ItemPotionFix;field_29885:I
      intermediary field_29885 Lnet/minecraft/class_1183;field_29885:I
      official b Lbeg;b:I
    • ID_TO_POTIONS

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

      public static final String WATER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named WATER Lnet/minecraft/datafixer/fix/ItemPotionFix;WATER:Ljava/lang/String;
      intermediary field_29884 Lnet/minecraft/class_1183;field_29884:Ljava/lang/String;
      official a Lbeg;a: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