跳到正文
烈焰甘蔗Wiki

Skillet(煎锅)

事实基准:harvestcraft-1.3.14-GTNH.jar(MC 1.7.10 / Forge 10.13.4.1614)CFR 0.152 反编译源码。

基本信息

属性 值 来源
注册名 harvestcraft:skilletItem ItemRegistry.java:1798
显示名 Skillet en_US.lang:266
Java 类 ItemPamTool ItemRegistry.java:1005
字段 ItemRegistry.skilletItem ItemRegistry.java 字段声明
创造标签 tabHarvestCraft(HarvestCraft Misc) ItemRegistry.java:1005
条件注册 否,无条件注册 ItemRegistry.java:1798
属性 值 来源
最大堆叠 1(func_77625_d(1)) ItemPamTool.java
耐久度 无(类中无 setMaxDamage 调用,物品不可损坏) 同上
是否可重复使用 可(无 setMaxDamage,不会损坏);但会消耗——见「合成配方」 源码中全仓库无 setContainerItem / getContainerItem 覆写
矿词典名 toolSkillet PamOtherOreDictionaryRegistry.java
合成配方来源类 PamOtherRecipes.java(制作工具本身)+ PamFoodRecipes.java / PamFoodFishingCraftRecipes.java(作为材料);没有 Container/GUI —— 它不在方块界面里使用 本条目「作为材料被使用」表的来源列

用途

在原版合成台里作为材料参与配方(矿词典 toolSkillet)。

它不是方块形态 —— ItemPamTool 没有 placeBlockAt,右键不会放置任何方块。

合成配方(制作这件工具)

来源 图案(自上而下) 材料 镜像
PamOtherRecipes.java:55 @ <br>@ ingotIron + stickWood 是
PamOtherRecipes.java:63 @ <br>@ ingotCopper + stickWood 是
PamOtherRecipes.java:67 @ <br>@ ingotSteel + stickWood 是

全部为 Forge 的 ShapedOreRecipe(Item, new Object[]{ **mirrored**, 图案, … }) 重载,第一个 Object 是镜像标记。true 表示同一配方在水平镜像后同样成立 —— 例如锅的 X@@ / @@ 镜像后是 @@X / @@ ,即锅柄朝左朝右都能合成。

作为材料被使用

下列配方通过矿词典名 toolSkillet 把本物品当作材料。这是「集合」关系:一条矿词典名可对应多个物品,一条配方也可引用多个矿词典名,因此下表按 (来源, 产物) 去重,不按调用点计数。

