Class ForgePlatformService
java.lang.Object
com.blamejared.createtweaker.services.ForgePlatformService
- All Implemented Interfaces:
PlatformService
@AutoService(PlatformService.class)
public class ForgePlatformService
extends Object
implements PlatformService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>>
booleandoFluidIngredientsConflict(T first, T second) com.simibubi.create.foundation.fluid.FluidIngredientfromFluidStack(com.blamejared.crafttweaker.api.fluid.IFluidStack stack) com.simibubi.create.foundation.fluid.FluidIngredientfromTag(net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> tag, int amount) List<com.blamejared.crafttweaker.api.fluid.IFluidStack>getMatchingFluidStacks(com.simibubi.create.foundation.fluid.FluidIngredient ingredient) List<com.blamejared.crafttweaker.api.fluid.IFluidStack>getRecipeFluidResults(com.simibubi.create.content.processing.recipe.ProcessingRecipe<?> recipe) longgetRequiredAmount(com.simibubi.create.foundation.fluid.FluidIngredient ingredient) com.blamejared.crafttweaker.api.fluid.CTFluidIngredientmapFluidIngredientsToCT(com.simibubi.create.foundation.fluid.FluidIngredient ingredient) com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>output(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<?> builder, com.blamejared.crafttweaker.api.fluid.IFluidStack output) booleantestFluidIngredient(com.simibubi.create.foundation.fluid.FluidIngredient ingredient, com.blamejared.crafttweaker.api.fluid.IFluidStack stack) com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>withFluidOutputs(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> builder, com.blamejared.crafttweaker.api.fluid.IFluidStack... outputs) <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<? extends net.minecraft.world.Container>>
com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<T>withFluidOutputs(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<T> builder, List<com.blamejared.crafttweaker.api.fluid.IFluidStack> fluidOutputs)
-
Constructor Details
-
ForgePlatformService
public ForgePlatformService()
-
-
Method Details
-
getRequiredAmount
public long getRequiredAmount(com.simibubi.create.foundation.fluid.FluidIngredient ingredient) - Specified by:
getRequiredAmountin interfacePlatformService
-
doFluidIngredientsConflict
public <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>> boolean doFluidIngredientsConflict(T first, T second) - Specified by:
doFluidIngredientsConflictin interfacePlatformService
-
testFluidIngredient
public boolean testFluidIngredient(com.simibubi.create.foundation.fluid.FluidIngredient ingredient, com.blamejared.crafttweaker.api.fluid.IFluidStack stack) - Specified by:
testFluidIngredientin interfacePlatformService
-
withFluidOutputs
public <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<? extends net.minecraft.world.Container>> com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<T> withFluidOutputs(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<T> builder, List<com.blamejared.crafttweaker.api.fluid.IFluidStack> fluidOutputs) - Specified by:
withFluidOutputsin interfacePlatformService
-
output
public com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> output(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<?> builder, com.blamejared.crafttweaker.api.fluid.IFluidStack output) - Specified by:
outputin interfacePlatformService
-
withFluidOutputs
public com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> withFluidOutputs(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> builder, com.blamejared.crafttweaker.api.fluid.IFluidStack... outputs) - Specified by:
withFluidOutputsin interfacePlatformService
-
getRecipeFluidResults
public List<com.blamejared.crafttweaker.api.fluid.IFluidStack> getRecipeFluidResults(com.simibubi.create.content.processing.recipe.ProcessingRecipe<?> recipe) - Specified by:
getRecipeFluidResultsin interfacePlatformService
-
getMatchingFluidStacks
public List<com.blamejared.crafttweaker.api.fluid.IFluidStack> getMatchingFluidStacks(com.simibubi.create.foundation.fluid.FluidIngredient ingredient) - Specified by:
getMatchingFluidStacksin interfacePlatformService
-
fromFluidStack
public com.simibubi.create.foundation.fluid.FluidIngredient fromFluidStack(com.blamejared.crafttweaker.api.fluid.IFluidStack stack) - Specified by:
fromFluidStackin interfacePlatformService
-
fromTag
public com.simibubi.create.foundation.fluid.FluidIngredient fromTag(net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> tag, int amount) - Specified by:
fromTagin interfacePlatformService
-
mapFluidIngredientsToCT
public com.blamejared.crafttweaker.api.fluid.CTFluidIngredient mapFluidIngredientsToCT(com.simibubi.create.foundation.fluid.FluidIngredient ingredient) - Specified by:
mapFluidIngredientsToCTin interfacePlatformService
-