Class RecipeEnvironmentalAccumulator

java.lang.Object
org.cyclops.evilcraft.core.recipe.type.RecipeEnvironmentalAccumulator
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
Direct Known Subclasses:
RecipeEnvironmentalAccumulatorBiomeExtract

public class RecipeEnvironmentalAccumulator extends Object implements net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
Environmental Accumulator recipe
  • Constructor Details

    • RecipeEnvironmentalAccumulator

      public RecipeEnvironmentalAccumulator(net.minecraft.resources.ResourceLocation id, net.minecraft.world.item.crafting.Ingredient inputIngredient, WeatherType inputWeather, com.mojang.datafixers.util.Either<net.minecraft.world.item.ItemStack,org.cyclops.cyclopscore.recipe.ItemStackFromIngredient> outputItem, WeatherType outputWeather, int duration, int cooldownTime, float processingSpeed)
  • Method Details

    • getInputIngredient

      public net.minecraft.world.item.crafting.Ingredient getInputIngredient()
    • getInputWeather

      public WeatherType getInputWeather()
    • getOutputItem

      public com.mojang.datafixers.util.Either<net.minecraft.world.item.ItemStack,org.cyclops.cyclopscore.recipe.ItemStackFromIngredient> getOutputItem()
    • getOutputItemFirst

      public net.minecraft.world.item.ItemStack getOutputItemFirst()
    • getOutputWeather

      public WeatherType getOutputWeather()
    • getDuration

      public int getDuration()
    • getCooldownTime

      public int getCooldownTime()
    • getProcessingSpeed

      public float getProcessingSpeed()
    • matches

      public boolean matches(RecipeEnvironmentalAccumulator.Inventory inv, net.minecraft.world.level.Level worldIn)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
    • assemble

      public net.minecraft.world.item.ItemStack assemble(RecipeEnvironmentalAccumulator.Inventory inv, net.minecraft.core.RegistryAccess registryAccess)
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
    • canCraftInDimensions

      public boolean canCraftInDimensions(int width, int height)
      Specified by:
      canCraftInDimensions in interface net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
    • getResultItem

      public net.minecraft.world.item.ItemStack getResultItem(net.minecraft.core.RegistryAccess registryAccess)
      Specified by:
      getResultItem in interface net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
    • getId

      public net.minecraft.resources.ResourceLocation getId()
      Specified by:
      getId in interface net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
    • getType

      public net.minecraft.world.item.crafting.RecipeType<?> getType()
      Specified by:
      getType in interface net.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>