Class ShapelessKubeJSRecipe
java.lang.Object
net.minecraft.world.item.crafting.ShapelessRecipe
dev.latvian.mods.kubejs.recipe.special.ShapelessKubeJSRecipe
- All Implemented Interfaces:
KubeJSCraftingRecipe,net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
public class ShapelessKubeJSRecipe
extends net.minecraft.world.item.crafting.ShapelessRecipe
implements KubeJSCraftingRecipe
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.world.item.crafting.ShapelessRecipe
net.minecraft.world.item.crafting.ShapelessRecipe.Serializer -
Field Summary
Fields inherited from class net.minecraft.world.item.crafting.ShapelessRecipe
group, ingredients, resultFields inherited from interface dev.latvian.mods.kubejs.recipe.special.KubeJSCraftingRecipe
INGREDIENT_ACTIONS_KEY, MIRROR_KEY, MODIFY_RESULT_KEYFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionShapelessKubeJSRecipe(net.minecraft.world.item.crafting.ShapelessRecipe original, List<IngredientActionHolder> ingredientActions, String modifyResult) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackassemble(net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.core.HolderLookup.Provider registryAccess) net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.item.crafting.CraftingInput input) net.minecraft.world.item.crafting.RecipeSerializer<?> Methods inherited from class net.minecraft.world.item.crafting.ShapelessRecipe
canCraftInDimensions, category, getGroup, getIngredients, getResultItem, matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe
category, getTypeMethods inherited from interface dev.latvian.mods.kubejs.recipe.special.KubeJSCraftingRecipe
kjs$assemble, kjs$getRemainingItemsMethods inherited from interface net.minecraft.world.item.crafting.Recipe
canCraftInDimensions, getGroup, getIngredients, getResultItem, getToastSymbol, isIncomplete, isSpecial, matches, showNotification
-
Constructor Details
-
ShapelessKubeJSRecipe
public ShapelessKubeJSRecipe(net.minecraft.world.item.crafting.ShapelessRecipe original, List<IngredientActionHolder> ingredientActions, String modifyResult)
-
-
Method Details
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>- Overrides:
getSerializerin classnet.minecraft.world.item.crafting.ShapelessRecipe
-
kjs$getIngredientActions
- Specified by:
kjs$getIngredientActionsin interfaceKubeJSCraftingRecipe
-
kjs$getModifyResult
- Specified by:
kjs$getModifyResultin interfaceKubeJSCraftingRecipe
-
getRemainingItems
public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.item.crafting.CraftingInput input) - Specified by:
getRemainingItemsin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
-
assemble
public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.core.HolderLookup.Provider registryAccess) - Specified by:
assemblein interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>- Overrides:
assemblein classnet.minecraft.world.item.crafting.ShapelessRecipe
-