Class CookingPocketCrafter<R extends net.minecraft.world.item.crafting.AbstractCookingRecipe>
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>
petrolpark.mc.library.core.world.item.crafting.pocket.crafter.AbstractCookingPocketCrafter<R>
petrolpark.mc.library.core.world.item.crafting.pocket.crafter.CookingPocketCrafter<R>
- All Implemented Interfaces:
IPocketCrafter<R>
public class CookingPocketCrafter<R extends net.minecraft.world.item.crafting.AbstractCookingRecipe>
extends AbstractCookingPocketCrafter<R>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Supplier<net.minecraft.world.item.ItemStack> protected final StringFields inherited from interface petrolpark.mc.library.core.world.item.crafting.pocket.crafter.IPocketCrafter
STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionCookingPocketCrafter(String translationKey, List<net.minecraft.world.item.crafting.RecipeType<? extends R>> recipeTypes, Supplier<net.minecraft.world.item.ItemStack> defaultToolStack) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStacknet.minecraft.network.chat.MutableComponentgetName()Methods inherited from class petrolpark.mc.library.core.world.item.crafting.pocket.crafter.AbstractCookingPocketCrafter
craft, getRecipeLength, getRecipesMethods inherited from class petrolpark.mc.library.core.world.item.crafting.pocket.crafter.SingleInputPocketCrafter
createRecipeInputMethods inherited from class petrolpark.mc.library.core.world.item.crafting.pocket.crafter.SimplePocketCrafter
canCastRecipe, getResult, streamRecipesForMethods 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
getSlotInterpretations, sendPacket
-
Field Details
-
translationKey
-
recipeTypes
-
defaultToolStack
-
-
Constructor Details
-
CookingPocketCrafter
-
-
Method Details
-
getName
public net.minecraft.network.chat.MutableComponent getName() -
getDefaultToolStack
public net.minecraft.world.item.ItemStack getDefaultToolStack() -
streamRecipeTypes
- Specified by:
streamRecipeTypesin classSimplePocketCrafter<net.minecraft.world.item.crafting.SingleRecipeInput,R extends net.minecraft.world.item.crafting.AbstractCookingRecipe>
-