Class RecipeSqueezer.IngredientChance

java.lang.Object
org.cyclops.integrateddynamics.core.recipe.type.RecipeSqueezer.IngredientChance
Enclosing class:
RecipeSqueezer

public static class RecipeSqueezer.IngredientChance extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    IngredientChance(com.mojang.datafixers.util.Either<net.minecraft.world.item.ItemStack,org.cyclops.cyclopscore.recipe.ItemStackFromIngredient> ingredient, float chance)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
     
    com.mojang.datafixers.util.Either<net.minecraft.world.item.ItemStack,org.cyclops.cyclopscore.recipe.ItemStackFromIngredient>
     
    net.minecraft.world.item.ItemStack
     

    Methods inherited from class java.lang.Object

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

    • IngredientChance

      public IngredientChance(com.mojang.datafixers.util.Either<net.minecraft.world.item.ItemStack,org.cyclops.cyclopscore.recipe.ItemStackFromIngredient> ingredient, float chance)
  • Method Details

    • getIngredient

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

      public net.minecraft.world.item.ItemStack getIngredientFirst()
    • getChance

      public float getChance()