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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic class -
Constructor Summary
ConstructorsConstructorDescriptionRecipeEnvironmentalAccumulator(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 Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackbooleancanCraftInDimensions(int width, int height) intintnet.minecraft.resources.ResourceLocationgetId()net.minecraft.world.item.crafting.Ingredientcom.mojang.datafixers.util.Either<net.minecraft.world.item.ItemStack,org.cyclops.cyclopscore.recipe.ItemStackFromIngredient> net.minecraft.world.item.ItemStackfloatnet.minecraft.world.item.ItemStacknet.minecraft.world.item.crafting.RecipeSerializer<?>net.minecraft.world.item.crafting.RecipeType<?>getType()booleanmatches(RecipeEnvironmentalAccumulator.Inventory inv, net.minecraft.world.level.Level worldIn) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete, isSpecial
-
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
-
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
-
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:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
-
assemble
- Specified by:
assemblein interfacenet.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
-
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) - Specified by:
canCraftInDimensionsin interfacenet.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
-
getResultItem
public net.minecraft.world.item.ItemStack getResultItem()- Specified by:
getResultItemin interfacenet.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
-
getId
public net.minecraft.resources.ResourceLocation getId()- Specified by:
getIdin interfacenet.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
-
getType
public net.minecraft.world.item.crafting.RecipeType<?> getType()- Specified by:
getTypein interfacenet.minecraft.world.item.crafting.Recipe<RecipeEnvironmentalAccumulator.Inventory>
-