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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>>
    boolean
    doFluidIngredientsConflict(T first, T second)
     
    com.simibubi.create.foundation.fluid.FluidIngredient
    fromFluidStack(com.blamejared.crafttweaker.api.fluid.IFluidStack stack)
     
    com.simibubi.create.foundation.fluid.FluidIngredient
    fromTag(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)
     
    long
    getRequiredAmount(com.simibubi.create.foundation.fluid.FluidIngredient ingredient)
     
    com.blamejared.crafttweaker.api.fluid.CTFluidIngredient
    mapFluidIngredientsToCT(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)
     
    boolean
    testFluidIngredient(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)
     

    Methods inherited from class java.lang.Object

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

    • ForgePlatformService

      public ForgePlatformService()
  • Method Details

    • getRequiredAmount

      public long getRequiredAmount(com.simibubi.create.foundation.fluid.FluidIngredient ingredient)
      Specified by:
      getRequiredAmount in interface PlatformService
    • doFluidIngredientsConflict

      public <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>> boolean doFluidIngredientsConflict(T first, T second)
      Specified by:
      doFluidIngredientsConflict in interface PlatformService
    • testFluidIngredient

      public boolean testFluidIngredient(com.simibubi.create.foundation.fluid.FluidIngredient ingredient, com.blamejared.crafttweaker.api.fluid.IFluidStack stack)
      Specified by:
      testFluidIngredient in interface PlatformService
    • 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:
      withFluidOutputs in interface PlatformService
    • 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:
      output in interface PlatformService
    • 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:
      withFluidOutputs in interface PlatformService
    • getRecipeFluidResults

      public List<com.blamejared.crafttweaker.api.fluid.IFluidStack> getRecipeFluidResults(com.simibubi.create.content.processing.recipe.ProcessingRecipe<?> recipe)
      Specified by:
      getRecipeFluidResults in interface PlatformService
    • getMatchingFluidStacks

      public List<com.blamejared.crafttweaker.api.fluid.IFluidStack> getMatchingFluidStacks(com.simibubi.create.foundation.fluid.FluidIngredient ingredient)
      Specified by:
      getMatchingFluidStacks in interface PlatformService
    • fromFluidStack

      public com.simibubi.create.foundation.fluid.FluidIngredient fromFluidStack(com.blamejared.crafttweaker.api.fluid.IFluidStack stack)
      Specified by:
      fromFluidStack in interface PlatformService
    • fromTag

      public com.simibubi.create.foundation.fluid.FluidIngredient fromTag(net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> tag, int amount)
      Specified by:
      fromTag in interface PlatformService
    • mapFluidIngredientsToCT

      public com.blamejared.crafttweaker.api.fluid.CTFluidIngredient mapFluidIngredientsToCT(com.simibubi.create.foundation.fluid.FluidIngredient ingredient)
      Specified by:
      mapFluidIngredientsToCT in interface PlatformService