来源 产物 本物品命中的矿词典名 同一配方中的其它矿词典材料
PamFoodFishingCraftRecipes.java:14 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:17 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:21 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:24 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:28 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:31 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:35 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:38 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:42 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:45 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:49 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:52 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:56 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:59 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:63 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:66 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:70 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:73 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:77 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:80 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodFishingCraftRecipes.java:84 fishsandwichItem toolSkillet foodMayo
PamFoodFishingCraftRecipes.java:87 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo
PamFoodRecipes.java:119 grilledcheeseItem toolSkillet foodButter、foodCheese、foodToast
PamFoodRecipes.java:147 grilledmushroomItem toolSkillet listAllmushroom
PamFoodRecipes.java:148 chickensandwichItem toolSkillet foodBread、foodMayo、listAllchicken
PamFoodRecipes.java:151 breadedporkchopItem toolSkillet foodFlour、listAllpork
PamFoodRecipes.java:154 hamburgerItem toolSkillet foodToast、listAllbeef
PamFoodRecipes.java:158 fishsandwichItem toolSkillet foodBread、foodMayo、listAllfish
PamFoodRecipes.java:162 friedeggItem toolSkillet listAllegg
PamFoodRecipes.java:218 potatocakesItem toolSkillet cropOnion、cropPotato、foodButter
PamFoodRecipes.java:219 hashItem toolSkillet cropOnion、cropPotato、foodKetchup、listAllbeefcooked
PamFoodRecipes.java:225 cornbreadItem toolSkillet foodCornmeal、listAllegg、listAllmilk
PamFoodRecipes.java:226 tortillaItem toolSkillet foodCornmeal、listAllwater
PamFoodRecipes.java:256 friedriceItem toolSkillet cropCarrot、cropOnion、cropRice、listAllegg
PamFoodRecipes.java:261 rainbowcurryItem toolSkillet cropRice
PamFoodRecipes.java:262 refriedbeansItem toolSkillet cropBean、cropOnion、foodButter
PamFoodRecipes.java:270 beanburritoItem toolSkillet cropBean、cropRice、foodCheese、foodTortilla
PamFoodRecipes.java:272 veggiestirfryItem toolSkillet cropBean、cropBellpepper、cropCarrot、cropOnion、cropRice
PamFoodRecipes.java:273 veggiestirfryItem toolSkillet cropBellpepper、cropCarrot、cropChilipepper、cropOnion、cropRice
PamFoodRecipes.java:274 veggiestirfryItem toolSkillet cropBellpepper、cropCarrot、cropOnion、cropRice、listAllmushroom
PamFoodRecipes.java:275 veggiestirfryItem toolSkillet cropBellpepper、cropCarrot、cropOnion、cropRice、listAllmushroom
PamFoodRecipes.java:276 veggiestirfryItem toolSkillet cropBellpepper、cropCarrot、cropOnion、cropRice、listAllmushroom
PamFoodRecipes.java:279 omeletItem toolSkillet cropBellpepper、cropOnion、listAllegg
PamFoodRecipes.java:280 hotwingsItem toolSkillet cropChilipepper、foodButter、listAllchickencooked
PamFoodRecipes.java:286 fishdinnerItem toolSkillet cropLemon、foodFlour、foodMayo、listAllfish
PamFoodRecipes.java:295 pancakesItem toolSkillet foodFlour、listAllegg、listAllmilk
PamFoodRecipes.java:369 asparagusquicheItem toolSkillet cropAsparagus、cropOnion、foodCheese、listAllegg
PamFoodRecipes.java:397 coconutshrimpItem toolSkillet cropCoconut、foodFlour、foodOliveoil、foodShrimp、listAllegg
PamFoodRecipes.java:398 coconutshrimpItem toolSkillet cropCoconut、foodFlour、foodOliveoil、foodRawshrimp、listAllegg
PamFoodRecipes.java:420 frenchtoastItem toolSkillet foodGroundcinnamon、foodToast、listAllegg、listAllsugar
PamFoodRecipes.java:428 wafflesItem toolSkillet foodButter、foodFlour、listAllegg、listAllmilk
PamFoodRecipes.java:606 potatoandcheesepirogiItem toolSkillet cropPotato、foodCheese、foodDough
PamFoodRecipes.java:615 generaltsochickenItem toolSkillet cropBroccoli、cropChilipepper、cropRice、foodFlour、listAllchicken、listAllsugar
PamFoodRecipes.java:655 bangersandmashItem toolSkillet foodMashedpotatoes、foodPorksausage
PamFoodRecipes.java:691 steakandchipsItem toolSkillet foodFries、listAllbeef
PamFoodRecipes.java:705 friedpecanokraItem toolSkillet cropOkra、cropPecan、foodBlackpepper、foodOliveoil
PamFoodRecipes.java:718 naanItem toolSkillet cropOnion、foodDough、foodOliveoil
PamFoodRecipes.java:720 okracreoleItem toolSkillet cropBellpepper、cropGarlic、cropOkra、cropOnion、cropTomato、listAllspice
PamFoodRecipes.java:724 salmonpattiesItem toolSkillet foodOliveoil、foodSalmon、foodToast、listAllegg
PamFoodRecipes.java:728 sesamesnapsItem toolSkillet cropSesame、listAllsugar

矿词典(OreDictionary)

本物品注册进以下矿词典名。注意方向:注册进矿词典只代表本物品可被当作这些名字的材料使用,不代表它拥有这些名字对应的其他物品。

矿词典名 注册位置
toolSkillet PamOtherOreDictionaryRegistry.java:16

源码缺陷

  1. 工具会消耗掉。 ItemPamTool / ItemPamBlockTool 都没有覆写 setContainerItem / getContainerItem / hasContainerItem(全仓库 grep setContainerItem|func_77966_j|func_77965_c = 0 命中)。因此把它放进合成格再取出成品时,工具本身不在返还列表里。
  2. func_77630_h(ItemStack) 被覆写为恒 false(ItemPamTool.java:15-17、ItemPamBlockTool.java:25-27)。本仓库不含 MCP 映射表,无法确定该混淆名的确切语义,但无论如何返回值是常量 false,且它不是容器返还方法。
  3. ItemPamTool 构造函数体只有一行 func_77625_d(1)(堆叠上限 1)。类中没有任何右键使用逻辑、Tooltip、NBT 状态或配方判定 —— 它纯粹是一个「堆叠上限为 1 的占位物品」。

相关条目

浏览全部模组