类 NbtShapedRecipe
java.lang.Object
net.minecraft.recipe.ShapedRecipe
pers.saikel0rado1iu.silk.api.registry.gen.data.recipe.NbtShapedRecipe
- 所有已实现的接口:
net.minecraft.recipe.CraftingRecipe,net.minecraft.recipe.Recipe<net.minecraft.inventory.RecipeInputInventory>
public class NbtShapedRecipe
extends net.minecraft.recipe.ShapedRecipe
用于带 NBT 的有序合成配方
- 从以下版本开始:
- 0.1.0
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明protected final net.minecraft.recipe.book.CraftingRecipeCategoryprotected final Stringprotected final net.minecraft.recipe.RawShapedRecipeprotected final net.minecraft.item.ItemStackprotected final boolean从接口继承的字段 net.minecraft.recipe.Recipe
CODEC, PACKET_CODEC -
构造器概要
构造器构造器说明NbtShapedRecipe(String group, net.minecraft.recipe.book.CraftingRecipeCategory category, net.minecraft.recipe.RawShapedRecipe raw, net.minecraft.item.ItemStack result, boolean showNotification) -
方法概要
从类继承的方法 net.minecraft.recipe.ShapedRecipe
craft, fits, getCategory, getGroup, getHeight, getIngredients, getResult, getWidth, isEmpty, matches, showNotification从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 net.minecraft.recipe.CraftingRecipe
getType从接口继承的方法 net.minecraft.recipe.Recipe
createIcon, getRemainder, isIgnoredInRecipeBook
-
字段详细资料
-
group
-
raw
protected final net.minecraft.recipe.RawShapedRecipe raw -
category
protected final net.minecraft.recipe.book.CraftingRecipeCategory category -
result
protected final net.minecraft.item.ItemStack result -
showNotification
protected final boolean showNotification
-
-
构造器详细资料
-
NbtShapedRecipe
public NbtShapedRecipe(String group, net.minecraft.recipe.book.CraftingRecipeCategory category, net.minecraft.recipe.RawShapedRecipe raw, net.minecraft.item.ItemStack result, boolean showNotification)
-
-
方法详细资料
-
getSerializer
public net.minecraft.recipe.RecipeSerializer<?> getSerializer()- 指定者:
getSerializer在接口中net.minecraft.recipe.Recipe<net.minecraft.inventory.RecipeInputInventory>- 覆盖:
getSerializer在类中net.minecraft.recipe.ShapedRecipe
-