public interface ICraftingMachine
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsPlans()
check if the crafting machine is accepting pushes via pushPattern, if this is false, all calls to push will fail,
you can try inserting into the inventory instead.
|
boolean |
pushPattern(ICraftingPatternDetails patternDetails,
net.minecraft.inventory.InventoryCrafting table,
net.minecraftforge.common.util.ForgeDirection ejectionDirection)
inserts a crafting plan, and the necessary items into the crafting machine.
|
boolean pushPattern(ICraftingPatternDetails patternDetails, net.minecraft.inventory.InventoryCrafting table, net.minecraftforge.common.util.ForgeDirection ejectionDirection)
patternDetails
- details of patterntable
- crafting tableejectionDirection
- ejection directionboolean acceptsPlans()