Class SingleInputPocketCrafter<R extends net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>>
java.lang.Object
petrolpark.mc.library.core.world.item.crafting.pocket.crafter.SimplePocketCrafter<net.minecraft.world.item.crafting.SingleRecipeInput,R>
petrolpark.mc.library.core.world.item.crafting.pocket.crafter.SingleInputPocketCrafter<R>
- All Implemented Interfaces:
IPocketCrafter<R>
- Direct Known Subclasses:
AbstractCookingPocketCrafter
@ParametersAreNonnullByDefault
public abstract class SingleInputPocketCrafter<R extends net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>>
extends SimplePocketCrafter<net.minecraft.world.item.crafting.SingleRecipeInput,R>
-
Field Summary
Fields inherited from interface petrolpark.mc.library.core.world.item.crafting.pocket.crafter.IPocketCrafter
STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.crafting.SingleRecipeInputcreateRecipeInput(IPocketCraftingContext context, List<IInterpretedSlot<?>> slots) Methods inherited from class petrolpark.mc.library.core.world.item.crafting.pocket.crafter.SimplePocketCrafter
canCastRecipe, craft, getRecipes, getResult, streamRecipesFor, streamRecipeTypesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface petrolpark.mc.library.core.world.item.crafting.pocket.crafter.IPocketCrafter
getDefaultToolStack, getName, getRecipeLength, getSlotInterpretations, sendPacket
-
Constructor Details
-
SingleInputPocketCrafter
public SingleInputPocketCrafter()
-
-
Method Details
-
createRecipeInput
@Nullable public net.minecraft.world.item.crafting.SingleRecipeInput createRecipeInput(IPocketCraftingContext context, List<IInterpretedSlot<?>> slots) - Specified by:
createRecipeInputin classSimplePocketCrafter<net.minecraft.world.item.crafting.SingleRecipeInput,R extends net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>>
-