Class PotionFluidSubtypeInterpreter

java.lang.Object
com.simibubi.create.compat.jei.PotionFluidSubtypeInterpreter
All Implemented Interfaces:
mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter<net.minecraftforge.fluids.FluidStack>

public class PotionFluidSubtypeInterpreter extends Object implements mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter<net.minecraftforge.fluids.FluidStack>
  • Field Summary

    Fields inherited from interface mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter

    NONE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(net.minecraftforge.fluids.FluidStack ingredient, mezz.jei.api.ingredients.subtypes.UidContext context)
    Get the data from an ingredient that is relevant to telling subtypes apart in the given context.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PotionFluidSubtypeInterpreter

      public PotionFluidSubtypeInterpreter()
  • Method Details

    • apply

      public String apply(net.minecraftforge.fluids.FluidStack ingredient, mezz.jei.api.ingredients.subtypes.UidContext context)
      Description copied from interface: mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter
      Get the data from an ingredient that is relevant to telling subtypes apart in the given context. This should account for nbt, and anything else that's relevant. UidContext can be used to give different subtype information depending on the given context. Most cases will return the same value for all contexts and it can usually be ignored. Return IIngredientSubtypeInterpreter.NONE if there is no data used for subtypes.
      Specified by:
      apply in interface mezz.jei.api.ingredients.subtypes.IIngredientSubtypeInterpreter<net.minecraftforge.fluids.FluidStack>