public class EnvironmentalAccumulatorRecipeComponent extends java.lang.Object implements org.cyclops.cyclopscore.recipe.custom.api.IRecipeInput, org.cyclops.cyclopscore.recipe.custom.api.IRecipeOutput, org.cyclops.cyclopscore.recipe.custom.component.IIngredientRecipeComponent, IWeatherTypeRecipeComponent
IRecipeS for the
EnvironmentalAccumulator.| Constructor and Description |
|---|
EnvironmentalAccumulatorRecipeComponent(net.minecraft.item.crafting.Ingredient ingredient,
WeatherType weatherType) |
EnvironmentalAccumulatorRecipeComponent(net.minecraft.item.ItemStack itemStack,
WeatherType weatherType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
float |
getChance() |
net.minecraft.item.ItemStack |
getConditionalItemStack(net.minecraft.item.ItemStack inputStack)
Get the itemstack and merge its nbt data from the given itemstack.
|
net.minecraft.item.ItemStack |
getFirstItemStack() |
net.minecraft.item.crafting.Ingredient |
getIngredient() |
java.util.List<net.minecraft.item.ItemStack> |
getItemStacks() |
WeatherType |
getWeatherType() |
int |
hashCode() |
public EnvironmentalAccumulatorRecipeComponent(net.minecraft.item.crafting.Ingredient ingredient,
WeatherType weatherType)
public EnvironmentalAccumulatorRecipeComponent(net.minecraft.item.ItemStack itemStack,
WeatherType weatherType)
public net.minecraft.item.crafting.Ingredient getIngredient()
getIngredient in interface org.cyclops.cyclopscore.recipe.custom.component.IIngredientRecipeComponentpublic net.minecraft.item.ItemStack getFirstItemStack()
getFirstItemStack in interface org.cyclops.cyclopscore.recipe.custom.component.IIngredientRecipeComponentpublic net.minecraft.item.ItemStack getConditionalItemStack(net.minecraft.item.ItemStack inputStack)
inputStack - The stack to copy nbt data from.public java.util.List<net.minecraft.item.ItemStack> getItemStacks()
public WeatherType getWeatherType()
getWeatherType in interface IWeatherTypeRecipeComponentpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic float getChance()
getChance in interface org.cyclops.cyclopscore.recipe.custom.api.IRecipeOutput