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 beh
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final String[]
     
    private static final int
     
    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

    • SPLASH_POTION_FLAG

      private static final int SPLASH_POTION_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SPLASH_POTION_FLAG Lnet/minecraft/datafixer/fix/ItemPotionFix;SPLASH_POTION_FLAG:I
      intermediary field_29885 Lnet/minecraft/class_1183;field_29885:I
      official b Lbeh;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 Lbeh;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 Lbeh;a:Ljava/lang/String;
  • Constructor Details

    • ItemPotionFix

      public ItemPotionFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/ItemPotionFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_1183;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      official <init> Lbeh;<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