Package com.hrznstudio.emojiful.datapack
Class EmojiRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
com.hrznstudio.emojiful.datapack.EmojiRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
public class EmojiRecipe
extends net.minecraft.world.item.crafting.CustomRecipe
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackassemble(net.minecraft.world.item.crafting.CraftingInput craftingInput, net.minecraft.core.HolderLookup.Provider provider) booleancanCraftInDimensions(int width, int height) getName()net.minecraft.world.item.ItemStackgetResultItem(net.minecraft.core.HolderLookup.Provider provider) net.minecraft.world.item.crafting.RecipeSerializer<?> net.minecraft.world.item.crafting.RecipeType<?> getType()getUrl()booleanmatches(net.minecraft.world.item.crafting.CraftingInput craftingInput, net.minecraft.world.level.Level level) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, isSpecialMethods 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.Recipe
getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Constructor Details
-
EmojiRecipe
-
-
Method Details
-
matches
public boolean matches(net.minecraft.world.item.crafting.CraftingInput craftingInput, net.minecraft.world.level.Level level) -
assemble
public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.CraftingInput craftingInput, net.minecraft.core.HolderLookup.Provider provider) -
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) -
getResultItem
public net.minecraft.world.item.ItemStack getResultItem(net.minecraft.core.HolderLookup.Provider provider) - Specified by:
getResultItemin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>- Overrides:
getResultItemin classnet.minecraft.world.item.crafting.CustomRecipe
-
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer() -
getType
public net.minecraft.world.item.crafting.RecipeType<?> getType() -
getCategory
-
getName
-
getUrl
-