Package codechicken.microblock.recipe
Class MicroRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
codechicken.microblock.recipe.MicroRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
public class MicroRecipe
extends net.minecraft.world.item.crafting.CustomRecipe
Created by covers1624 on 22/10/22.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.CustomRecipe.Serializer<T extends net.minecraft.world.item.crafting.CraftingRecipe> -
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackassemble(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.core.HolderLookup.Provider registries) static @Nullable MicroMaterialfindMaterial(net.minecraft.world.item.ItemStack stack) net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.CustomRecipe> booleanmatches(net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.world.level.Level level) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, isSpecial, placementInfoMethods 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
getRemainingItems, getType, recipeBookCategoryMethods inherited from interface net.minecraft.world.item.crafting.Recipe
display, group, showNotification
-
Constructor Details
-
MicroRecipe
public MicroRecipe()
-
-
Method Details
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.CustomRecipe> getSerializer()- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.CraftingRecipe- Specified by:
getSerializerin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>- Specified by:
getSerializerin classnet.minecraft.world.item.crafting.CustomRecipe
-
matches
public boolean matches(net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.world.level.Level level) -
assemble
public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.core.HolderLookup.Provider registries) -
findMaterial
@Nullable public static @Nullable MicroMaterial findMaterial(net.minecraft.world.item.ItemStack stack)
-