Package hiiragi283.core.common.crafting
Class HTClearComponentRecipe
-
- All Implemented Interfaces:
-
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe
public final class HTClearComponentRecipe extends ShapelessRecipe
-
-
Field Summary
Fields Modifier and Type Field Description public final static MapBiCodec<RegistryFriendlyByteBuf, HTClearComponentRecipe>CODECprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HTClearComponentRecipe(String group, CraftingBookCategory category, Holder<Item> item, HolderSet<DataComponentType<?>> targetTypes)HTClearComponentRecipe(String group, CraftingBookCategory category, ItemLike item, List<DataComponentType<?>> targetTypes)
-
Method Summary
Modifier and Type Method Description ItemStackassemble(CraftingInput input, HolderLookup.Provider registries)RecipeSerializer<?>getSerializer()-
Methods inherited from class net.minecraft.world.item.crafting.CraftingRecipe
category, getToastSymbol, getType, isIncomplete, isSpecial -
Methods inherited from class net.minecraft.world.item.crafting.ShapelessRecipe
getGroup, getIngredients -
Methods inherited from class hiiragi283.core.common.crafting.HTClearComponentRecipe
getSerializer -
Methods inherited from class net.minecraft.world.item.crafting.Recipe
canCraftInDimensions, getRemainingItems, getResultItem, matches, showNotification -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTClearComponentRecipe
HTClearComponentRecipe(String group, CraftingBookCategory category, Holder<Item> item, HolderSet<DataComponentType<?>> targetTypes)
-
-
Method Detail
-
assemble
ItemStack assemble(CraftingInput input, HolderLookup.Provider registries)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
-
-
-