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

    Fields
    Modifier and Type Field Description
    private static String[] ID_TO_POTIONS  
  • 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 makeRule()  

    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

    • ID_TO_POTIONS

      private static final String[] ID_TO_POTIONS
      Mappings:
      Namespace Name Mixin selector
      official a Lajt;a:[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;
  • Constructor Details

    • ItemPotionFix

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