public interface IAutoCraft
Modifier and Type | Method and Description |
---|---|
default boolean |
canWork() |
default void |
craft() |
net.minecraft.item.crafting.IRecipe |
getCurrentRecipe() |
ItemHandlerSimple |
getInvBlueprint() |
ItemHandlerSimple |
getInvMaterials() |
ItemHandlerSimple |
getInvResult() |
default net.minecraft.item.ItemStack |
getOutput() |
net.minecraft.util.math.BlockPos |
getPosForAutoCrafting() |
java.util.List<net.minecraft.item.ItemStack> |
getRequirements() |
WorkbenchCrafting |
getWorkbenchCrafting() |
net.minecraft.world.World |
getWorldForAutoCrafting() |
default boolean |
hasMaterials() |
default net.minecraft.item.ItemStack |
insertInInventory(ItemHandlerSimple handler,
net.minecraft.item.ItemStack stack) |
void |
setCurrentRecipe(net.minecraft.item.crafting.IRecipe recipe) |
void |
setRequirements(java.util.List<net.minecraft.item.ItemStack> stacks) |
default void |
updateRecipe() |
ItemHandlerSimple getInvBlueprint()
ItemHandlerSimple getInvMaterials()
ItemHandlerSimple getInvResult()
WorkbenchCrafting getWorkbenchCrafting()
net.minecraft.item.crafting.IRecipe getCurrentRecipe()
void setCurrentRecipe(net.minecraft.item.crafting.IRecipe recipe)
default void updateRecipe()
net.minecraft.world.World getWorldForAutoCrafting()
net.minecraft.util.math.BlockPos getPosForAutoCrafting()
void setRequirements(java.util.List<net.minecraft.item.ItemStack> stacks)
java.util.List<net.minecraft.item.ItemStack> getRequirements()
default void craft()
default net.minecraft.item.ItemStack insertInInventory(ItemHandlerSimple handler, net.minecraft.item.ItemStack stack)
default boolean hasMaterials()
default boolean canWork()
default net.minecraft.item.ItemStack getOutput()