Class HTFluidIngredient

  • All Implemented Interfaces:
    hiiragi283.lib.recipe.ingredient.HTIngredient , java.util.function.Predicate

    @JvmInline() 
    public final class HTFluidIngredient
     implements HTIngredient<Fluid, FluidStack>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final FluidIngredient getUnsized()
      final Integer getAmount()
      Boolean test(TypedInstance<Fluid> instance) 指定したinstanceが条件を満たしているか判定します。
      Boolean testOnlyType(TypedInstance<Fluid> instance) 指定したinstanceが数量を除いて条件を満たしているか判定します。
      Integer getRequiredAmount(TypedInstance<Fluid> instance)
      List<FluidStack> getPreviewStacks(ContextMap contextMap)
      • Methods inherited from class java.util.function.Predicate

        and, negate, or
      • Methods inherited from class java.lang.Object

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

      • HTFluidIngredient

        HTFluidIngredient(SizedFluidIngredient delegate)
      • HTFluidIngredient

        HTFluidIngredient(FluidIngredient ingredient, Integer amount)