类 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 intprotected final net.minecraft.util.collection.DefaultedList<net.minecraft.recipe.Ingredient>protected final net.minecraft.item.ItemStackprotected final booleanprotected final int -
构造器概要
构造器构造器说明NbtShapedRecipe(String group, net.minecraft.recipe.book.CraftingRecipeCategory category, int width, int height, net.minecraft.util.collection.DefaultedList<net.minecraft.recipe.Ingredient> ingredients, net.minecraft.item.ItemStack result, boolean showNotification) -
方法概要
修饰符和类型方法说明protected static intfindFirstSymbol(String line) protected static intfindLastSymbol(String pattern) net.minecraft.recipe.RecipeSerializer<?>protected static String[]removePadding(List<String> pattern) 从类继承的方法 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
-
category
protected final net.minecraft.recipe.book.CraftingRecipeCategory category -
width
protected final int width -
height
protected final int height -
ingredients
protected final net.minecraft.util.collection.DefaultedList<net.minecraft.recipe.Ingredient> ingredients -
result
protected final net.minecraft.item.ItemStack result -
showNotification
protected final boolean showNotification
-
-
构造器详细资料
-
NbtShapedRecipe
public NbtShapedRecipe(String group, net.minecraft.recipe.book.CraftingRecipeCategory category, int width, int height, net.minecraft.util.collection.DefaultedList<net.minecraft.recipe.Ingredient> ingredients, net.minecraft.item.ItemStack result, boolean showNotification)
-
-
方法详细资料
-
findFirstSymbol
-
findLastSymbol
-
removePadding
-
getSerializer
public net.minecraft.recipe.RecipeSerializer<?> getSerializer()- 指定者:
getSerializer在接口中net.minecraft.recipe.Recipe<net.minecraft.inventory.RecipeInputInventory>- 覆盖:
getSerializer在类中net.minecraft.recipe.ShapedRecipe
-