Class RecipeGridHandler
java.lang.Object
com.simibubi.create.content.kinetics.crafter.RecipeGridHandler
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<MechanicalCrafterBlockEntity> static List<MechanicalCrafterBlockEntity> getAllCraftersOfChainIf(MechanicalCrafterBlockEntity root, Predicate<MechanicalCrafterBlockEntity> test) static List<MechanicalCrafterBlockEntity> getAllCraftersOfChainIf(MechanicalCrafterBlockEntity root, Predicate<MechanicalCrafterBlockEntity> test, boolean poweredStart) static List<MechanicalCrafterBlockEntity> static MechanicalCrafterBlockEntitystatic booleanisRecipeAllowed(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.CraftingRecipe> recipe, net.minecraft.world.item.crafting.CraftingInput craftingInput) static net.minecraft.world.item.ItemStacktryToApplyRecipe(net.minecraft.world.level.Level world, RecipeGridHandler.GroupedItems items)
-
Constructor Details
-
RecipeGridHandler
public RecipeGridHandler()
-
-
Method Details
-
getAllCraftersOfChain
public static List<MechanicalCrafterBlockEntity> getAllCraftersOfChain(MechanicalCrafterBlockEntity root) -
getAllCraftersOfChainIf
public static List<MechanicalCrafterBlockEntity> getAllCraftersOfChainIf(MechanicalCrafterBlockEntity root, Predicate<MechanicalCrafterBlockEntity> test) -
getAllCraftersOfChainIf
public static List<MechanicalCrafterBlockEntity> getAllCraftersOfChainIf(MechanicalCrafterBlockEntity root, Predicate<MechanicalCrafterBlockEntity> test, boolean poweredStart) -
getTargetingCrafter
public static MechanicalCrafterBlockEntity getTargetingCrafter(MechanicalCrafterBlockEntity crafter) -
getPrecedingCrafters
public static List<MechanicalCrafterBlockEntity> getPrecedingCrafters(MechanicalCrafterBlockEntity crafter) -
tryToApplyRecipe
public static net.minecraft.world.item.ItemStack tryToApplyRecipe(net.minecraft.world.level.Level world, RecipeGridHandler.GroupedItems items) -
isRecipeAllowed
public static boolean isRecipeAllowed(net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.CraftingRecipe> recipe, net.minecraft.world.item.crafting.CraftingInput craftingInput)
-