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
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static class 
     
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected final net.minecraft.recipe.book.CraftingRecipeCategory
     
    protected final String
     
    protected final int
     
    protected final net.minecraft.util.collection.DefaultedList<net.minecraft.recipe.Ingredient>
     
    protected final net.minecraft.item.ItemStack
     
    protected final boolean
     
    protected 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 int
     
    protected static int
     
    net.minecraft.recipe.RecipeSerializer<?>
     
    protected static String[]
     

    从类继承的方法 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

      protected final String 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

      protected static int findFirstSymbol(String line)
    • findLastSymbol

      protected static int findLastSymbol(String pattern)
    • removePadding

      protected static String[] removePadding(List<String> pattern)
    • getSerializer

      public net.minecraft.recipe.RecipeSerializer<?> getSerializer()
      指定者:
      getSerializer 在接口中 net.minecraft.recipe.Recipe<net.minecraft.inventory.RecipeInputInventory>
      覆盖:
      getSerializer 在类中 net.minecraft.recipe.ShapedRecipe