Package hiiragi283.lib.recipe.ingredient
Object HTIngredientHelper
-
- All Implemented Interfaces:
public class HTIngredientHelper
-
-
Field Summary
Fields Modifier and Type Field Description public final static HTIngredientHelperINSTANCE
-
Method Summary
Modifier and Type Method Description final static FluidStackcreateFluidStack(TypedInstance<Fluid> instance)final static ItemStackcreateItemStack(TypedInstance<Item> instance)final static Either<FluidResource, FluidStack>unwrapFluidInstance(TypedInstance<Fluid> instance)final static Either<ItemResource, ItemStack>unwrapItemInstance(TypedInstance<Item> instance)final static BooleanisEmptyFluid(TypedInstance<Fluid> instance)final static BooleanisEmptyItem(TypedInstance<Item> instance)-
-
Method Detail
-
createFluidStack
final static FluidStack createFluidStack(TypedInstance<Fluid> instance)
-
createItemStack
final static ItemStack createItemStack(TypedInstance<Item> instance)
-
unwrapFluidInstance
final static Either<FluidResource, FluidStack> unwrapFluidInstance(TypedInstance<Fluid> instance)
-
unwrapItemInstance
final static Either<ItemResource, ItemStack> unwrapItemInstance(TypedInstance<Item> instance)
-
isEmptyFluid
final static Boolean isEmptyFluid(TypedInstance<Fluid> instance)
-
isEmptyItem
final static Boolean isEmptyItem(TypedInstance<Item> instance)
-
-
-
-