diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff1f4dc..d7c38f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,4 +71,4 @@ jobs: uses: Anvil-Dev/dedicated-server-launch-test@1.21.1-neoforge with: mod: build/libs/${{ steps.properties.outputs.mod_id }}-neoforge-${{ steps.version.outputs.version }}.jar - extra-mods: anvilcraft:1.21.1-1.5.0+hotfix.1560 guideme:21.1.15 + extra-mods: anvilcraft:1.21.1-1.5.0+hotfix.1570 guideme:21.1.9 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index be52db7..4f20396 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -62,4 +62,4 @@ jobs: uses: Anvil-Dev/dedicated-server-launch-test@1.21.1-neoforge with: mod: build/libs/${{ steps.properties.outputs.mod_id }}-neoforge-${{ steps.version.outputs.version }}.jar - extra-mods: anvilcraft:1.21.1-1.5.0+hotfix.1560 guideme:21.1.15 + extra-mods: anvilcraft:1.21.1-1.5.0+hotfix.1570 guideme:21.1.9 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f978d2e..2de8e17 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ minecraft = "1.21.1" neoForge = "21.1.152" registrate = "MC1.21-1.3.0+62" anvillib = "1.4.0+build.172" -anvilcraft = "1.5.0+hotfix.1563" +anvilcraft = "1.5.0+hotfix.1570" curios = "9.0.15+1.21.1" jei = "19.21.0.247" jade = "15.3.4+neoforge" diff --git a/gradle/scripts/moddevgradle.gradle b/gradle/scripts/moddevgradle.gradle index a36782d..fe98a6b 100644 --- a/gradle/scripts/moddevgradle.gradle +++ b/gradle/scripts/moddevgradle.gradle @@ -13,7 +13,8 @@ neoForge { runs { client { client() - programArguments.addAll "--width", "1440", "--height", "841" + // 正版登录 不想用的可以false + setDevLogin(true) systemProperty 'neoforge.enabledGameTestNamespaces', project.mod_id } @@ -37,9 +38,10 @@ neoForge { if (isJbr) { jvmArgument "-XX:+AllowEnhancedClassRedefinition" } - systemProperty 'forge.logging.markers', 'REGISTRIES' logLevel = org.slf4j.event.Level.DEBUG - systemProperty "guideme.anvilcraft_guideme.guideme.sources", file("guidebook").getAbsolutePath() + systemProperty 'forge.logging.markers', 'REGISTRIES' + systemProperty 'terminal.jline', 'true' + systemProperty 'guideme.anvilcraft_guideme.guideme.sources', file('guidebook').getAbsolutePath() } } diff --git a/guidebook/advanced_features/advanced_tool_properties.md b/guidebook/advanced_features/advanced_tool_properties.md deleted file mode 100644 index 31c9325..0000000 --- a/guidebook/advanced_features/advanced_tool_properties.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -navigation: - title: "特殊工具属性" - icon: "anvilcraft:frost_metal_pickaxe" - position: 4001 - parent: anvilcraft_guideme:advanced_features_index.md ---- - -# 特殊工具属性 - -本页面展示了目前所有可用的特殊工具属性,以及它们的效果。 - - -## 无情 - -默认在[浮霜金属系列工具](../smithing_tier_2_materials.md#frost_metal_tools)上拥有。 -拥有此属性的工具除了*耐久*、*经验修补*、*激流*、*忠诚*之外的附魔将会全部失效,但是每级魔咒将会提供1点攻击伤害和1点挖掘速度。 - - -## 重铸 - -默认在[余烬金属系列工具](../smithing_tier_2_materials.md#ember_metal_tools)和[多相物质系列工具](../smithing_tier_2_materials.md#multiphase_matter_tools)上拥有。 -拥有此属性的工具在火中将会每gt恢复2点耐久,在灵魂火中将会每gt恢复5点耐久,在熔岩或熔岩炼药锅中将会每gt恢复10点耐久。 - - -## 多相 - -默认在[多相物质系列工具](../smithing_tier_2_materials.md#multiphase_matter_tools)上拥有。 -拥有此属性的工具将会拥有两个“相位”。每个相位会存储它们自己的名称和附魔,不会冲突,且可以通过按下 [] 切换(你的“切换相位”快捷键)。 - diff --git a/guidebook/advanced_features_index.md b/guidebook/advanced_features_index.md deleted file mode 100644 index 027b49d..0000000 --- a/guidebook/advanced_features_index.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -navigation: - title: "进阶特性" - icon: "anvilcraft:ember_anvil" - position: 4 ---- - -# 进阶特性 - -更复杂,也更强大。 - - \ No newline at end of file diff --git a/guidebook/basic/basic_block_processing.md b/guidebook/basic/basic_block_processing.md deleted file mode 100644 index 701e909..0000000 --- a/guidebook/basic/basic_block_processing.md +++ /dev/null @@ -1,106 +0,0 @@ ---- -navigation: - title: "基本方块处理" - icon: "minecraft:stone" - position: 1001 - parent: anvilcraft_guideme:basic_gameplay_index.md ---- - -# 基本方块处理 - -让*铁砧*落在需要被加工的方块上就可以加工该方块。 -单个方块、多个方块、方块和炼药锅、方块和切石机都会触发不同的效果,本条目的后续页面将会依次介绍。 -在此之前,了解磁铁对铁砧加工的帮助会让你更方便地上手。 - -## 使用磁铁升降铁砧 - - - - - - -磁铁被红石信号激活而消磁,铁砧落下可以执行操作。 - -## 单方块处理:粉碎 - - - - - - -右侧列表给出了更多可以发生此种转化的例子,有些可连续发生转化。 - -*圆石*→*沙砾*→*沙子* -*磨制花岗岩*→*花岗岩*→*红沙* -*磨制安山岩*→*安山岩*→*火山灰* -*磨制闪长岩*→*闪长岩*→*石英砂* -*有裂纹变种的方块*→*对应的裂纹变种* -*下界岩*→*下界尘* -*末地石*→*末地尘* -*灵魂土*→*灵魂沙* -*深板岩*→*深板岩碎* -*黑石*→*黑沙* - -## 双方块处理:压合 - - - - - - -右侧列表给出了更多可以发生此种转化的例子。 - -*苔藓块*+*泥土*→*草方块* -*任意树叶*+*泥土*→*灰化土* -*任意蘑菇块*+*泥土*→*菌丝体* -*下界疣块*+*下界岩*→*绯红菌岩* -*诡异疣块*+*下界岩*→*诡异菌岩* -*石头*+*石头*→*深板岩* -*冰*+*冰*→*浮冰* -*浮冰*+*浮冰*→*蓝冰* -*玄武岩*+*玄武岩*→*黑石* - -## 双方块处理:涂抹 - - - - - - -与压合不同的是上方的方块不会消耗。右侧列表给出了更多可以发生此种转化的例子。 - -*苔藓块*+*圆石*→*苔石* -*苔藓块*+*石砖*→*苔石砖* -*蜜脾块*+*任意铜制方块*→*对应的涂蜡铜制方块* - -## 方块+炼药锅:压榨 - - - - - - -使炼药锅中出现对应的单层液体。 -右侧列表给出了更多可以发生此种转化的例子。 - -*湿海绵*→*海绵*+*水* -*苔藓块*→*覆地苔藓*+*水* -*岩浆块*→*下界岩*+*熔岩* -*雪块*→*冰*+*细雪* -*满蜂巢*→*空蜂巢*+*蜂蜜*(特殊地,当下方是三层*蜂蜜*时,继续砸*满蜂巢*会将所有*蜂蜜*压成一个*蜂蜜块*。上述*蜂巢*皆可换成*蜂箱*) - -## 方块+切石机:破坏 - - - - - - - -使方块变为掉落物。 - -下面详细说明。 -使用普通*铁砧*执行时,方块破坏遵循TNT破坏的掉落物表。 -即没有*时运*或*精准采集*效果。使用*皇家铁砧*执行则附带时运效果,*余烬铁砧*则为精准采集效果。 -如果方块无法被普通TNT爆炸破坏如*黑曜石*,仍然可以破坏,但是铁砧将固定损坏一个耐久等级。 -为了防止方块破坏后铁砧掉在切石机上变为掉落物,你需要控制电路的时序。 \ No newline at end of file diff --git a/guidebook/basic/basic_introduction.md b/guidebook/basic/basic_introduction.md deleted file mode 100644 index 8aa5d3b..0000000 --- a/guidebook/basic/basic_introduction.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -navigation: - title: "基础介绍" - icon: "minecraft:anvil" - position: 1000 - parent: anvilcraft_guideme:basic_gameplay_index.md ---- - -# 基础介绍 - -铁砧工艺是一个以铁砧下落砸到方块、物品或生物触发效果的模组。 -铁砧下方放置不同方块会触发不同效果,你可以用这种方式自动化生产或再生一些物品。 -为了方便将铁砧上抬,本模组增加了*磁铁块*,你可以使用原版红石机械或手动操作代替,但较为繁琐。 - -铁砧的下落也可用于发电,甚至为其他模组的电器供能,本模组以此为基础增加了电力系统和对应的机器。 -铁砧在附魔和锻造方面有着很大提升空间,本模组以此为基础增加了提高附魔上限的锻造玩法。 -这两个部分将在专门的章节介绍。 - diff --git a/guidebook/basic/basic_item_processing.md b/guidebook/basic/basic_item_processing.md deleted file mode 100644 index ce01af1..0000000 --- a/guidebook/basic/basic_item_processing.md +++ /dev/null @@ -1,143 +0,0 @@ ---- -navigation: - title: "基本物品处理" - icon: "minecraft:iron_ingot" - position: 1002 - parent: anvilcraft_guideme:basic_gameplay_index.md -item_ids: - - anvilcraft:stamping_platform ---- - -# 基本物品处理 - -让*铁砧*落在特定方块上就可以加工该方块顶部或内部的物品,不同的特定方块有不同的处理,本条目的后续页面依次介绍。本模组增加了一种方块可以让直接被砸的物品不因碰撞箱挤压而乱飞:*冲压平台*。 - -铁压力板可以替换成任意模组的铁板。 - - - -## 物品冲压 - - - - - - - 重质测重压力板 - - - 铁锭 - - - - -下方是冲压平台时执行物品冲压操作,原料和产物都在平台中,具体描述见右侧。 - -可以将物品砸成对应的薄片,例如铁锭→铁压力板;金锭→金压力板;雪球→雪片;樱花树叶→粉色花瓣。 -还可以分离一些物品的不同组分,例如甘蔗→纸+糖;小麦→面粉+小麦种子;原木→木质纤维+树脂。 -还可以回收一些装备,锁链、金质、铁质和钻石工具武器盔甲可以分解出原料,远远多于熔炼得到的。 - -## 物品压缩 - - - - - - 铁块 - - - 铁锭 - - - - -下方是炼药锅时执行物品压缩操作,原料和产物都在锅中,具体描述见右侧。 - -如果物品有2x2或3x3的合成配方则会被执行,例如9铁粒→铁锭;9铁锭→铁块;4线→羊毛。如果一个物品既可以2x2合成又可以3x3合成,则执行3x3合成。 -除了原版的配方外,增加了3骨头→1骨块的配方也可以在此合成。 - -## 物品分解 - - - - - - 铁块 - - - 铁锭 - - - - -下方是铁活版门时执行物品分解操作,原料置于铁活版门上,产物出现在铁活版门下,具体描述见右侧。 - -如果物品有1→n的合成配方则会被执行,例如1铁锭→9铁粒。 -额外地,原版可以通过打破方块来分解的也可执行,数量按最大来:例如西瓜→9西瓜片;雪块→4雪球;荧石→4荧石粉,黏土→4黏土球。 -一些原版无法分解的建筑方块也可以通过此方法分解:例如石英块→4石英;紫水晶块→4紫水晶碎片;滴水石块→4滴水石锥;蜜脾块→4蜜脾;海晶石→4海晶碎片;海晶石砖→9海晶碎片。 - -## 物品过筛 - - - - - - - - - 沙砾 - - - 沙砾 燧石 铁粒 - - - - -下方是脚手架时执行物品过筛操作,原料置于脚手架上,产物出现在脚手架下,具体描述见右侧。 - -过筛额外产出约一半原料,可循环利用。转化表如下(存在概率): -砂砾→燧石+铁粒 -沙子→黏土+金粒 -红沙→荧石粉+铜粒 -火山灰→青金石+锌粒 -石英砂→石英+锡粒 -深板岩碎→石灰粉+铅粒 -下界尘→红石粉+钨粒 -黑沙→火药+银粒 -末地尘→紫颂花+钛粒 -灵魂沙→下界疣 -树叶→对应的树苗 - -## 物品膨发 - - - - - 3层水 - - - 2层水 - - - - -下方是装水炼药锅时执行物品膨发操作,原料和产物都在锅中,消耗一层水,转化表见右侧。 - -泥土→黏土 -绯红菌→下界疣块 -诡异菌→诡异疣块 -蜘蛛眼→发酵蜘蛛眼 -珊瑚→对应珊瑚块。 - -## 烹饪 - - - - - - -下方是炼药锅和营火时执行烹饪操作,原料和产物都在锅中,有的配方需要水且消耗一层水,具体描述见右侧。 - -自动兼容所有烟熏炉配方和营火配方,不需要水。 -有水时,可以发生如下转化:树脂→粘液球。 - diff --git a/guidebook/basic/basic_minerals.md b/guidebook/basic/basic_minerals.md deleted file mode 100644 index faed604..0000000 --- a/guidebook/basic/basic_minerals.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -navigation: - title: "基本矿石" - icon: "anvilcraft:earth_core_shard_ore" - position: 1006 - parent: anvilcraft_guideme:basic_gameplay_index.md -item_ids: - - anvilcraft:void_matter_block ---- - -# 基本矿石 -#### 不同于大多数mod,正常情况下本模组的矿石不会自然生成,只能通过矿物涌泉得到。 - -## 物品过筛 - -### 为了在前期获得本模组的金属,你需要使用类似于“无中生有”的方式—— **物品过筛**。 - -##### **铅粒**、**锡粒**、**锌粒**和**银粒**都可通过过筛**火山灰**概率获得。 - - - - - - - - - -##### **钨粒** 通过筛选 **下界尘** 概率获得。 - - - -##### **钛粒** 通过筛选**末地尘** 概率获得。 - - ---- - -## 矿物涌泉 -在获得一定量的金属后,你可以通过 **时移** 将金属块转化为粗矿, -并用粗矿块配合 **矿脉涌泉** 再生矿物。 -这要求你现阶段有能力制造 **腐化信标** 和 **冲击桩** - -### 矿物涌泉产矿 - - - - - - -*这种结构下的 **矿物涌泉** 可以生成矿石* - -**矿物涌泉** 每秒检测四个面相邻方块,如果它们都是某一种粗矿块,则将 **深板岩** 转化为对应的深层矿。 -在主世界生成时,有1%概率生成 **地核碎片矿石**,有1%概率生成 **虚空石** 。 -在下界生成时,有20%概率生成 **地核碎片矿石** 。 -在末地生成时,有20%概率生成 **虚空石** 。 - -注意:宝石不能以这种方式再生,仅接受粗矿块。 -注意:矿物涌泉仅在y=-54及以下位置工作 - -**地核碎片矿石** 只能通过 **矿物涌泉产矿** 伴生 -受到 **时运** 与 **精准采集** 影响 -需要钻石镐及以上等级镐挖掘 -挖掘获得 **地核碎片** - - - -**地核碎片** 及其块状物、矿石防火,不受 **熔岩** 和 **火焰** 损害 -可参与[余烬金属锭]的制作 - - - -**虚空石** 只能通过 **矿物涌泉产矿** 伴生 -受到 **时运** 与 **精准采集** 影响 -需要钻石镐及以上等级镐挖掘 -挖掘获得 **虚空物质** -**虚空物质** 及其块状物、矿石防虚空,在 **虚空** 中会上升 - - - - - - - - -**虚空物质块** 防虚空 -可用于制作[虚空能收集器] -自身具有 **虚空衰变** 的特性 - - -## 虚空衰变 - -*虚空物质块*周围6个面有至少5个面接触到*虚空物质块*时可以发生*虚空衰变*:接收到*随机刻*时,自身随机转化为以下方块: -石头、深板岩、安山岩、花岗岩、闪长岩、下界岩、黑石、末地石、冰、粗铁块、氧化的铜块、铁矿石、深层铁矿石、铜矿石、深层铜矿石、金矿石、深层金矿石、虚空石、末地尘、[诅咒金块](../smithing_system/smithing_tier_1_materials.md#cursed_gold_block)、深层锡矿石、深层锌矿石、深层铅矿石、深层铀矿石 - -人工挖掘矿物并替换深板岩低效且劳累 -使用*激光采矿系统*可以自动采集。 - -## 激光采矿系统 - - - - - - -这种结构可以自动提取粗矿并存放至上方容器内,更多结构可以参考*5.5激光采矿机* - -*棱镜*和*矿石*的高度差不能超过128 -提取到的物品会从*棱镜*上方弹出,或存入*棱镜*上方相邻的*容器* -提取效率=*激光等级*/4(向下取整),*提取效率*与*提取时间*的关系如下: -效率=1:24s/次 -效率=2:6s/次 -效率=3:2s/次 -效率=4:1s/次 - diff --git a/guidebook/basic/basic_more_device.md b/guidebook/basic/basic_more_device.md deleted file mode 100644 index 3c32262..0000000 --- a/guidebook/basic/basic_more_device.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -navigation: - title: "更多实用设备" - icon: "anvilcraft:block_placer" - position: 1005 - parent: anvilcraft_guideme:basic_gameplay_index.md -item_ids: - - anvilcraft:magnet - - anvilcraft:crab_trap - - anvilcraft:block_placer - - anvilcraft:block_devourer - - anvilcraft:chute ---- - -# 更多实用设备 - -本页面的设备可以帮助你在初期实现自动化。 - -**手持磁铁** 右键使用将附近物品吸引到脚下。 - - - -**蟹笼** 放置在水面,可以自动产出鱼获,四面紧邻的方块至少三个为水源或含水方块时正常工作。右键或铁砧砸之使其吐出产物。不同生物群系产出略有不同,但都会产出*蟹钳*。 - - - - - -主手或副手手持时增加3格触及距离,从*蟹笼*产出。 - -*方块放置器*有红石信号或被铁砧砸时放置方块,方块物品从其背后的容器方块、实体库存、掉落物中取。红石信号使其放置在面前,铁砧根据下落高度n使其间隔n格放置。可以被活塞推拉。 - - - -**方块吞噬器** 有红石信号或被铁砧砸时破坏前方方块,红石激活范围3x3,铁砧激活根据高度1和2分别为5x5和7x7,掉落物会尝试进入吞噬器后方的方块、实体内,无法进入则原地掉落。世界基质方块如石头、下界岩等只有极少概率掉落。 - - - -**溜槽** 是一种特殊的漏斗,有9格容量,一次性输送一组物品,可以将物品丢出至世界上。打开gui可以查看库存、改变输出方向和设置过滤。 - - - -## 溜槽自动连接 - - - - - - - - - - - - - - - -溜槽成链时,被指向的溜槽变为简化溜槽,不再从世界吸取物品,不能过滤。 - diff --git a/guidebook/basic/basic_more_processing.md b/guidebook/basic/basic_more_processing.md deleted file mode 100644 index ee48afc..0000000 --- a/guidebook/basic/basic_more_processing.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -navigation: - title: "更多铁砧处理" - icon: "minecraft:spawner" - position: 1003 - parent: anvilcraft_guideme:basic_gameplay_index.md ---- - -# 更多铁砧处理 - -* 让*铁砧*落在生物脚下、刷怪笼上、红石块上会引起相应变化,本条目的后续页面依次介绍。 - -获得更多生物战利品: -生物被铁砧砸到而伤害时,会按照原战利品表掉落物品,生物必须一次性受到足够伤害:一次40%血量→1倍掉落物;一次60%血量→2倍掉落物;一次80%血量→3倍掉落物。 -这种方式只能获得生物的一般掉落物,不会产出需要玩家手动击杀而产生的掉落物如烈焰棒。 -有一些生物可以自行或借助外力恢复血量,你可以借此制造不杀死生物的掉落物农场。 - -## 刷怪笼:强制刷怪 - - - - - - - -被砸中的刷怪笼会尝试刷怪,详细说明见右侧。 - -铁砧下落高度越高刷怪概率越大。这种刷怪方式不需要周围有玩家,但需要满足刷怪笼刷怪的光照条件、周围怪物数量也会影响刷怪,将附近怪物快速运走或击杀能大大提高效率。 - -## 红石块:红石EMP - - - - - - -被砸中的红石块会产生红石EMP,详细说明见右侧。 - -铁砧砸到红石块,会让与红石块同层的距离为r内的红石火把熄灭1gt,紧贴红石块的铁活版门阻止这个方向的EMP。 -r的计算方法:距离与掉落高度成正比,1格掉落高度传播6格,极限距离24格。 - diff --git a/guidebook/basic/basic_vanilla_improve.md b/guidebook/basic/basic_vanilla_improve.md deleted file mode 100644 index ec35d4a..0000000 --- a/guidebook/basic/basic_vanilla_improve.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -navigation: - title: "原版改进" - icon: "minecraft:dispenser" - position: 1004 - parent: anvilcraft_guideme:basic_gameplay_index.md ---- - -# 原版改进 - -为了让铁砧处理过程更丝滑,本模组补全了一些原版本应该就有的功能。 - -## 炼药锅补全 - - - - - - - -补全原版缺失的炼药锅层数。 - -## 发射器操作炼药锅 - - - - - - -发射器使用水瓶、空瓶、熔岩桶、细雪桶、水桶、空桶交互炼药锅。 - -发射器交互生物: -发射器可以用铁锭修铁傀儡,发射器可以用桶交互牛接奶。 - diff --git a/guidebook/basic_gameplay_index.md b/guidebook/basic_gameplay_index.md deleted file mode 100644 index 32ee88f..0000000 --- a/guidebook/basic_gameplay_index.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -navigation: - title: "基础玩法" - icon: "minecraft:anvil" ---- - -# 基础玩法 - -铁砧工艺的基础玩法,主要包含了铁砧下落引起的各种变化,可以转化方块、加工物品、影响生物等。 -本模组添加了一些方块来方便早期的自动化,包括方块放置器、溜槽等,在*更多实用设备*条目可以查看。 - - \ No newline at end of file diff --git a/guidebook/item-block-machines.md b/guidebook/item-block-machines.md index 9c127e8..a1b7c21 100644 --- a/guidebook/item-block-machines.md +++ b/guidebook/item-block-machines.md @@ -1,7 +1,7 @@ --- navigation: title: "铁砧工艺本体-物品/方块/机器" - icon: "anvilcraft:magnet" + icon: "anvilcraft:guide_book" --- # 物品、方块和机器 diff --git a/guidebook/items-blocks-machines/item/jewelcrafting_table.md b/guidebook/items-blocks-machines/block/corrupted_beacon.md similarity index 100% rename from guidebook/items-blocks-machines/item/jewelcrafting_table.md rename to guidebook/items-blocks-machines/block/corrupted_beacon.md diff --git a/guidebook/items-blocks-machines/block/ember_smithing_table.md b/guidebook/items-blocks-machines/block/ember_smithing_table.md new file mode 100644 index 0000000..e69de29 diff --git a/guidebook/items-blocks-machines/block/jewelcrafting_table.md b/guidebook/items-blocks-machines/block/jewelcrafting_table.md new file mode 100644 index 0000000..e69de29 diff --git a/guidebook/items-blocks-machines/block/resin_block.md b/guidebook/items-blocks-machines/block/resin_block.md new file mode 100644 index 0000000..e69de29 diff --git a/guidebook/items-blocks-machines/block/royal_grindstone.md b/guidebook/items-blocks-machines/block/royal_grindstone.md new file mode 100644 index 0000000..e69de29 diff --git a/guidebook/items-blocks-machines/item/amber.md b/guidebook/items-blocks-machines/item/amber.md new file mode 100644 index 0000000..3d91eb4 --- /dev/null +++ b/guidebook/items-blocks-machines/item/amber.md @@ -0,0 +1,35 @@ +--- +navigation: + title: "琥珀" + icon: "anvilcraft:amber" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:amber + - anvilcraft:amber_block +--- + +# 琥珀(块) + + + + + + +## 琥珀 + +> 暂时没什么用 + +### 合成 + + + + + + + + + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/amethyst_tools.md b/guidebook/items-blocks-machines/item/amethyst_tools.md index 05d7b55..73523dd 100644 --- a/guidebook/items-blocks-machines/item/amethyst_tools.md +++ b/guidebook/items-blocks-machines/item/amethyst_tools.md @@ -36,8 +36,6 @@ item_ids: ### 合成 -- 紫水晶工具可以被合成 - diff --git a/guidebook/items-blocks-machines/item/amulet.md b/guidebook/items-blocks-machines/item/amulet.md new file mode 100644 index 0000000..fefa03f --- /dev/null +++ b/guidebook/items-blocks-machines/item/amulet.md @@ -0,0 +1,106 @@ +--- +navigation: + title: "护符" + icon: "anvilcraft:emerald_amulet" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:emerald_amulet + - anvilcraft:topaz_amulet + - anvilcraft:ruby_amulet + - anvilcraft:sapphire_amulet + - anvilcraft:anvil_amulet + - anvilcraft:comrade_amulet + - anvilcraft:feather_amulet + - anvilcraft:cat_amulet + - anvilcraft:dog_amulet + - anvilcraft:silence_amulet + - anvilcraft:abnormal_amulet + - anvilcraft:gem_amulet + - anvilcraft:nature_amulet +--- + +# 护符 + + + + + + + + + + + + + + + + + +## 护符 + +--- + +### 普通护符 + +- 可在珠宝加工台中仿制,必须先得到第一个才可仿制 + +#### 获取 + +如果存活于特定致命伤害,背包内有且盒内有不死图腾,则会消耗不死图腾抵挡伤害,同时有20%的概率获得相应护符。若失败,额外增加10% + +以下是各普通护符、致命伤害和效果的列表 + +| 护符 | 致命伤害来源 | 效果 | +|---------------------------------------------|----------------------------|----------------------------------| +| | 铁傀儡、灾厄村民 | 与村民交易自带类似村庄英雄的打折 | +| | 闪电、特斯拉塔 | 免疫所有雷电伤害 | +| | 火焰、熔岩、岩浆块等烫脚方块、激光 | 抗火药水的抗火效果 | +| | 水中缺氧窒息、守卫者、远古守卫者 | 潮涌核心的潮涌能量效果 | +| | 铁砧砸、巨型铁砧撼地、铁砧锤攻击、飞行头戴铁砧锤撞击 | 完全免疫铁砧造成的伤害 | +| | 其他玩家(无小队或同小队,不同队伍的玩家伤害不触发) | 可以被多名玩家右键签名,其他玩家携带并生效时,免疫签名玩家的伤害 | +| | 摔落伤害 | 生效时可以免疫摔落伤害 | +| | 苦力怕、幻翼 | 苦力怕和幻翼会远离 | +| | 骷髅、流浪者、凋零骷髅、沼骇 | 骷髅类生物会远离并且不会射击该玩家 | +| | 监守者 | 玩家不会发出能被幽匿感测体或监守者检测到的震动 | +| | 携带有异常状态的物品导致的凋零 | 玩家不再因携带有异常状态的物品获得异常效果 | + +#### 仿制 + + + + + + + + + + + + + + + +--- + +### 多合一护符 + +多合一护符是一种特殊的护符,由多个普通护符合成,有着合成所需护符的所有效果 + +#### 合成 + + + + + + +--- + +### 生效 + +- 主副手持有的护符生效(两手都有就生效两个) +- 可以容纳护符,主副手持有护符盒,盒中的护符全生效 +- 饰品栏模组的饰品栏中的护符全生效 diff --git a/guidebook/items-blocks-machines/item/amulet_box.md b/guidebook/items-blocks-machines/item/amulet_box.md index 0b4b6bb..78f55b0 100644 --- a/guidebook/items-blocks-machines/item/amulet_box.md +++ b/guidebook/items-blocks-machines/item/amulet_box.md @@ -21,8 +21,11 @@ item_ids: - 护符盒是一种类似收纳袋的物品,可以容纳不死图腾或护符 - 手持护符盒右击收纳物品栏中的不死图腾,潜行右击则会取出所有的不死图腾 - 副手手持含有不死图腾的护符盒等价于持有不死图腾 -- 如果存活于特定致命伤害,有20%的概率获得相应护符。若失败,额外增加10% +- 如果存活于特定致命伤害,有20%的概率获得相应[护符](amulet.md#获取)。若失败,额外增加10% +- 主副手持有护符盒,盒中的护符全生效 + --- + - 每个不死图腾占用护符盒的 1 个槽位 - 每个基础护符占用2*3即 6 个槽位 - 在物品栏中将光标指向护符盒可以查看其占用情况 diff --git a/guidebook/items-blocks-machines/item/anvil_hammer.md b/guidebook/items-blocks-machines/item/anvil_hammer.md index 044e104..07c67ba 100644 --- a/guidebook/items-blocks-machines/item/anvil_hammer.md +++ b/guidebook/items-blocks-machines/item/anvil_hammer.md @@ -24,13 +24,13 @@ item_ids: ## 铁砧锤 - - *铁砧锤*是本模组的扳手 - 1. 右键可以调整某些方块的方向,蹲下右键可以拆除某些方块 - 2. 左键方块对方块执行铁砧砸到方块的操作 - 3. 重锤,从高处落下攻击生物对生物追加如同铁砧下落增加的伤害 - 4. 护目镜,戴在头上可以查看电网范围和电网负载信息 - 5. 头槌,戴在头上时鞘翅飞行撞击生物造成伤害 - - *注意,左键敲击方块、左键攻击生物以及头槌撞击生物会消耗铁砧锤的耐久,其他操作不会* +- *铁砧锤*是本模组的扳手 + 1. 右键可以调整某些方块的方向,蹲下右键可以拆除某些方块 + 2. 左键方块对方块执行铁砧砸到方块的操作 + 3. 重锤,从高处落下攻击生物对生物追加如同铁砧下落增加的伤害 + 4. 护目镜,戴在头上可以查看电网范围和电网负载信息 + 5. 头槌,戴在头上时鞘翅飞行撞击生物造成伤害 +- *注意,左键敲击方块、左键攻击生物以及头槌撞击生物会消耗铁砧锤的耐久,其他操作不会* ## 合成 diff --git a/guidebook/items-blocks-machines/item/beef_mushroom_stew.md b/guidebook/items-blocks-machines/item/beef_mushroom_stew.md new file mode 100644 index 0000000..c6a6667 --- /dev/null +++ b/guidebook/items-blocks-machines/item/beef_mushroom_stew.md @@ -0,0 +1,23 @@ +--- +navigation: + title: "牛肉炖蘑菇" + icon: "anvilcraft:beef_mushroom_stew" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:beef_mushroom_stew +--- + +# 牛肉炖蘑菇 + + + +## 牛肉炖蘑菇 + +提供16饱和度和10饥饿值 + +> 天王盖地虎,牛肉炖蘑菇 + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/can.md b/guidebook/items-blocks-machines/item/can.md new file mode 100644 index 0000000..e30e790 --- /dev/null +++ b/guidebook/items-blocks-machines/item/can.md @@ -0,0 +1,46 @@ +--- +navigation: + title: "锡罐与罐头食物" + icon: "anvilcraft:canned_food" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:tin_can + - anvilcraft:canned_food +--- + +# 锡罐与罐装食物 + + + + + + +## 锡罐 + + + +> 能装食物的罐子 + +## 合成 + + + +--- + +## 罐头食物 + + + +> 畅启速食 + +- 锡罐和任意食物合成,得到罐装食物 +- 吃完的罐装食品不返还锡罐 +- 合成罐装食品时,可以使用多个同种食物一起合成,最多五个 + - 一个食物100% + - 两个食物180% + - 三个食物240% + - 四个食物280% + - 五个食物300% \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/capacitor.md b/guidebook/items-blocks-machines/item/capacitor.md new file mode 100644 index 0000000..1a96d14 --- /dev/null +++ b/guidebook/items-blocks-machines/item/capacitor.md @@ -0,0 +1,52 @@ +--- +navigation: + title: "电容器" + icon: "anvilcraft:capacitor" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:capacitor + - anvilcraft:capacitor_empty + - anvilcraft:supercapacitor + - anvilcraft:supercapacitor_empty +--- + +# 电容器 + + + + + + + + +## 电容器 + +> 能够存储电能或释放电能 + +## 合成 + + + + + + +--- + +## 存储电能 + + + + + + +--- + +## 释放电能 + + + + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/chocolate.md b/guidebook/items-blocks-machines/item/chocolate.md new file mode 100644 index 0000000..eccd489 --- /dev/null +++ b/guidebook/items-blocks-machines/item/chocolate.md @@ -0,0 +1,43 @@ +--- +navigation: + title: "各类巧克力" + icon: "anvilcraft:chocolate" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:chocolate + - anvilcraft:chocolate_black + - anvilcraft:chocolate_white +--- + +# 各类巧克力 + + + + + + + +## 巧克力 + +回复16饱和度 + + + +--- + +## 黑巧克力 + +提供30秒急迫2效果 + + + +--- + +### 白巧克力 + +提供30秒跳跃提升2效果 + + diff --git a/guidebook/items-blocks-machines/item/circuit_board.md b/guidebook/items-blocks-machines/item/circuit_board.md new file mode 100644 index 0000000..3dfa17b --- /dev/null +++ b/guidebook/items-blocks-machines/item/circuit_board.md @@ -0,0 +1,37 @@ +--- +navigation: + title: "电路板" + icon: "anvilcraft:circuit_board" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:circuit_board +--- + +# 电路板 + + + + + +## 电路板 + +### 合成 + + + + + +### 用途 + +> 是大多数机器的合成材料,具体请查看xEI(物品管理器),这里只列举几个 + + + + + + + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/common_nugget.md b/guidebook/items-blocks-machines/item/common_nugget.md new file mode 100644 index 0000000..4db8b97 --- /dev/null +++ b/guidebook/items-blocks-machines/item/common_nugget.md @@ -0,0 +1,102 @@ +--- +navigation: + title: "一般金属(粒)" + icon: "anvilcraft:tungsten_nugget" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:tungsten_nugget + - anvilcraft:titanium_nugget + - anvilcraft:zinc_nugget + - anvilcraft:tin_nugget + - anvilcraft:lead_nugget + - anvilcraft:silver_nugget + - anvilcraft:copper_nugget + - minecraft:iron_nugget + - minecraft:gold_nugget + - anvilcraft:tungsten_ingot + - anvilcraft:titanium_ingot + - anvilcraft:zinc_ingot + - anvilcraft:tin_ingot + - anvilcraft:lead_ingot + - anvilcraft:silver_ingot + - minecraft:copper_ingot + - minecraft:iron_ingot + - minecraft:gold_ingot +--- + +# 一般金属(粒) + + + + + + + + + + + + + +--- + + + + + + + + + + + + + +## 一般金属(粒) + +> 一般金属可过筛物品得到对应的金属粒 + +### 金属粒过筛合成表 + + + + + + +--- + + + + + + +--- + + + + + + +--- + + + + + + +--- + + + + + + +--- + + + + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/crab_claw.md b/guidebook/items-blocks-machines/item/crab_claw.md index d2102a9..81bc69d 100644 --- a/guidebook/items-blocks-machines/item/crab_claw.md +++ b/guidebook/items-blocks-machines/item/crab_claw.md @@ -18,8 +18,7 @@ item_ids: ## 蟹钳 -- ~~拳头硬了.png~~ -- 主手或副手手持时增加3格触及距离 +主手或副手手持时增加3格触及距离 ## 获取 diff --git a/guidebook/items-blocks-machines/item/creamy_bread_roll.md b/guidebook/items-blocks-machines/item/creamy_bread_roll.md new file mode 100644 index 0000000..decde3c --- /dev/null +++ b/guidebook/items-blocks-machines/item/creamy_bread_roll.md @@ -0,0 +1,21 @@ +--- +navigation: + title: "奶油面包卷" + icon: "anvilcraft:creamy_bread_roll" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:creamy_bread_roll +--- + +# 奶油面包卷 + + + +## 奶油面包卷 + +提供8饱和度和8饥饿值 + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/cruse_gold.md b/guidebook/items-blocks-machines/item/cruse_gold.md new file mode 100644 index 0000000..3877917 --- /dev/null +++ b/guidebook/items-blocks-machines/item/cruse_gold.md @@ -0,0 +1,42 @@ +--- +navigation: + title: "诅咒金" + icon: "anvilcraft:cursed_gold_ingot" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:cursed_gold_ingot + - anvilcraft:cursed_gold_block + - anvilcraft:cursed_gold_nugget +--- + +# 诅咒金 + + + + + + + +## 诅咒金 + +> 这也是被知识诅咒的 + +- 玩家背包装有诅咒系列物品时(无论是粒还是锭还是块),按数量获得负面效果(未持有相关物品后10s消失) + - 1到8个,虚弱 + - 9到64个,虚弱+缓慢 + - 65个以及以上,虚弱+缓慢+饥饿 + +## 获取 + +在上使用金锭(块)[驱除诅咒附魔或附魔惩罚](../block/royal_grindstone.md) + +## 用途 + +1. 完全使用作为信标底座并用 + 激活信标时,信标有概率转化为 详情请看[腐化信标转换](../block/corrupted_beacon.md) +2. [猪灵与诅咒金的互动]() [TODO](https://github.com/Anvil-Dev/AnvilCraft/issues/1344) + +**更多请安装JEI查看合成表** \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/disk.md b/guidebook/items-blocks-machines/item/disk.md new file mode 100644 index 0000000..26e4eec --- /dev/null +++ b/guidebook/items-blocks-machines/item/disk.md @@ -0,0 +1,28 @@ +--- +navigation: + title: "磁盘" + icon: "anvilcraft:disk" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:disk +--- + +# 磁盘 + + + + + +## 磁盘 + +- 右键一个设备复制其配置 +- 如果已经复制配置,再右键相同类别的设备粘贴配置 +- shift右键清空配置 +- 配置不包括:方块方向 + +## 合成 + + diff --git a/guidebook/items-blocks-machines/item/dragon_rod.md b/guidebook/items-blocks-machines/item/dragon_rod.md index 707aed1..ab6b361 100644 --- a/guidebook/items-blocks-machines/item/dragon_rod.md +++ b/guidebook/items-blocks-machines/item/dragon_rod.md @@ -24,8 +24,8 @@ item_ids: ## 龙杖 -- **龙杖** 本质上是为了将“放下**方块吞噬器**→**铁砧锤**敲击→收回方块吞噬器”的流程简化至一个工具内 -- 所有龙杖的功能是相同的,只是耐久不同和属性不同 +**龙杖** 本质上是为了将 "放下**方块吞噬器**→**铁砧锤**敲击→收回方块吞噬器" 的流程简化至一个工具内 +所有龙杖的功能是相同的,只是耐久不同和属性不同 ## 合成 diff --git a/guidebook/items-blocks-machines/item/ember_metal.md b/guidebook/items-blocks-machines/item/ember_metal.md new file mode 100644 index 0000000..dcb024b --- /dev/null +++ b/guidebook/items-blocks-machines/item/ember_metal.md @@ -0,0 +1,38 @@ +--- +navigation: + title: "余烬金属" + icon: "anvilcraft:ember_metal_ingot" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:ember_metal_ingot + - anvilcraft:ember_metal_block + - anvilcraft:ember_metal_nugget +--- + +# 余烬金属 + + + + + + + +## 余烬金属 + +用于合成工具和机器 + +### 合成 + + + + + + + + +## 相关 + +[余烬金属工具](ember_metal_tools.md) \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/ember_metal_tools.md b/guidebook/items-blocks-machines/item/ember_metal_tools.md index f7d5c12..d8cc22e 100644 --- a/guidebook/items-blocks-machines/item/ember_metal_tools.md +++ b/guidebook/items-blocks-machines/item/ember_metal_tools.md @@ -32,15 +32,15 @@ item_ids: !重铸! - 默认数值 - 1. 耐久以及挖掘等级与下界合金工具相同 + 1. 耐久以及挖掘等级与下界合金工具相同 2. 所有余烬金属工具武器均拥有特殊属性: [重铸](../properties/properties.md#重铸) - 3. 基础挖掘速度 10 + 3. 基础挖掘速度 10 4. 造成伤害的基础值为:剑9,斧11,镐7,锹7.5,锄2 6. 不怕火焰和熔岩 ## 合成方式: -需要余烬锻造模板和余烬金属锭(块)以及被锻造的工具 +需要[余烬锻造模板](upgrade_smithing_template.md#余烬)和余烬金属锭(块)以及被锻造的工具 diff --git a/guidebook/items-blocks-machines/item/filter.md b/guidebook/items-blocks-machines/item/filter.md new file mode 100644 index 0000000..efc7d9e --- /dev/null +++ b/guidebook/items-blocks-machines/item/filter.md @@ -0,0 +1,28 @@ +--- +navigation: + title: "过滤器" + icon: "anvilcraft:filter" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:filter +--- + +# 过滤器 + + + + + +## 过滤器 + +手持过滤器右键打开gui,或在其他ui右键点击过滤器物品打开其gui +> gui内 右边18格为放置物品的地方,放置物品不消耗物品,只留标记 +> 左边两个位置分别放"切换是否匹配数据"的按钮和"切换黑白名单"的按钮 +- 可以放入有过滤格的机器当中,放置后,该格可以进所有符合该过滤器的物品 + +## 合成 + + diff --git a/guidebook/items-blocks-machines/item/food_ingredients.md b/guidebook/items-blocks-machines/item/food_ingredients.md new file mode 100644 index 0000000..8847660 --- /dev/null +++ b/guidebook/items-blocks-machines/item/food_ingredients.md @@ -0,0 +1,58 @@ +--- +navigation: + title: "食材" + icon: "anvilcraft:flour" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:cocoa_powder + - anvilcraft:cocoa_butter + - anvilcraft:cocoa_liquor + - anvilcraft:dough + - anvilcraft:flour + - anvilcraft:cream +--- + +# 食材 + + + + + + + + + + +## 可可系列 + +> 可用于合成[巧克力](chocolate.md) + +### 可可粉和可可脂 + + + +### 可可液块 + + + +--- + +## 面粉与面团 + +> 可用于合成面包等(经济实惠) + + + + + + +--- + +## 奶油 + +> 牛:这里也逃不过被榨的命运 + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/frost_metal.md b/guidebook/items-blocks-machines/item/frost_metal.md new file mode 100644 index 0000000..80d57f6 --- /dev/null +++ b/guidebook/items-blocks-machines/item/frost_metal.md @@ -0,0 +1,40 @@ +--- +navigation: + title: "浮霜金属" + icon: "anvilcraft:frost_metal_ingot" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:frost_metal_ingot + - anvilcraft:frost_metal_block + - anvilcraft:frost_metal_nugget +--- + +# 浮霜金属 + + + + + + + +## 浮霜金属 + +用于合成工具和机器 + +### 合成 + +使用皇家钢锭在细雪锅中时移,使用铁/银/钛锭进行增产 + + + + + + + + +## 相关 + +[浮霜金属工具](frost_metal_tools.md) \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/frost_metal_tools.md b/guidebook/items-blocks-machines/item/frost_metal_tools.md index aa836b1..e68fd1a 100644 --- a/guidebook/items-blocks-machines/item/frost_metal_tools.md +++ b/guidebook/items-blocks-machines/item/frost_metal_tools.md @@ -38,7 +38,7 @@ item_ids: ## 合成方式: -需要浮霜金属锻造模板和浮霜金属锭(块)以及被锻造的工具 +需要[浮霜金属锻造模板](upgrade_smithing_template.md#浮霜)和[浮霜金属锭(块)](frost_metal.md)以及被锻造的工具 diff --git a/guidebook/items-blocks-machines/item/gems.md b/guidebook/items-blocks-machines/item/gems.md new file mode 100644 index 0000000..61938f3 --- /dev/null +++ b/guidebook/items-blocks-machines/item/gems.md @@ -0,0 +1,45 @@ +--- +navigation: + title: "宝石(块)" + icon: "anvilcraft:topaz" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:topaz + - anvilcraft:sapphire + - anvilcraft:ruby + - anvilcraft:topaz_block + - anvilcraft:sapphire_block + - anvilcraft:ruby_block +--- + +# 各类宝石(块) + + + + + + + + + + +## 获取 + +1. [冲压晶洞](geode.md)有概率获取3种宝石 +2. 将宝石放在装有熔融宝石的炼药锅中进行[时移](../../recipe/time_warp.md),消耗1000mB熔融宝石产出对应宝石块 + + + + + + + + +## 熔融宝石 + +将任意宝石块放入炼药锅进行[高温熔炼](),即可获取装有熔融宝石的炼药锅 + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/geode.md b/guidebook/items-blocks-machines/item/geode.md index 69b0cf1..de2c014 100644 --- a/guidebook/items-blocks-machines/item/geode.md +++ b/guidebook/items-blocks-machines/item/geode.md @@ -19,7 +19,7 @@ item_ids: ### 获取方式: 1. 挖掘紫水晶母岩(时运无法生效) -2. 与珠宝商交易 +2. 与[珠宝匠](jeweler.md)交易 3. 开局的奖励箱(需要在创建世界时开启奖励箱选项) ### 功能: @@ -29,7 +29,7 @@ item_ids: ### 参与合成: -- 在晶洞在物品冲压时,一定出4个紫水晶碎片,概率出黄玉、蓝宝石和红宝石 +- 在晶洞在物品冲压时,一定出4个紫水晶碎片,概率出[黄玉、蓝宝石和红宝石](gems.md) - 对晶洞进行时移,可以合成出紫水晶母岩 diff --git a/guidebook/items-blocks-machines/item/hardend_resin.md b/guidebook/items-blocks-machines/item/hardend_resin.md new file mode 100644 index 0000000..b942d8a --- /dev/null +++ b/guidebook/items-blocks-machines/item/hardend_resin.md @@ -0,0 +1,28 @@ +--- +navigation: + title: "硬化树脂" + icon: "anvilcraft:hardend_resin" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:hardend_resin +--- + +# 硬化树脂 + + + + + +## 硬化树脂 + +- 用于合成[电路板](circuit_board.md)、[磁盘](disk.md)、[过滤器](filter.md)、[药盒](pill.md#药盒)等物品 +- 也可用于在[珠宝加工台](../block/jewelcrafting_table.md)仿制唱片 + +### 合成 + + + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/ionocraft_backpack.md b/guidebook/items-blocks-machines/item/ionocraft_backpack.md index 2ee9ec0..42baa3b 100644 --- a/guidebook/items-blocks-machines/item/ionocraft_backpack.md +++ b/guidebook/items-blocks-machines/item/ionocraft_backpack.md @@ -23,8 +23,13 @@ item_ids: - 飞行行为不会消耗耐久 - 装备着时,拥有创造飞行能力 - 穿戴飘升机背包时不免疫摔落伤害 + +## 充电 + - 在电网中对电网增加64kw的负载,自身每秒补充10秒的飞行时间值 -- 在电网外,玩家身上有电容器时,飞行时间小于600s自动将一个电容器转化为空电容器,增加600s飞行时间 +- 电网外时 + - 能量小于等于56MJ时,尝试使用背包的[电容器](capacitor.md)充能,每个电容器补充4MJ(飞行时间+80秒) + - 能量小于等于1MJ时,尝试使用[超级电容器](capacitor.md)直接充满(飞行时间变为1200秒) ## 合成 diff --git a/guidebook/items-blocks-machines/item/jeweler.md b/guidebook/items-blocks-machines/item/jeweler.md index 7a8327e..ee8ec51 100644 --- a/guidebook/items-blocks-machines/item/jeweler.md +++ b/guidebook/items-blocks-machines/item/jeweler.md @@ -1,13 +1,11 @@ --- navigation: title: "珠宝匠" - icon: "anvilcraft:amulet_box" + icon: "minecraft:emerald" position: 11 parent: anvilcraft_guideme:item-block-machines.md categories: - tools -item_ids: - - anvilcraft:amulet_box --- # 珠宝匠 @@ -22,12 +20,22 @@ item_ids: ## 转职 -- 将珠宝加工台作为工作方块的村民将转职为珠宝匠[珠宝加工台](jewelcrafting_table.md) +- 将[珠宝加工台](../block/jewelcrafting_table.md)作为工作方块的村民将转职为珠宝匠 ## 交易列表 -| 等级 | 购买的物品 | 出售的物品 | -|----|----------------------------------------------|--------------------------------------------| -| 新手 | 4个 | 1个 | -| 新手 | 1个 | 1个 | -| 学徒 | 8个 | 1个 | +| 等级 | 购买的物品 | 出售的物品 | +|----|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------| +| 新手 | 4个 | 1个 | +| 新手 | 1个 | 1个 | +| 学徒 | 8个 | 1个 | +| 学徒 | 4个 | 1个 | +| 老手 | 1个 | 8个 | +| 老手 | 1个 | 8个 | +| 老手 | 1个 | 8个 | +| 老手 | 1个 | 8个 | +| 老手 | 40个
4个 | 1个 | +| 专家 | 1个 | 2个 | +| 专家 | 1个 | 24个 | +| 大师 | 64个
4个 | 1个 | +| 大师 | 64个
4个 | 1个 | diff --git a/guidebook/items-blocks-machines/item/pill.md b/guidebook/items-blocks-machines/item/pill.md new file mode 100644 index 0000000..4dd8a99 --- /dev/null +++ b/guidebook/items-blocks-machines/item/pill.md @@ -0,0 +1,38 @@ +--- +navigation: + title: "药片与药盒" + icon: "anvilcraft:pill" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:pill + - anvilcraft:pill_box +--- + +# 药片与药盒 + + + + + + +## 药片 + +- 没有效果的药片和任意药水(无视其是否为喷溅以及滞留)在合成栏合成时,将药水转化为空瓶,将药水的效果赋予药片,得到对应药水效果的药片 +- 药片可以右键使用,使用时消耗一个 + + + +--- + +## 药盒 + +- 配置方式类似[护符盒](amulet_box.md),但是更简单没有大小格子之分 +- 鼠标放上去有高2宽4的悬浮gui + - 光标持有药片时可以往里放入,滚轮选择里面的位置,可以取出药片 +- 拿在手上时右键可以一次性吃掉里面每种不同的药片各一片,冷却2秒 +- 可以设置快捷键:在背包中使用,背包中有多个药盒时,用快捷键只使用更靠前的 + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/prismarine.md b/guidebook/items-blocks-machines/item/prismarine.md new file mode 100644 index 0000000..7751dea --- /dev/null +++ b/guidebook/items-blocks-machines/item/prismarine.md @@ -0,0 +1,38 @@ +--- +navigation: + title: "海晶簇与海晶刃" + icon: "anvilcraft:prismarine_cluster" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:prismarine_blade + - anvilcraft:prismarine_cluster +--- + +# 海晶簇与海晶刃 + + + + + + +## 海晶簇 + +- 可用于生产 + + +### 合成 + +> 合成消耗1层细雪,由于渲染原因,没炫出来 + + + + + +## 海晶刃 + +> 由海晶簇冲压而来 + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/resin.md b/guidebook/items-blocks-machines/item/resin.md new file mode 100644 index 0000000..fdc93de --- /dev/null +++ b/guidebook/items-blocks-machines/item/resin.md @@ -0,0 +1,35 @@ +--- +navigation: + title: "树脂" + icon: "anvilcraft:resin" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:resin +--- + +# 树脂 + + + + + +## 树脂 + +### 合成 + + + +### 作用 + +可以用来合成[树脂块](../block/resin_block.md)、[电容器](capacitor.md)、[硬化树脂](hardend_resin.md)、[琥珀](amber.md)、 + + + + + + + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/royal_steel.md b/guidebook/items-blocks-machines/item/royal_steel.md new file mode 100644 index 0000000..e627f01 --- /dev/null +++ b/guidebook/items-blocks-machines/item/royal_steel.md @@ -0,0 +1,37 @@ +--- +navigation: + title: "皇家钢" + icon: "anvilcraft:royal_steel_ingot" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:royal_steel_ingot + - anvilcraft:royal_steel_block + - anvilcraft:royal_steel_nugget +--- + +# 皇家钢 + + + + + + + +## 皇家钢 + + 是黄瓜钢大人 + +用于合成工具和机器 + + + + + + + +## 相关 + +[皇家钢工具](royal_steel_tools.md) \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/royal_steel_tools.md b/guidebook/items-blocks-machines/item/royal_steel_tools.md index a85c35f..6c56857 100644 --- a/guidebook/items-blocks-machines/item/royal_steel_tools.md +++ b/guidebook/items-blocks-machines/item/royal_steel_tools.md @@ -28,13 +28,13 @@ item_ids: ## 皇家钢工具 - ~~**我的天哪!是黄瓜钢大人!**~~ + ~~**我的天哪!是黄瓜钢大人!**~~ - 相比[紫水晶工具](../item/amethyst_tools.md),皇家钢工具本身不自带附魔,继承被锻造的工具的附魔 - **钻石品质** ## 合成方式: -需要皇家钢锻造模板和皇家钢锭(块)以及被锻造的工具 +需要[皇家钢锻造模板](upgrade_smithing_template.md#皇家钢)和[皇家钢锭(块)](royal_steel.md)以及被锻造的工具 diff --git a/guidebook/items-blocks-machines/item/sea_heart.md b/guidebook/items-blocks-machines/item/sea_heart.md new file mode 100644 index 0000000..1e5efc4 --- /dev/null +++ b/guidebook/items-blocks-machines/item/sea_heart.md @@ -0,0 +1,39 @@ +--- +navigation: + title: "海心壳" + icon: "anvilcraft:sea_heart_shell" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:sea_heart_shell + - anvilcraft:sea_heart_shell_shard +--- + +# 海心壳 + + + + + + +## 海心壳 + +> 可用于再生 + + + +### 合成 + + + +## 海心壳碎片 + +> 用来合成 或[海晶簇](prismarine.md) + +### 合成 + + + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/seeds_pack.md b/guidebook/items-blocks-machines/item/seeds_pack.md new file mode 100644 index 0000000..b57c1fd --- /dev/null +++ b/guidebook/items-blocks-machines/item/seeds_pack.md @@ -0,0 +1,20 @@ +--- +navigation: + title: "种子袋" + icon: "anvilcraft:seeds_pack" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:seeds_pack +--- + +# 种子袋 + + + +## 种子袋 + +- 正常情况下无法获取(本体没写获取方式) +- 右键使用能获取随机种子 diff --git a/guidebook/items-blocks-machines/item/spectral_slingshot.md b/guidebook/items-blocks-machines/item/spectral_slingshot.md index 4288db7..dab3e69 100644 --- a/guidebook/items-blocks-machines/item/spectral_slingshot.md +++ b/guidebook/items-blocks-machines/item/spectral_slingshot.md @@ -20,19 +20,19 @@ item_ids: - ~~影分身?~~ - 装填:装填只可装填入一个物品,但射击不会消耗物品,射出幻影 - - 副手持物品,主手持幻灵弹弓来装填 + - 副手持物品,主手持幻灵弹弓来装填 - 待机:与原版弩类似,鼠标指上去可以看到说明中有弹药信息 -- 射击:点按右键射出一弹药,长按右键连续射击,每次射击之间冷却为2秒 +- 射击:点按右键射出弹药,长按右键连续射击,每次射击之间冷却为2秒 - 伤害:基础伤害为该物品的近战伤害的50%(原武器仅增伤附魔生效,无情时增伤附魔不生效,然后可以通过幻灵弹弓的力量附魔增伤) - 取出和替换弹药:另一只手为空时shift右键取出弹药,另一只手为与弹药不同的物品时shift右键替换弹药 - 附魔: - - 快速装填影响装填速度,与原版弩一致,同时降低冷却,每级降低0.25秒,最多降1秒 - - 多重射击时每次射击射出多个弹药 - - 穿透使得弹射物可以穿过实体 - - 无限使得装填装填时不消耗手中的物品,但取出或替换弹药时也不会从中获得物品 - - 力量增加弹射物伤害(与原版箭矢不同,每级只增加10%伤害) - - 火矢使弹射物燃烧 - - 冲击造成击退 + - 快速装填影响装填速度,与原版弩一致,同时降低冷却,每级降低0.25秒,最多降1秒 + - 多重射击时每次射击射出多个弹药 + - 穿透使得弹射物可以穿过实体 + - 无限使得装填装填时不消耗手中的物品,但取出或替换弹药时也不会从中获得物品 + - 力量增加弹射物伤害(与原版箭矢不同,每级只增加10%伤害) + - 火矢使弹射物燃烧 + - 冲击造成击退 ## 合成 diff --git a/guidebook/items-blocks-machines/item/sponge_gemmule.md b/guidebook/items-blocks-machines/item/sponge_gemmule.md new file mode 100644 index 0000000..0c90600 --- /dev/null +++ b/guidebook/items-blocks-machines/item/sponge_gemmule.md @@ -0,0 +1,33 @@ +--- +navigation: + title: "海绵芽球" + icon: "anvilcraft:sponge_gemmule" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:sponge_gemmule +--- + +# 海绵芽球 + + + +## 海绵芽球 + +### 合成 + + + +--- + +### 海绵增殖 + +> 由海绵芽球的合成可引出海绵增殖 + +1. 消耗一层炼药锅的水和1个海绵芽球可合成1个湿海绵 +2. 1个湿海绵可合成出4个海绵芽球 + + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/totem_of_rage.md b/guidebook/items-blocks-machines/item/totem_of_rage.md index ed8ac14..fb48113 100644 --- a/guidebook/items-blocks-machines/item/totem_of_rage.md +++ b/guidebook/items-blocks-machines/item/totem_of_rage.md @@ -27,4 +27,4 @@ item_ids: ## 合成 - + diff --git a/guidebook/items-blocks-machines/item/transcendence_tools.md b/guidebook/items-blocks-machines/item/transcendence_tools.md index 728468d..ce969b6 100644 --- a/guidebook/items-blocks-machines/item/transcendence_tools.md +++ b/guidebook/items-blocks-machines/item/transcendence_tools.md @@ -24,6 +24,8 @@ categories: ## 合成 +需要[超限金属锻造模板](upgrade_smithing_template.md#超限)和[超限金属锭(块)](transcendium.md)以及被锻造的工具 + diff --git a/guidebook/items-blocks-machines/item/transcendium.md b/guidebook/items-blocks-machines/item/transcendium.md new file mode 100644 index 0000000..ae894a6 --- /dev/null +++ b/guidebook/items-blocks-machines/item/transcendium.md @@ -0,0 +1,38 @@ +--- +navigation: + title: "超限合金" + icon: "anvilcraft:transcendium_ingot" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:transcendium_ingot + - anvilcraft:transcendium_block + - anvilcraft:transcendium_nugget +--- + +# 超限合金 + + + + + + + +## 超限合金 + +用于合成工具和机器 + +### 合成 + +> 将充能中子锭用铁砧压入超温余烬金属块,根据充能中子锭上的附魔数量决定输出超限合金锭数量 + +- 0个附魔:方块消失,中子锭消失,得到4个超限合金锭 +- 1到10个附魔:方块消失,中子锭有 (100-(10x附魔数))/100 概率消失,(10x附魔数)/100 概率变为普通中子锭输出,得到4个超限合金锭+3*附魔数个超限合金粒 +- 11到14个附魔:方块消失,中子锭 100% 变为普通中子锭输出,得到得到 4个超限合金锭 和 3*附魔数个超限合金粒 +- 15个附魔:方块转化为超限合金块,中子锭100%变为普通中子锭输出 +- 16个以及以上附魔:方块转化为超限合金块,中子锭100%变为普通中子锭输出,额外产生1*附魔数个超限合金粒 + +## 相关 +[超限合金工具](transcendence_tools.md) \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/upgrade_smithing_template.md b/guidebook/items-blocks-machines/item/upgrade_smithing_template.md new file mode 100644 index 0000000..fd78065 --- /dev/null +++ b/guidebook/items-blocks-machines/item/upgrade_smithing_template.md @@ -0,0 +1,134 @@ +--- +navigation: + title: "锻造模板" + icon: "anvilcraft:royal_steel_upgrade_smithing_template" + position: 2 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:royal_steel_upgrade_smithing_template + - anvilcraft:frost_metal_upgrade_smithing_template + - anvilcraft:ember_metal_upgrade_smithing_template + - anvilcraft:transcendium_upgrade_smithing_template + - anvilcraft:two_to_one_smithing_template + - anvilcraft:four_to_one_smithing_template + - anvilcraft:eight_to_one_smithing_template +--- + +# 锻造模板 + +本篇将介绍各种锻造模板 + + + + + + + + + + + +--- + +## 皇家钢 + + + +用于给物品或方块升级至皇家钢等级 + +[皇家钢工具](royal_steel_tools.md) + +### 获取 + +- 村庄武器匠小屋箱子概率刷新 +- 与老手级[珠宝匠](jeweler.md)交易获取 + +--- + +## 浮霜 + + + +用于给物品或方块升级至浮霜等级 + +[浮霜金属工具](frost_metal_tools.md) + +### 合成 + + + +--- + +## 余烬 + + + +用于给物品或方块升级至余烬等级 + +[余烬金属工具](ember_metal_tools.md) + +### 合成 + + + +--- + +## 超限 + + + +用于给物品或方块升级至超限等级 + +[超限金属工具](transcendence_tools.md) + +### 获取 + +请看[八合一锻造模板](upgrade_smithing_template.md#八合一) + +--- + +### 多合一 + + + + + + + +用于在[余烬锻造台](../block/ember_smithing_table.md)合成装备 + +### 合成 + +使用对应数量的任意不同锻造模板在冲压平台砸而合成 +> 包括升级装备用的锻造模板和盔甲纹饰的锻造模板皆可,最好能兼容其他模组添加的锻造模板,多合一锻造模板也算一种锻造模板 + +#### 示例 + +- 下界合金锻造模板+皇家钢锻造模板→二合一锻造模板 +- 猪鼻锻造模板+肋骨锻造模板+余烬锻造模板+海岸锻造模板→四合一锻造模板 + +#### 八合一 + +将有附魔的8合一锻造模板物品实体用任意方式摧毁,根据附魔决定其新的产物(顿号意味着“或”): + +- 灵魂疾行:猪鼻盔甲纹饰 +- 火焰保护、火焰附加、火矢:肋骨盔甲纹饰 +- 爆炸保护:沙丘盔甲纹饰 +- 迅捷潜行:幽静盔甲纹饰 +- 保护:监守盔甲纹饰 +- 经验修补:恼鬼盔甲纹饰 +- 无限:哨兵盔甲纹饰 +- 致密、破甲:镶铆盔甲纹饰 +- 风暴:涡流盔甲纹饰 +- 弹射物保护:荒野盔甲纹饰 +- 时运:尖塔盔甲纹饰 +- 抢夺:眼眸盔甲纹饰 +- 海之眷顾、饵钓:海岸盔甲纹饰 +- 深海探索者、水下呼吸、水下速掘、穿刺、激流:潮汐盔甲纹饰 +- 其他附魔:向导盔甲纹饰、牧民盔甲纹饰、雇主盔甲纹饰、塑造盔甲纹饰 + +> 执行时,随机取一条附魔,按照列表生成新物品,最多选4次(消耗一个8合一模板,最多通过这种方式产生4个新模板),选择有可能重复 + +> 如果选择了4次且4次结果(指生成的新模板)都不同,则额外生成一个超限合金锻造模板 diff --git a/guidebook/items-blocks-machines/item/utusan.md b/guidebook/items-blocks-machines/item/utusan.md new file mode 100644 index 0000000..c67840c --- /dev/null +++ b/guidebook/items-blocks-machines/item/utusan.md @@ -0,0 +1,23 @@ +--- +navigation: + title: "五毒散" + icon: "anvilcraft:utusan" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - tools +item_ids: + - anvilcraft:utusan +--- + +# 五毒散 + + + +## 五毒散 + +> 这可是十年老中医,来这你就放心吧 + +食用后清除身上的所有负面效果,如果无负面效果则获得30秒中毒5 + + \ No newline at end of file diff --git a/guidebook/items-blocks-machines/item/wood_fiber.md b/guidebook/items-blocks-machines/item/wood_fiber.md new file mode 100644 index 0000000..533b79e --- /dev/null +++ b/guidebook/items-blocks-machines/item/wood_fiber.md @@ -0,0 +1,35 @@ +--- +navigation: + title: "木质纤维" + icon: "anvilcraft:wood_fiber" + position: 11 + parent: anvilcraft_guideme:item-block-machines.md +categories: + - misc ingredients blocks +item_ids: + - anvilcraft:wood_fiber +--- + +# 木质纤维 + + + + + +## 硬化树脂 + +### 合成 + + + + + +### 用途 + +- 用于合成 +- 也可作为燃料 + + + + + \ No newline at end of file diff --git a/guidebook/power_system_index.md b/guidebook/power_system_index.md deleted file mode 100644 index fb9c3a7..0000000 --- a/guidebook/power_system_index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -navigation: - title: "电力系统" - icon: "anvilcraft:magnetoelectric_core" ---- - -# 电力系统 - -更强的自动化。 - - \ No newline at end of file diff --git a/guidebook/process/game_process_2.md b/guidebook/process/game_process_2.md deleted file mode 100644 index 7d2aafa..0000000 --- a/guidebook/process/game_process_2.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -navigation: - title: "流程2-获得磁铁" - icon: "anvilcraft:magnet_ingot" - position: 2 - parent: anvilcraft_guideme:process_index.md -item_ids: - - anvilcraft:ferrite_core_magnet_block - - anvilcraft:hollow_magnet_block - - anvilcraft:magnet_block ---- - -# 流程2-获得磁铁 - -*磁铁块*帮助你简单地将铁砧抬起再砸下。有三种磁铁块,功能基本相同,有些可以互相转化。第一批磁铁块的获取方式:*铁块*被雷击转化为空心磁铁块,雷击的影响范围可以通过配置文件更改,默认是水平3x3格,高2格 - -## 雷击转化磁铁块 - - - - - - -默认的雷击转化磁铁块范围,雷击后,图中铁块都将转化为空心磁铁块。 - -## 人工引雷 - - - - -如果你等不到雷雨天,使用*黄玉*右键避雷针会消耗黄玉制造一道闪电。 -黄玉可以从*晶洞*获得。 -如果你此时没有足够多的晶洞,可以多挖掘一些水晶母岩或与*珠宝匠*村民交易。 -如果雷雨天已经到来,可以跳过这一页。 - -## 砸碎晶洞 - - - - - - - - -将晶洞置于*冲压平台*上,铁砧落下会砸碎晶洞,有概率获得黄玉。 - - - - - - - -雷击得到的*空心磁铁块*可以分解为8个*磁铁锭*。 -磁铁锭可以与铁锭合成*铁芯磁铁块*,铁芯磁铁块置于世界中逐渐转变为*磁铁块*。 -磁铁块可以拆解为9个磁铁锭,这是磁铁再生的一种方法。 - - - - - -**人工**将铁锭**逐个**丢入空心磁铁块中央的洞,铁锭有概率转化为磁铁锭。 -这是磁铁再生的另一个方法。其他磁铁块也可再合成。 - - - - - - - diff --git a/guidebook/process/game_process_3.md b/guidebook/process/game_process_3.md deleted file mode 100644 index 8ce8e92..0000000 --- a/guidebook/process/game_process_3.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -navigation: - title: "流程3-开始铁砧加工" - icon: "minecraft:anvil" - position: 3 - parent: anvilcraft_guideme:process_index.md ---- - -# 流程3-开始铁砧加工 - -让*铁砧*落在需要被加工的方块上就可以加工该方块; -铁砧落在*冲压平台*、*炼药锅*、*铁活版门*、*脚手架*等方块上时,会加工其中或其上的物品。 -使用*磁铁块*帮助你完成半自动:磁铁块自动吸起下方五格以内的铁砧,磁铁块被红石激活失去磁性使铁砧下落。 -如果没有磁铁块,你也可以手动拆除铁砧再将其放置或者设计红石机器。 - -## 使用磁铁升降铁砧 - - - - - - -磁铁被红石信号激活而消磁,铁砧落下可以执行操作。 - - -### *铁砧*造价太高? -本模组为原版*开裂的铁砧*和*损坏的铁砧*增加了合成表。 -别担心,一格高的高度不会使铁砧继续受到损害。 - - - - - - - -## 方便的铁砧工作站 - - - - - - -再也不用抬头点拉杆或按钮了,敲击音符盒就会让铁砧落下一次。 -左图中,冲压平台可以换成别的方块,下方还可以增加营火等方块。 -详细处理类别见铁砧处理相关章节。 - -## 相关章节 - -- [基本方块处理](../basic/basic_block_processing.md) -- [基本物品处理](../basic/basic_item_processing.md) - diff --git a/guidebook/process_index.md b/guidebook/process_index.md deleted file mode 100644 index b2f2b01..0000000 --- a/guidebook/process_index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -navigation: - title: "游戏流程" - icon: "minecraft:compass" ---- - -# 游戏流程 - -一般的生存流程指南,仅供参考。如是整合包则需要参考整合包本身的任务或教程。模组流程不是固定的,本篇介绍的仅是最常规的流程。 - - \ No newline at end of file diff --git a/guidebook/recipe.md b/guidebook/recipe.md new file mode 100644 index 0000000..e69de29 diff --git a/guidebook/recipe/time_warp.md b/guidebook/recipe/time_warp.md new file mode 100644 index 0000000..e69de29 diff --git a/guidebook/smithing_system/smithing_advanced_tools.md b/guidebook/smithing_system/smithing_advanced_tools.md deleted file mode 100644 index a3f242e..0000000 --- a/guidebook/smithing_system/smithing_advanced_tools.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -navigation: - title: "高级工具" - icon: "anvilcraft:jewelcrafting_table" - position: 3005 - parent: anvilcraft_guideme:smithing_system_index.md -item_ids: - - anvilcraft:dragon_rod - - anvilcraft:royal_dragon_rod - - anvilcraft:ember_dragon_rod - - anvilcraft:heavy_halberd_core - - anvilcraft:resonator_core ---- - -# 高级工具 - -本页面展示了目前所有可用的*高级工具*。 - - - -*龙杖*本质上是为了将你“放下*方块吞噬器*→*铁砧锤*敲击→收回方块吞噬器”的流程简化至一个工具内。 - - - - - - - -三种龙杖的功能是相同的,只是耐久不同。 -同样可以通过锻造升级。 - - - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/royal_dragon_rod","recipe2":"anvilcraft:smithing/ember_dragon_rod"} -``` - -龙杖的操作十分简单。左键破坏一定范围内的方块,右键切换范围大小。有3x3、5x5、7x7、9x9四个范围,当手持龙杖准星指向方块时会显示范围框。3x3范围不消耗耐久,往后依次消耗1、2、4点耐久。当龙杖耐久消耗殆尽时不会完全损坏,而是失去所有功能,类似于 -*鞘翅*。 - -龙杖遵循方块吞噬器的规则,当挖掘世界基底方块(*石头*、*下界岩*、*末地石*)时,只有5%的概率掉落。但是它无法连锁顶部的可下落方块。 -龙杖在挖掘一次后会有一段冷却时间,默认为1秒。这段冷却时长只受*急迫*效果和*挖掘疲劳*效果影响,每级急迫会减少4tick,每级挖掘疲劳会增加1秒。 - - - -*重戟*融合了剑、斧、重锤和三叉戟的特性,是一个强力的武器。 - -*重戟核心*是合成重戟的核心材料。 - - - -**TODO:** Unsupported Patchouli page type **anvilcraft:multiple_to_one_smithing** - -``` -{"type":"anvilcraft:multiple_to_one_smithing","recipe":"anvilcraft:four_to_one_smithing/frost_metal_heavy_halberd","recipe2":"anvilcraft:four_to_one_smithing/ember_metal_heavy_halberd"} -``` - -重戟可以作为合成它所需的四件武器中的任意一件使用。它能兼容剑、重锤和三叉戟的所有附魔。它的攻击伤害值与斧相同,攻击速度与剑相同,还具有它们的挖掘特性。从高处落下可以触发重锤的猛击。长按右键也可以像三叉戟一样投掷,但是投掷伤害根据速度计算,与箭类似。当它拥有忠诚魔咒时,掷入虚空会回到玩家处。 - -重戟同样不会完全损坏,类似于鞘翅,它会失去所有增益、功能等效果,攻击伤害变为0,附魔大部分失效,浮霜带来的[无情](../advanced_features/advanced_tool_properties.md#merciless) -也会失效。 - - - -*共振器*融合了斧、镐、锹、锄的特性,是一个强力的工具。 - -*共振器核心*是合成共振器的核心材料。 - - - -**TODO:** Unsupported Patchouli page type **anvilcraft:multiple_to_one_smithing** - -``` -{"type":"anvilcraft:multiple_to_one_smithing","recipe":"anvilcraft:four_to_one_smithing/frost_metal_resonator","recipe2":"anvilcraft:four_to_one_smithing/ember_metal_resonator"} -``` - -共振器有五个模式:自动,和四种工具对应的模式。不同的模式有不同的模型。在自动模式下可以快速挖掘任意可挖掘方块,但是没有右键功能。在每种工具对应的模式下只能快速挖掘该工具允许的方块,但是拥有它们对应的右键功能,如斧模式可以去皮、脱蜡、除锈等。 - -手持共振器按住[]可以打开一个轮盘选择界面,包含共振器的五个模式,将鼠标拖到对应的位置就可以选中该模式并切换。 - -共振器同样不会完全损坏,类似于鞘翅,它会失去所有增益、功能等效果,攻击伤害变为0,附魔大部分失效,浮霜带来的[无情](../advanced_features/advanced_tool_properties.md#merciless) -也会失效。 - diff --git a/guidebook/smithing_system/smithing_corrupted_beacon.md b/guidebook/smithing_system/smithing_corrupted_beacon.md deleted file mode 100644 index 52e0beb..0000000 --- a/guidebook/smithing_system/smithing_corrupted_beacon.md +++ /dev/null @@ -1,112 +0,0 @@ ---- -navigation: - title: "腐化信标" - icon: "anvilcraft:corrupted_beacon" - position: 3003 - parent: anvilcraft_guideme:smithing_system_index.md ---- - -# 腐化信标 - -释放了被封印在信标之中的凋灵之力。会赋予光柱内的生物*凋零*效果,部分生物会转化为另一种生物,还可以配合铁砧加工。 - -生物转化: -*猪*→*疣猪兽* -*牛*→*劫掠兽* -*守卫者*→*远古守卫者* -*猪灵*→*猪灵蛮兵* -*村民*→30%*掠夺者*、60%*卫道士*、10%*唤魔者* -*悦灵*→*恼鬼* -*蝙蝠*→*幻翼* -*马*→10%*僵尸马*、90%*骷髅马* -*蠹虫*→*末影螨* - - -## 时移 - - - - - - - -想要实现时移操作,腐化信标必须是激活状态。这意味着如果你想使用磁铁块控制顶上的铁砧,你必须使用*空心磁铁块*。 - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/coal_from_logs","recipe2":"anvilcraft:time_warp/coal"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/raw_copper","recipe2":"anvilcraft:time_warp/raw_iron"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/raw_gold","recipe2":"anvilcraft:time_warp/raw_silver"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/raw_tungsten","recipe2":"anvilcraft:time_warp/raw_titanium"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/raw_zinc","recipe2":"anvilcraft:time_warp/raw_tin"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:heat_produce_time_warp/raw_uranium_from_uranium_block","recipe2":"anvilcraft:heat_produce_time_warp/raw_uranium_from_plutonium_block"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/raw_lead","recipe2":"anvilcraft:time_warp/ancient_debris"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/wither_skeleton_skull","recipe2":"anvilcraft:time_warp/wither_rose"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/tuff","recipe2":"anvilcraft:time_warp/calcite"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/dirt","recipe2":"anvilcraft:time_warp/amber"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/soul_soil","recipe2":"anvilcraft:time_warp/crying_obsidian"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/sea_heart_shell","recipe2":"anvilcraft:time_warp/budding_amethyst"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/end_stone"} -``` - diff --git a/guidebook/smithing_system/smithing_introduction.md b/guidebook/smithing_system/smithing_introduction.md deleted file mode 100644 index e4deaaf..0000000 --- a/guidebook/smithing_system/smithing_introduction.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -navigation: - title: "锻造系统介绍" - icon: "anvilcraft:royal_anvil" - position: 3000 - parent: anvilcraft_guideme:smithing_system_index.md ---- - -# 锻造系统介绍 - -原版附魔有着诸多限制,通过使用更强的材料升级你的铁砧等锻造方块,逐步解除这些限制。这个过程的副产物还将引起一些奇妙的变化。 - diff --git a/guidebook/smithing_system/smithing_jewelcrafting_table.md b/guidebook/smithing_system/smithing_jewelcrafting_table.md deleted file mode 100644 index d3189e4..0000000 --- a/guidebook/smithing_system/smithing_jewelcrafting_table.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -navigation: - title: "珠宝加工台和珠宝商" - icon: "anvilcraft:jewelcrafting_table" - position: 3001 - parent: anvilcraft_guideme:smithing_system_index.md -item_ids: - - anvilcraft:jewelcrafting_table ---- - -# 珠宝加工台和珠宝商 - -*珠宝加工台*既可以作为村民的工作方块,也可以供玩家进行一些合成。 - - - - - - -## minecraft:villager (TODO) - - - - - -将珠宝加工台作为工作方块的村民将成为*珠宝匠*,可以与之交易一些铁砧工艺相关物品,包括重要的锻造模板。 - -## 仿制 - -玩家可以使用珠宝加工台进行*仿制*。只有部分物品可以仿制,放入需要仿制的物品和对应的材料就能仿制出一个附带消失诅咒的仿制品。 - -**TODO:** Unsupported Patchouli page type **anvilcraft:jewel_crafting** - -``` -{"type":"anvilcraft:jewel_crafting","recipe":"anvilcraft:jewel_crafting/elytra","recipe2":"anvilcraft:jewel_crafting/ominous_bottle"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:jewel_crafting** - -``` -{"type":"anvilcraft:jewel_crafting","recipe":"anvilcraft:jewel_crafting/heavy_core","recipe2":"anvilcraft:jewel_crafting/enchanted_golden_apple"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:jewel_crafting** - -``` -{"type":"anvilcraft:jewel_crafting","recipe":"anvilcraft:jewel_crafting/trial_key","recipe2":"anvilcraft:jewel_crafting/ominous_trial_key"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:jewel_crafting** - -``` -{"type":"anvilcraft:jewel_crafting","recipe":"anvilcraft:jewel_crafting/totem_of_undying","text":"还有下一页!"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:jewel_crafting** - -``` -{"type":"anvilcraft:jewel_crafting","title":"旗帜图案","recipe":"anvilcraft:jewel_crafting/minecraft_flower_banner_pattern_from_minecraft_flower_banner_pattern_for_banner_patterns","text":"所有旗帜图案都可以通过这个配方来仿制。"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:jewel_crafting** - -``` -{"type":"anvilcraft:jewel_crafting","title":"音乐唱片","recipe":"anvilcraft:jewel_crafting/minecraft_music_disc_creator_from_minecraft_music_disc_creator_for_music_discs","text":"所有音乐唱片都可以通过这个配方来仿制。"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:jewel_crafting** - -``` -{"type":"anvilcraft:jewel_crafting","title":"纹样陶片","recipe":"anvilcraft:jewel_crafting/minecraft_blade_pottery_sherd_from_minecraft_blade_pottery_sherd_for_pottery_sherds","text":"所有纹样陶片都可以通过这个配方来仿制。"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:jewel_crafting** - -``` -{"type":"anvilcraft:jewel_crafting","title":"盔甲纹饰锻造模板","recipe":"anvilcraft:jewel_crafting/minecraft_silence_armor_trim_smithing_template_from_minecraft_silence_armor_trim_smithing_template_for_trim_templates","text":"所有盔甲纹饰锻造模板都可以通过这个配方来仿制。"} -``` - diff --git a/guidebook/smithing_system/smithing_tier_1_materials.md b/guidebook/smithing_system/smithing_tier_1_materials.md deleted file mode 100644 index 910c0f7..0000000 --- a/guidebook/smithing_system/smithing_tier_1_materials.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -navigation: - title: "一阶材料" - icon: "anvilcraft:royal_steel_ingot" - position: 3002 - parent: anvilcraft_guideme:smithing_system_index.md -item_ids: - - anvilcraft:royal_steel_block - - anvilcraft:royal_steel_nugget - - anvilcraft:cursed_gold_block - - anvilcraft:cursed_gold_nugget ---- - -# 一阶材料 - -本页面展示了所有可用的*一阶材料*。 - - - - -*皇家钢*同时具有金属和宝石的性质,拥有很高的耐久和很高的附魔亲和性。 - -**TODO:** Unsupported Patchouli page type **anvilcraft:super_heating** - -``` -{"type":"anvilcraft:super_heating","recipe":"anvilcraft:super_heating/royal_steel_ingot"} -``` - - - - - - - - - -在村庄铁匠铺可以找到锻造模板,与[珠宝匠](smithing_jewelcrafting_table.md)村民交易也可以得到锻造模板。 - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/royal_smithing_table","text":"这是第一个你应该用皇家钢升级的物品,因为有了它之后你锻造的过程就无需再消耗任何锻造模板。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/royal_anvil","text":"*皇家铁砧*无论如何使用都不会损坏,还能让你不用再担心过于昂贵。使用带特殊字符的*命名牌*还可以给物品名称修改样式。"} -``` - - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","anchor":"royal_grindstone","recipe":"anvilcraft:smithing/royal_grindstone","text":"在*皇家砂轮*上使用*金锭*可以为物品祛除$(fb0505)诅咒$(/fb0505)和附魔惩罚,正常附魔则会被保留。金锭会转化为[诅咒金锭](#cursed_gold_ingot)。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/royal_steel_pickaxe","recipe2":"anvilcraft:smithing/royal_steel_axe","text":"使用皇家钢锭升级你的工具,这是它们成长路上的第一步。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/royal_steel_shovel","recipe2":"anvilcraft:smithing/royal_steel_hoe","text":"使用皇家钢锭升级你的工具,这是它们成长路上的第一步。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/royal_steel_sword","recipe2":"anvilcraft:smithing/royal_anvil_hammer","text":"使用皇家钢锭升级你的武器,这是它们成长路上的第一步。"} -``` - - - - -散发着诅咒气息的物品,携带者将受到*debuff*;携带者使用*皇家铁砧*时会被雷劈。使用[皇家砂轮](#royal_grindstone)祛除物品的诅咒和附魔惩罚时,金锭会转化为诅咒金锭。 - - - - - - - - - - -完全使用*诅咒金块*作为信标底座,并使用*诅咒金锭*激活信标,则信标有概率转化为[腐化信标](smithing_corrupted_beacon.md)。底座层数越多,转化概率越大。使用诅咒金锭激活信标时天气将转为雷雨天。 - diff --git a/guidebook/smithing_system/smithing_tier_2_materials.md b/guidebook/smithing_system/smithing_tier_2_materials.md deleted file mode 100644 index dde8fa8..0000000 --- a/guidebook/smithing_system/smithing_tier_2_materials.md +++ /dev/null @@ -1,163 +0,0 @@ ---- -navigation: - title: "二阶材料" - icon: "anvilcraft:frost_metal_ingot" - position: 3004 - parent: anvilcraft_guideme:smithing_system_index.md -item_ids: - - anvilcraft:frost_metal_block - - anvilcraft:frost_metal_nugget - - anvilcraft:ember_metal_block - - anvilcraft:multiphase_matter_block - - tag:anvilcraft:multiple_to_one_smithing_templates ---- - -# 二阶材料 - -本页面展示了目前所有可用的*二阶材料*。 - - - - -*浮霜金属*是一种坚固且寒冷的金属。 - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/frost_metal_ingot","text":"使用1*钛锭*、1*银锭*、1*铁锭*进行时移来制作。"} -``` - - - - - - - - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/frost_metal_upgrade_smithing_template","text":"使用*皇家升级锻造模板*进行时移配方以获得。可用于将*皇家钢系列工具*升级为*浮霜金属系列工具*。"} -``` - - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","anchor":"frost_metal_tools","recipe":"anvilcraft:smithing/frost_metal_pickaxe","recipe2":"anvilcraft:smithing/frost_metal_axe","text":"使用*浮霜金属锭*升级你的工具,它们将自带[无情](./advanced_tool_properties.md#merciless)属性。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/frost_metal_shovel","recipe2":"anvilcraft:smithing/frost_metal_hoe","text":"使用*浮霜金属锭*升级你的工具,它们将自带[无情](./advanced_tool_properties.md#merciless)属性。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/frost_metal_sword","text":"使用*浮霜金属锭*升级你的工具,它们将自带[无情](./advanced_tool_properties.md#merciless)属性。"} -``` - - - - -*余烬金属*是一种炽热无比的金属。 -使用任意*高温的下界合金块*进行时移来制作。加入1-3个*地核碎片*可以增加对应量的产出。 - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/ember_metal_ingot_0","recipe2":"anvilcraft:time_warp/ember_metal_ingot_1"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:time_warp** - -``` -{"type":"anvilcraft:time_warp","recipe":"anvilcraft:time_warp/ember_metal_ingot_2","recipe2":"anvilcraft:time_warp/ember_metal_ingot_3"} -``` - - - - - - - - - -在村庄铁匠铺可以找到锻造模板,与[珠宝匠](smithing_jewelcrafting_table.md)村民交易也可以得到锻造模板。 - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/ember_smithing_table","text":"这个锻造台用于锻造更加复杂的配方,有了它之后你就有能力在锻造上更进一步了。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/ember_anvil","text":"这个铁砧的功能与*皇家铁砧*几乎一致,但是它可以让你在生存模式下给物品强行添加一些不兼容的附魔。"} -``` - - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","anchor":"ember_grindstone","recipe":"anvilcraft:smithing/ember_grindstone","text":"在*余烬砂轮*上,你可以消耗经验提取出附魔物品的附魔。只需放入待提取的物品和书,并选择一个附魔,就可以消耗其显示的经验提取出选择的附魔了。它不会有过于昂贵,但是仍会向提取的物品增加附魔惩罚。"} -``` - - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","anchor":"ember_metal_tools","recipe":"anvilcraft:smithing/ember_metal_pickaxe","recipe2":"anvilcraft:smithing/ember_metal_axe","text":"使用*余烬金属锭*升级你的工具,它们将自带[重铸](./advanced_tool_properties.md#reforging)属性。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/ember_metal_shovel","recipe2":"anvilcraft:smithing/ember_metal_hoe","text":"使用*余烬金属锭*升级你的工具,它们将自带[重铸](./advanced_tool_properties.md#reforging)属性。"} -``` - -**TODO:** Unsupported Patchouli page type **patchouli:smithing** - -``` -{"type":"patchouli:smithing","recipe":"anvilcraft:smithing/ember_metal_sword","recipe2":"anvilcraft:smithing/ember_anvil_hammer","text":"使用*余烬金属锭*升级你的工具,它们将自带[重铸](./advanced_tool_properties.md#reforging)属性。"} -``` - - - - -*多相物质*是一种人造物质。 - -(此处为对撞配方,等待对撞适配)在对撞装置尾部放上[一块浮霜金属块](#frost_metal_block_and_nugget),并成功执行一次对撞获得。 - - - - - -## 多合一锻造模板 - - - -将多个互不相同的*锻造模板*进行物品冲压加工获得,由模板数量决定获得的是几合一锻造模板。 - -**TODO:** Unsupported Patchouli page type **anvilcraft:multiple_to_one_smithing** - -``` -{"type":"anvilcraft:multiple_to_one_smithing","recipe":"anvilcraft:two_to_one_smithing/multiphase_matter_pickaxe","recipe2":"anvilcraft:two_to_one_smithing/multiphase_matter_axe"} -``` - -**TODO:** Unsupported Patchouli page type **anvilcraft:multiple_to_one_smithing** - -``` -{"type":"anvilcraft:multiple_to_one_smithing","recipe":"anvilcraft:two_to_one_smithing/multiphase_matter_shovel","recipe2":"anvilcraft:two_to_one_smithing/multiphase_matter_hoe"} -``` - - -**TODO:** Unsupported Patchouli page type **anvilcraft:multiple_to_one_smithing** - -``` -{"type":"anvilcraft:multiple_to_one_smithing","anchor":"multiphase_matter_tools","recipe":"anvilcraft:two_to_one_smithing/multiphase_matter_sword","text":"使用*多相物质*升级你的工具,它们将自带[重铸](./advanced_tool_properties.md#reforging)和[多相](./advanced_tool_properties.md#multiphase)属性。"} -``` - diff --git a/guidebook/smithing_system_index.md b/guidebook/smithing_system_index.md deleted file mode 100644 index 1b92061..0000000 --- a/guidebook/smithing_system_index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -navigation: - title: "锻造系统" - icon: "anvilcraft:royal_anvil" ---- - -# 锻造系统 - -更强的铁砧,更强的锻造和附魔 - - \ No newline at end of file diff --git a/img.png b/img.png deleted file mode 100644 index cb63cfb..0000000 Binary files a/img.png and /dev/null differ diff --git a/src/generated/resources/assets/anvilcraft_guideme/lang/en_ud.json b/src/generated/resources/assets/anvilcraft_guideme/lang/en_ud.json index 81b60fd..58fe2ed 100644 --- a/src/generated/resources/assets/anvilcraft_guideme/lang/en_ud.json +++ b/src/generated/resources/assets/anvilcraft_guideme/lang/en_ud.json @@ -1,4 +1,4 @@ { - "gui.ac_guideme.loaded": "¡pǝpɐoꞀ sı %s", - "gui.ac_guideme.unloaded": "¡pǝpɐoꞀ ʇ,usı %s" + "gui.ac_guideme.mod_info.loaded": "¡pǝpɐoꞀ sı %s", + "gui.ac_guideme.mod_info.unloaded": "¡pǝpɐoꞀ ʇ,usı %s" } \ No newline at end of file diff --git a/src/generated/resources/assets/anvilcraft_guideme/lang/en_us.json b/src/generated/resources/assets/anvilcraft_guideme/lang/en_us.json index b4b1970..170f5b5 100644 --- a/src/generated/resources/assets/anvilcraft_guideme/lang/en_us.json +++ b/src/generated/resources/assets/anvilcraft_guideme/lang/en_us.json @@ -1,4 +1,4 @@ { - "gui.ac_guideme.loaded": "%s is Loaded!", - "gui.ac_guideme.unloaded": "%s isn't Loaded!" + "gui.ac_guideme.mod_info.loaded": "%s is Loaded!", + "gui.ac_guideme.mod_info.unloaded": "%s isn't Loaded!" } \ No newline at end of file diff --git a/src/main/java/dev/anvilcraft/guideme/data/lang/LangHandler.java b/src/main/java/dev/anvilcraft/guideme/data/lang/LangHandler.java index c349d62..337805a 100644 --- a/src/main/java/dev/anvilcraft/guideme/data/lang/LangHandler.java +++ b/src/main/java/dev/anvilcraft/guideme/data/lang/LangHandler.java @@ -3,14 +3,8 @@ import com.tterrag.registrate.providers.RegistrateLangProvider; public class LangHandler { - - /** - * 语言文件初始化 - * - * @param p 提供器 - */ - public static void init(RegistrateLangProvider p) { - p.add("gui.ac_guideme.loaded", "%s is Loaded!"); - p.add("gui.ac_guideme.unloaded", "%s isn't Loaded!"); + public static void init(RegistrateLangProvider provider) { + ModInfoLang.init(provider); + RecipeLang.init(provider); } } diff --git a/src/main/java/dev/anvilcraft/guideme/data/lang/ModInfoLang.java b/src/main/java/dev/anvilcraft/guideme/data/lang/ModInfoLang.java new file mode 100644 index 0000000..0cce752 --- /dev/null +++ b/src/main/java/dev/anvilcraft/guideme/data/lang/ModInfoLang.java @@ -0,0 +1,10 @@ +package dev.anvilcraft.guideme.data.lang; + +import com.tterrag.registrate.providers.RegistrateLangProvider; + +public class ModInfoLang { + public static void init(RegistrateLangProvider p) { + p.add("gui.ac_guideme.mod_info.loaded", "%s is Loaded!"); + p.add("gui.ac_guideme.mod_info.unloaded", "%s isn't Loaded!"); + } +} diff --git a/src/main/java/dev/anvilcraft/guideme/data/lang/RecipeLang.java b/src/main/java/dev/anvilcraft/guideme/data/lang/RecipeLang.java new file mode 100644 index 0000000..d35695e --- /dev/null +++ b/src/main/java/dev/anvilcraft/guideme/data/lang/RecipeLang.java @@ -0,0 +1,9 @@ +package dev.anvilcraft.guideme.data.lang; + +import com.tterrag.registrate.providers.RegistrateLangProvider; + +public class RecipeLang { + public static void init(RegistrateLangProvider p) { + + } +} diff --git a/src/main/java/dev/anvilcraft/guideme/event/AddonGuideEventListener.java b/src/main/java/dev/anvilcraft/guideme/event/AddonGuideEventListener.java index a5a17a9..19460d2 100644 --- a/src/main/java/dev/anvilcraft/guideme/event/AddonGuideEventListener.java +++ b/src/main/java/dev/anvilcraft/guideme/event/AddonGuideEventListener.java @@ -4,6 +4,7 @@ import dev.dubhe.anvilcraft.api.event.CheckIntegrationLoadedEvent; import dev.dubhe.anvilcraft.api.event.GuideBookEvent; import guideme.GuidesCommon; +import net.neoforged.bus.api.EventPriority; import net.neoforged.bus.api.SubscribeEvent; import net.neoforged.fml.common.EventBusSubscriber; @@ -16,9 +17,10 @@ public static void onHasGuide(GuideBookEvent.HasGuideBookEvent event) { event.hasGuideBook(); } - @SubscribeEvent + @SubscribeEvent(priority = EventPriority.HIGHEST) public static void onOpenGuide(GuideBookEvent.OpenGuideBookEvent event) { GuidesCommon.openGuide(event.getPlayer(), GID); + event.setCanceled(true); } @SubscribeEvent diff --git a/src/main/java/dev/anvilcraft/guideme/guide/RecipeTypeContributions.java b/src/main/java/dev/anvilcraft/guideme/guide/RecipeTypeContributions.java index 7070172..edbfe2b 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/RecipeTypeContributions.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/RecipeTypeContributions.java @@ -23,7 +23,6 @@ import dev.anvilcraft.guideme.guide.recipe.LytSuperHeatingRecipe; import dev.anvilcraft.guideme.guide.recipe.LytTimeWarpRecipe; import dev.anvilcraft.guideme.guide.recipe.LytUnpackRecipe; -import dev.dubhe.anvilcraft.init.item.ModItems; import dev.dubhe.anvilcraft.init.reicpe.ModRecipeTypes; import dev.dubhe.anvilcraft.recipe.ChargerChargingRecipe; import dev.dubhe.anvilcraft.recipe.JewelCraftingRecipe; @@ -50,9 +49,15 @@ import dev.dubhe.anvilcraft.recipe.transform.MobTransformWithItemRecipe; import guideme.compiler.tags.RecipeTypeMappingSupplier; import guideme.document.block.recipes.LytStandardRecipeBox; +import net.minecraft.network.chat.Component; +import net.minecraft.network.chat.FormattedText; +import net.minecraft.network.chat.Style; import net.minecraft.world.item.Items; import net.minecraft.world.item.crafting.RecipeHolder; +import java.util.Optional; +import java.util.concurrent.atomic.AtomicReference; + public class RecipeTypeContributions implements RecipeTypeMappingSupplier { // TODO: BeaconConversion | MultiBlock | EndPortalConversion | Transcendium | MobTransform @@ -88,14 +93,7 @@ private static LytStandardRecipeBox blockCompress(RecipeHol .icon(Items.ANVIL) .customBody(new LytBlockCompressRecipe(holder.value())) .title( - holder - .value() - .getFirstResultBlock() - .state() - .getBlock() - .asItem() - .getDescription() - .getString() + appendComponent(Component.translatable("gui.anvilcraft.category.block_compress")) ) .build(holder); } @@ -105,14 +103,7 @@ private static LytStandardRecipeBox blockCrush(RecipeHolder blockSmear(RecipeHolder boiling(RecipeHolder bulging(RecipeHolder cooking(RecipeHolder holder) { @@ -162,13 +143,7 @@ private static LytStandardRecipeBox cooking(RecipeHolder itemCompress(RecipeHolde .icon(Items.ANVIL) .customBody(new LytItemCompressRecipe(holder.value())) .title( - holder - .value() - .getResultItems() - .getFirst() - .getItem() - .getDescription() - .getString() + appendComponent(Component.translatable("gui.anvilcraft.category.item_compress")) ) .build(holder); } @@ -194,13 +163,7 @@ private static LytStandardRecipeBox itemCrush(RecipeHolder itemInject(RecipeHolder massInject(RecipeHolder mesh(RecipeHolder ho .icon(Items.ANVIL) .customBody(new LytMeshRecipe(holder.value())) .title( - holder - .value() - .getResultItems() - .getFirst() - .getItem() - .getDescription() - .getString() + appendComponent(Component.translatable("gui.anvilcraft.category.mesh")) ) .build(holder); } @@ -253,13 +203,7 @@ private static LytStandardRecipeBox neutronIrradiation .icon(Items.ANVIL) .customBody(new LytNeutronIrradiationRecipe(holder.value())) .title( - holder - .value() - .getResultItems() - .getFirst() - .getItem() - .getDescription() - .getString() + appendComponent(Component.translatable("gui.anvilcraft.category.neutron_irradiation")) ) .build(holder); } @@ -268,6 +212,9 @@ private static LytStandardRecipeBox squeezing(RecipeHolder stamping(RecipeHolder holder) { @@ -276,13 +223,7 @@ private static LytStandardRecipeBox stamping(RecipeHolder superHeating(RecipeHolde .builder() .icon(Items.ANVIL) .customBody(new LytSuperHeatingRecipe(holder.value())) + .title( + appendComponent(Component.translatable("gui.anvilcraft.category.super_heating")) + ) .build(holder); } private static LytStandardRecipeBox timeWarp(RecipeHolder holder) { @@ -298,6 +242,9 @@ private static LytStandardRecipeBox timeWarp(RecipeHolder unpack(RecipeHolder holder) { @@ -306,13 +253,7 @@ private static LytStandardRecipeBox unpack(RecipeHolder collision(RecipeH .builder() .icon(Items.ANVIL) .customBody(new LytCollisionRecipe(holder.value())) + .title( + appendComponent(Component.translatable("gui.anvilcraft.category.anvil_collision")) + ) .build(holder); } private static LytStandardRecipeBox chargerCharging(RecipeHolder holder) { @@ -329,12 +273,7 @@ private static LytStandardRecipeBox chargerCharging(Recip .icon(Items.ANVIL) .customBody(new LytChargerChargingRecipe(holder.value())) .title( - holder - .value() - .getResult() - .getItem() - .getDescription() - .getString() + appendComponent(Component.translatable("gui.anvilcraft.category.charger_charging")) ) .build(holder); } @@ -344,12 +283,7 @@ private static LytStandardRecipeBox jewelCrafting(RecipeHol .icon(Items.ANVIL) .customBody(new LytJewelCraftingRecipe(holder.value())) .title( - holder - .value() - .getResult() - .getItem() - .getDescription() - .getString() + appendComponent(Component.translatable("gui.anvilcraft.category.jewel_crafting")) ) .build(holder); } @@ -359,13 +293,7 @@ private static LytStandardRecipeBox multiple(Re .icon(Items.ANVIL) .customBody(new LytBaseMultipleToOneSmithingRecipe(holder.value())) .title( - holder - .value() - .getResult() - .getResult() - .getItem() - .getDescription() - .getString() + appendComponent(Component.translatable("gui.anvilcraft.category.multiple_to_one_smithing")) ) .build(holder); } @@ -398,4 +326,16 @@ private static LytStandardRecipeBox mobTransformWith ) .build(holder); } + + private static String appendComponent(FormattedText formattedText) { + AtomicReference string = new AtomicReference<>(); + formattedText.visit( + (style, text) -> { + string.set(text); + return Optional.empty(); + }, + Style.EMPTY + ); + return string.get(); + } } \ No newline at end of file diff --git a/src/main/java/dev/anvilcraft/guideme/guide/compiler/tag/KeyMapTagCompiler.java b/src/main/java/dev/anvilcraft/guideme/guide/compiler/tag/KeyMapTagCompiler.java index a73309c..e85f5ae 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/compiler/tag/KeyMapTagCompiler.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/compiler/tag/KeyMapTagCompiler.java @@ -13,10 +13,11 @@ import java.util.Set; +// TODO: 将来GuideME升到21.5.6-beta及以上,移除这个 public class KeyMapTagCompiler extends FlowTagCompiler { @Override public Set getTagNames() { - return Set.of("Key"); + return Set.of("Key", "KeyBind"); } @Override @@ -32,7 +33,7 @@ protected void compile(PageCompiler compiler, LytFlowParent parent, MdxJsxElemen String name = component1.getString() + " [" + component.getString() + "] "; LytFlowSpan span = new LytFlowSpan(); span.appendText(name); - span.setHoverStyle(TextStyle.builder().bold(true).color(new ColorUtil("97d9e1")).build()); + span.setHoverStyle(TextStyle.builder().underlined(true).color(new ColorUtil("97d9e1")).build()); span.setStyle(TextStyle.builder().color(new ColorUtil("d9afd9")).build()); parent.append(span); } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/compiler/tag/ModInfoTagCompiler.java b/src/main/java/dev/anvilcraft/guideme/guide/compiler/tag/ModInfoTagCompiler.java index 0f5e2fd..a0b1ee1 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/compiler/tag/ModInfoTagCompiler.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/compiler/tag/ModInfoTagCompiler.java @@ -42,19 +42,19 @@ protected void compile(PageCompiler compiler, LytFlowParent parent, MdxJsxElemen if (modName != null && modVersion != null) { nameAndVersion = modName + " " + modVersion; - link.appendText(Component.translatable("gui.ac_guideme.loaded", nameAndVersion).getString()); + link.appendComponent(Component.translatable("gui.ac_guideme.mod_info.loaded", nameAndVersion)); link.setStyle(TextStyle.builder().color(new ColorUtil("98fb98")).build()); - link.setHoverStyle(TextStyle.builder().bold(true).color(new ColorUtil("00ff00")).build()); + link.setHoverStyle(TextStyle.builder().underlined(true).color(new ColorUtil("00ff00")).build()); } else if (modName != null) { nameAndVersion = modName; - link.appendText(Component.translatable("gui.ac_guideme.loaded", nameAndVersion).getString()); + link.appendComponent(Component.translatable("gui.ac_guideme.mod_info.loaded", nameAndVersion)); link.setStyle(TextStyle.builder().color(new ColorUtil("98fb98")).build()); - link.setHoverStyle(TextStyle.builder().bold(true).color(new ColorUtil("00ff00")).build()); + link.setHoverStyle(TextStyle.builder().underlined(true).color(new ColorUtil("00ff00")).build()); } else { nameAndVersion = id; - link.appendText(Component.translatable("gui.ac_guideme.unloaded", nameAndVersion).getString()); + link.appendComponent(Component.translatable("gui.ac_guideme.mod_info.unloaded", nameAndVersion)); link.setStyle(TextStyle.builder().color(new ColorUtil("dc143c")).build()); - link.setHoverStyle(TextStyle.builder().bold(true).color(new ColorUtil("ff0000")).build()); + link.setHoverStyle(TextStyle.builder().underlined(true).color(new ColorUtil("ff0000")).build()); } if (url != null) { diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytBoilingRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytBoilingRecipe.java index 4860187..a6152bf 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytBoilingRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytBoilingRecipe.java @@ -44,7 +44,7 @@ public void render(RenderContext context) { protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { workBlocks.layout(context, x + 70, y, availableWidth); inputItemSlot.layout(context, x, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); return new LytRect(x, y, 162, 64); } } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytBulgingRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytBulgingRecipe.java index 426d05f..a39dd36 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytBulgingRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytBulgingRecipe.java @@ -50,7 +50,7 @@ public void render(RenderContext context) { @Override protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { inputItemSlot.layout(context, x, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); inputBlockSlot.layout(context, x + 70, y + 10, availableWidth); outputBlockSlot.layout(context, x + 100, y + 10, availableWidth); return new LytRect(x, y, 162, 64); diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytCookingRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytCookingRecipe.java index e1746b5..afa0c21 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytCookingRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytCookingRecipe.java @@ -42,7 +42,7 @@ public void render(RenderContext context) { protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { workBlocks.layout(context, x + 70, y, availableWidth); inputItemSlot.layout(context, x, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); return new LytRect(x, y, 162, 64); } } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytItemCompressRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytItemCompressRecipe.java index 7fca8b3..018b4a9 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytItemCompressRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytItemCompressRecipe.java @@ -40,7 +40,7 @@ public void render(RenderContext context) { protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { workBlocks.layout(context, x + 70, y + 15, availableWidth); inputItemSlot.layout(context, x, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); return new LytRect(x, y, 162, 64); } } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytItemCrushRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytItemCrushRecipe.java index ea12c75..00df0c5 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytItemCrushRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytItemCrushRecipe.java @@ -40,7 +40,7 @@ public void render(RenderContext context) { protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { workBlocks.layout(context, x + 70, y + 15, availableWidth); inputItemSlot.layout(context, x, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); return new LytRect(x, y, 162, 64); } } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytMeshRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytMeshRecipe.java index 199d1f6..491f7e3 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytMeshRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytMeshRecipe.java @@ -39,8 +39,8 @@ public void render(RenderContext context) { @Override protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { workBlocks.layout(context, x + 70, y + 10, availableWidth); - inputItemSlot.layout(context, x + 15, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + inputItemSlot.layout(context, x, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); return new LytRect(x, y, 162, 64); } } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytStampingRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytStampingRecipe.java index de3840b..59d63b5 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytStampingRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytStampingRecipe.java @@ -40,7 +40,7 @@ public void render(RenderContext context) { protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { workBlocks.layout(context, x + 70, y + 10, availableWidth); inputItemSlot.layout(context, x, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); return new LytRect(x, y, 162, 64); } } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytSuperHeatingRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytSuperHeatingRecipe.java index c48c1ea..59087ee 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytSuperHeatingRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytSuperHeatingRecipe.java @@ -8,6 +8,7 @@ import dev.dubhe.anvilcraft.block.HeaterBlock; import dev.dubhe.anvilcraft.init.block.ModBlocks; import dev.dubhe.anvilcraft.recipe.anvil.wrap.SuperHeatingRecipe; +import dev.dubhe.anvilcraft.util.CauldronUtil; import guideme.document.LytRect; import guideme.document.block.LytVBox; import guideme.layout.LayoutContext; @@ -32,7 +33,8 @@ public LytSuperHeatingRecipe(SuperHeatingRecipe recipe) { work.add(BlockStatePredicate.builder().of(Blocks.CAULDRON).build()); work.add(BlockStatePredicate.builder().of(ModBlocks.HEATER).with(HeaterBlock.OVERLOAD, false).build()); append(workBlocks = new LytBlockSlot(work)); - append(outputBlockSlot = new LytBlockSlot(BlockStateUtil.getCauldron(recipe.getHasCauldron()))); + boolean consumeFluid = recipe.isConsumeFluid() && recipe.isProduceFluid(); + append(outputBlockSlot = new LytBlockSlot(BlockStateUtil.getCauldron(recipe.getHasCauldron(), consumeFluid))); workBlocks.setHasAnvil(true); workBlocks.setAnvilAnimation(true); outputBlockSlot.setRender(!recipe.getResultItems().isEmpty()); @@ -49,7 +51,7 @@ public void render(RenderContext context) { @Override protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { inputItemSlot.layout(context, x, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); workBlocks.layout(context, x + 70, y, availableWidth); outputBlockSlot.layout(context, x + 105, y + 15, availableWidth); return new LytRect(x, y, 162, 64); diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytTimeWarpRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytTimeWarpRecipe.java index 613f56d..4f6b6e5 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytTimeWarpRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytTimeWarpRecipe.java @@ -29,7 +29,8 @@ public LytTimeWarpRecipe(TimeWarpRecipe recipe) { ModBlocks.CORRUPTED_BEACON.getDefaultState().trySetValue(CorruptedBeaconBlock.LIT, false) ) ); - append(outputBlockSlot = new LytBlockSlot(BlockStateUtil.getCauldron(recipe.getHasCauldron()))); + boolean consumeFluid = recipe.isConsumeFluid() && recipe.isProduceFluid(); + append(outputBlockSlot = new LytBlockSlot(BlockStateUtil.getCauldron(recipe.getHasCauldron(), consumeFluid))); workBlocks.setHasAnvil(true); workBlocks.setAnvilAnimation(true); outputBlockSlot.setRender(!recipe.getResultItems().isEmpty()); diff --git a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytUnpackRecipe.java b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytUnpackRecipe.java index 379d173..3ce259d 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytUnpackRecipe.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/recipe/LytUnpackRecipe.java @@ -42,7 +42,7 @@ public void render(RenderContext context) { protected LytRect computeBoxLayout(LayoutContext context, int x, int y, int availableWidth) { workBlocks.layout(context, x + 70, y + 10, availableWidth); inputItemSlot.layout(context, x, y, availableWidth); - outputItemSlot.layout(context, x + 87, y, availableWidth); + outputItemSlot.layout(context, x + 80, y, availableWidth); return new LytRect(x, y, 162, 64); } } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/slot/LytBlockSlot.java b/src/main/java/dev/anvilcraft/guideme/guide/slot/LytBlockSlot.java index 5d6d7e5..852248d 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/slot/LytBlockSlot.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/slot/LytBlockSlot.java @@ -24,6 +24,7 @@ public class LytBlockSlot extends LytBox implements InteractiveElement { private static final int WIDTH = 16; private static final int HEIGHT = 16; + @Getter public final List blockStatePredicates; @Setter @@ -46,7 +47,9 @@ public LytBlockSlot(BlockState blockState) { for (Map.Entry, Comparable> entry : blockState.getValues().entrySet()) { Property property = entry.getKey(); Comparable value = entry.getValue(); - builder.with(property, value.toString()); + if (blockState.getBlock().defaultBlockState().getValue(property) != value) { + builder.with(property, value.toString()); + } } BlockStatePredicate predicate = builder.of(blockState.getBlock()).build(); @@ -58,7 +61,9 @@ public LytBlockSlot(List blockStatePredicates, BlockState b for (Map.Entry, Comparable> entry : blockState.getValues().entrySet()) { Property property = entry.getKey(); Comparable value = entry.getValue(); - builder.with(property, value.toString()); + if (blockState.getBlock().defaultBlockState().getValue(property) != value) { + builder.with(property, value.toString()); + } } BlockStatePredicate predicate = builder.of(blockState.getBlock()).build(); @@ -74,12 +79,17 @@ public LytBlockSlot(BlockState state1, BlockState state2) { Property property = entry.getKey(); Comparable value = entry.getValue(); builder1.with(property, value.toString()); + if (state1.getBlock().defaultBlockState().getValue(property) != value) { + builder1.with(property, value.toString()); + } } for (Map.Entry, Comparable> entry : state2.getValues().entrySet()) { Property property = entry.getKey(); Comparable value = entry.getValue(); - builder2.with(property, value.toString()); + if (state2.getBlock().defaultBlockState().getValue(property) != value) { + builder2.with(property, value.toString()); + } } BlockStatePredicate predicate1 = builder1.of(state1.getBlock()).build(); diff --git a/src/main/java/dev/anvilcraft/guideme/guide/slot/LytInputItemSlot.java b/src/main/java/dev/anvilcraft/guideme/guide/slot/LytInputItemSlot.java index b89ed24..4eb46fd 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/slot/LytInputItemSlot.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/slot/LytInputItemSlot.java @@ -38,9 +38,9 @@ protected LytRect computeLayout(LayoutContext context, int x, int y, int availab } else if (size <= 4) { return new LytRect(x + 24, y + 12, SLOT_SIZE * 2, SLOT_SIZE * 2); } else if (size <= 6) { - return new LytRect(x + 8, y + 8, SLOT_SIZE * 3, SLOT_SIZE * 2); + return new LytRect(x + 18, y + 8, SLOT_SIZE * 3, SLOT_SIZE * 2); } else { - return new LytRect(x + 8, y + 4, SLOT_SIZE * 3, SLOT_SIZE * 3); + return new LytRect(x + 18, y + 4, SLOT_SIZE * 3, SLOT_SIZE * 3); } } diff --git a/src/main/java/dev/anvilcraft/guideme/guide/slot/LytOutputItemSlot.java b/src/main/java/dev/anvilcraft/guideme/guide/slot/LytOutputItemSlot.java index 7811825..e2aac4a 100644 --- a/src/main/java/dev/anvilcraft/guideme/guide/slot/LytOutputItemSlot.java +++ b/src/main/java/dev/anvilcraft/guideme/guide/slot/LytOutputItemSlot.java @@ -33,13 +33,13 @@ public LytOutputItemSlot(List resultItems) { protected LytRect computeLayout(LayoutContext context, int x, int y, int availableWidth) { int size = resultItems.size(); if (size <= 1) { - return new LytRect(x + 32, y + 16, SLOT_SIZE, SLOT_SIZE); + return new LytRect(x + 24, y + 16, SLOT_SIZE, SLOT_SIZE); } else if (size <= 4) { return new LytRect(x + 24, y + 12, SLOT_SIZE * 2, SLOT_SIZE * 2); } else if (size <= 6) { - return new LytRect(x + 8, y + 8, SLOT_SIZE * 3, SLOT_SIZE * 2); + return new LytRect(x + 18, y + 8, SLOT_SIZE * 3, SLOT_SIZE * 2); } else { - return new LytRect(x + 8, y + 4, SLOT_SIZE * 3, SLOT_SIZE * 3); + return new LytRect(x + 18, y + 4, SLOT_SIZE * 3, SLOT_SIZE * 3); } } diff --git a/src/main/java/dev/anvilcraft/guideme/util/BlockStateUtil.java b/src/main/java/dev/anvilcraft/guideme/util/BlockStateUtil.java index 5960a6d..7e1b07e 100644 --- a/src/main/java/dev/anvilcraft/guideme/util/BlockStateUtil.java +++ b/src/main/java/dev/anvilcraft/guideme/util/BlockStateUtil.java @@ -5,6 +5,7 @@ import dev.dubhe.anvilcraft.recipe.anvil.predicate.block.HasCauldron; import dev.dubhe.anvilcraft.recipe.component.HasCauldronSimple; import dev.dubhe.anvilcraft.util.CauldronUtil; +import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.Blocks; import net.minecraft.world.level.block.state.BlockState; @@ -34,4 +35,15 @@ public static BlockState getCauldron(HasCauldronSimple hasCauldron) { return CauldronUtil.fullState(HasCauldron.getDefaultCauldron(hasCauldron.transform())); } } + + public static BlockState getCauldron(HasCauldronSimple cauldronSimple, boolean isConsume) { + Block transformCauldron = cauldronSimple.getTransformCauldron(); + BlockState cauldronState; + if (isConsume) { + cauldronState = CauldronUtil.getStateFromContentAndLevel(transformCauldron, CauldronUtil.maxLevel(transformCauldron) - 1); + } else { + cauldronState = CauldronUtil.getStateFromContentAndLevel(transformCauldron, 1); + } + return cauldronState; + } } diff --git a/src/main/resources/assets/anvilcraft_guideme/lang/zh_cn.json b/src/main/resources/assets/anvilcraft_guideme/lang/zh_cn.json index d03aa3c..34afc7b 100644 --- a/src/main/resources/assets/anvilcraft_guideme/lang/zh_cn.json +++ b/src/main/resources/assets/anvilcraft_guideme/lang/zh_cn.json @@ -1,4 +1,4 @@ { - "gui.ac_guideme.loaded": "%s 已加载!", - "gui.ac_guideme.unloaded": "%s 未加载!" + "gui.ac_guideme.mod_info.loaded": "%s 已加载!", + "gui.ac_guideme.mod_info.unloaded": "%s 未加载!" } \ No newline at end of file