Class RecipeGridHandler
java.lang.Object
com.simibubi.create.content.contraptions.components.crafter.RecipeGridHandler
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<MechanicalCrafterTileEntity>static List<MechanicalCrafterTileEntity>getAllCraftersOfChainIf(MechanicalCrafterTileEntity root, Predicate<MechanicalCrafterTileEntity> test) static List<MechanicalCrafterTileEntity>getAllCraftersOfChainIf(MechanicalCrafterTileEntity root, Predicate<MechanicalCrafterTileEntity> test, boolean poweredStart) static List<MechanicalCrafterTileEntity>static MechanicalCrafterTileEntitystatic booleanisRecipeAllowed(net.minecraft.world.item.crafting.CraftingRecipe recipe, net.minecraft.world.inventory.CraftingContainer inventory) 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<MechanicalCrafterTileEntity> getAllCraftersOfChain(MechanicalCrafterTileEntity root) -
getAllCraftersOfChainIf
public static List<MechanicalCrafterTileEntity> getAllCraftersOfChainIf(MechanicalCrafterTileEntity root, Predicate<MechanicalCrafterTileEntity> test) -
getAllCraftersOfChainIf
public static List<MechanicalCrafterTileEntity> getAllCraftersOfChainIf(MechanicalCrafterTileEntity root, Predicate<MechanicalCrafterTileEntity> test, boolean poweredStart) -
getTargetingCrafter
-
getPrecedingCrafters
public static List<MechanicalCrafterTileEntity> getPrecedingCrafters(MechanicalCrafterTileEntity 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.CraftingRecipe recipe, net.minecraft.world.inventory.CraftingContainer inventory)
-