-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modular Routers 官中拉取,翻译更新、修正 (#2051)
* [R] Modular Routers 翻译增加 * 优化翻译 * 更新部分key * 1.18 官中拉取,翻译增加、改进 * 全部规范化 * 第一次修正 * 增加帕秋莉文本 * mod -> 模组 * 修整空格 * 第二次修订;帕秋莉翻译提交 * 1.16 翻译修改,格式优化 * 1.18 翻译修改、格式优化 * 翻译修改、优化 * 帕秋莉汉化更改 * 帕秋莉同步译名 * 缓冲区->缓存区 * 提交1.19版本汉化 * 修复错误 * fix * 红石信号充能方式 * fix patchouli * fix * fix patchouli * fix
- Loading branch information
Showing
369 changed files
with
8,613 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
357 changes: 356 additions & 1 deletion
357
projects/1.16/assets/modular-routers/modularrouters/lang/zh_cn.json
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
projects/1.16/assets/modular-routers/modularrouters/patchouli_books/book/book.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "modularrouters.patchouli.book.name", | ||
"landing_text": "modularrouters.patchouli.book.landing", | ||
"creative_tab": "modularrouters", | ||
"version": 1, | ||
"model": "modularrouters:manual", | ||
"book_texture": "patchouli:textures/gui/book_blue.png", | ||
"macros": { | ||
"$(modr)": "$(#228)Modular Routers$()", | ||
"$(ttcolor)": "$(#880)" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...assets/modular-routers/modularrouters/patchouli_books/book/en_us/categories/augments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Augments", | ||
"description": "Module Augments can be installed in Modules to enhance or extend their functionality", | ||
"icon": "modularrouters:xp_vacuum_augment", | ||
"sortnum": 4 | ||
} |
6 changes: 6 additions & 0 deletions
6
.../assets/modular-routers/modularrouters/patchouli_books/book/en_us/categories/filters.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Smart Filters", | ||
"description": "Smart Filters are a group of filter items, which can be placed in any module's filter slots instead of a normal item, and provide more sophisticated item matching features.", | ||
"icon": "modularrouters:bulk_item_filter", | ||
"sortnum": 5 | ||
} |
6 changes: 6 additions & 0 deletions
6
...16/assets/modular-routers/modularrouters/patchouli_books/book/en_us/categories/intro.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Introduction", | ||
"description": "Welcome to $(modr) !", | ||
"icon": "minecraft:knowledge_book", | ||
"sortnum": 0 | ||
} |
6 changes: 6 additions & 0 deletions
6
.../assets/modular-routers/modularrouters/patchouli_books/book/en_us/categories/modules.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Modules", | ||
"description": "Modules are placed into an Modular Router and define the router's functionality.", | ||
"icon": "modularrouters:sender_module_1", | ||
"sortnum": 2 | ||
} |
6 changes: 6 additions & 0 deletions
6
...6/assets/modular-routers/modularrouters/patchouli_books/book/en_us/categories/router.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Modular Router", | ||
"description": "The Modular Router is the only block in the $(modr) mod.", | ||
"icon": "modularrouters:item_router", | ||
"sortnum": 1 | ||
} |
6 changes: 6 additions & 0 deletions
6
...assets/modular-routers/modularrouters/patchouli_books/book/en_us/categories/upgrades.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "Upgrades", | ||
"description": "Upgrades can be installed in an Modular Router to enhance or modify its functionality.", | ||
"icon": "modularrouters:speed_upgrade", | ||
"sortnum": 3 | ||
} |
15 changes: 15 additions & 0 deletions
15
...dular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/fast_pickup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Fast Pickup Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:fast_pickup_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment can only be added to the $(l:modules/vacuum)Vacuum Module/$. It allows the Vacuum Module to ignore the normal pickup delay on dropped items - 40 ticks for items dropped by players, and 10 ticks for items dropped by other means (e.g. sheep shearing) - and pick up items as soon as it sees them.$(p)A max of one Fast Pickup Augment can be added." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:fast_pickup_augment" | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...ets/modular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/mimic.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Mimic Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:mimic_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment can only be added to the $(l:modules/extruder_2)Extruder Module Mk2/$.$(p)When present, any fake blocks extruded by the module take on the properties of the faked block, e.g. $(item)Obsidian/$ is hard to break, $(item)Glowstone/$ emits light, and $(item)Redstone Blocks/$ emit a redstone signal." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:mimic_augment" | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...ular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/pickup_delay.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Pickup Delay Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:pickup_delay_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment can only be added to the $(l:modules/dropper)Dropper/$ and $(l:modules/flinger)Flinger/$ modules.$(p)It can be stacked; each augment added will increase the pickup delay on dropped/flung items by 10 ticks (0.5 sec). This can be useful if you don't want players accidentally picking up nearby dropped items, for example." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:pickup_delay_augment" | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
...s/modular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/pushing.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Pushing Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:pushing_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment can only be added to the $(l:modules/extruder_1)Extruder Mk1/$ and $(l:modules/extruder_2)Extruder Mk2/$ modules.$(p)It can be stacked; each augment increases the force that entities are shoved when the module extrudes a block." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:pushing_augment" | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
...odular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/range_down.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "Range Down Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:range_down_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment can be added to any module which has a range (Sender $(l:modules/sender_1)Mk1/$ / $(l:modules/sender_2)Mk2/$, Puller $(l:modules/puller_1)Mk1/$ / $(l:modules/puller_2)Mk2/$, Extruder $(l:modules/extruder_1)Mk1/$ / $(l:modules/extruder_2)Mk2/$, $(l:modules/fluid_2)Fluid Mk2/$, $(l:modules/vacuum)Vacuum/$).$(p)It can be stacked; each augment will reduce the range of the module by one block.$(p)This is probably only useful in conjunction with the $(l:modules/vacuum)Vacuum Module/$, to control the range it scans for items." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:range_down_augment", | ||
"recipe2": "modularrouters:range_down_from_up" | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
.../modular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/range_up.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "Range Up Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:range_up_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment can be added to any module which has a range (Sender $(l:modules/sender_1)Mk1/$ / $(l:modules/sender_2)Mk2/$, Puller $(l:modules/puller_1)Mk1/$ / $(l:modules/puller_2)Mk2/$, Extruder $(l:modules/extruder_1)Mk1/$ / $(l:modules/extruder_2)Mk2/$, $(l:modules/fluid_2)Fluid Mk2/$, $(l:modules/vacuum)Vacuum/$).$(p)It can be stacked; each augment will increase the range of the module by one block." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:range_up_augment", | ||
"recipe2": "modularrouters:range_up_from_down" | ||
} | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
.../modular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/redstone.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Redstone Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:redstone_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment can be added to any module.$(p)Normally, modules are run when the router runs, no questions asked. However, if this augment is added to a module, that module can define its own redstone behaviour; an extra button is added to the module's GUI to control this." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:redstone_augment" | ||
} | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
...modular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/regulator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "Regulator Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:regulator_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment allows for precise control over how many items may be sent to or pulled from an inventory, or the router's buffer.$(p)When a module has a Regulator Augment, you will see an extra numeric textfield in its GUI where you can configure a limit. This limit is interpreted differently depending on the particular module:" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "$(li)For the Sender $(l:modules/sender_1)Mk1/$ / $(l:modules/sender_2)Mk2/$ / $(l:modules/sender_3)Mk3/$ Modules and $(l:modules/player)Player Module/$ (in insert mode), the modules will only send an item to the inventory if there are fewer than the configured number of that item already in the inventory.$(li)For the Puller $(l:modules/puller_1)Mk1/$ / $(l:modules/puller_2)Mk2/$ and $(l:modules/player)Player Module/$ (in extract mode), the modules will only pull an item from the inventory if there are more than the configured number of that item in the inventory." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "$(li)For the $(l:modules/dropper)Dropper/$, $(l:modules/flinger)Flinger/$, $(l:modules/placer)Placer/$ & $(l:modules/void)Void/$ Modules, the modules will only run if there are more than the configured number of that item in the router's buffer.$(li)For the $(l:modules/breaker)Breaker/$ & $(l:modules/vacuum)Vacuum/$ Modules, the modules will only run if there are fewer than the configured number of that item in the router's buffer." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "$(li)For the Fluid $(l:modules/fluid)Mk1/$ / $(l:modules/fluid_2)Mk2/$ modules, the limit can be a percentage of the target tank's capacity or an absolute amount in mB (selectable in the GUI) rather than a number of items. When pulling fluid, the module will only run if there is $(italic)more/$ fluid in the target than the configured amount; when pushing fluid, it will only run if there is $(italic)less/$ fluid than the configured amount." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:regulator_augment" | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
...ets/modular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/stack.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "Stack Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:stack_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This module can be added to any module which handles $(italic)items/$ (as opposed to $(italic)blocks/$, $(italic)fluids/$ or $(italic)energy/$).$(p)Adding Stack Augments to a module increases the number of items it can process per tick; each Stack Augment doubles the number of items, up to a maximum of the item's natural stack size (64 for most items)." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "If the $(l:router/item_router)router/$ also has $(l:upgrades/stack)Stack Upgrades/$ installed, the module's Stack Augments will override that; e.g. if a router has 6 Stack Upgrades, and a module has 2 Stack Augments, the module will process 4 items per tick, not 64." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:stack_augment" | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
...modular-routers/modularrouters/patchouli_books/book/en_us/entries/augments/xp_vacuum.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "XP Vacuum Augment", | ||
"category": "augments", | ||
"icon": "modularrouters:xp_vacuum_augment", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This augment can only be added to a $(l:modules/vacuum)Vacuum Module/$.$(p)When this augment is added, the Vacuum Module will absorb experience orbs instead of items. The orbs will be converted into $(item)Bottles o' Enchanting/$ at the rate of 7XP per bottle (which is the average amount of XP gained by breaking a Bottle o' Enchanting)." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "Depending on what other mods are installed, it might also be possible to convert orbs into XP fluids. This requires that either a fluid-containing tank is in the router's buffer, or adjacent to the router. In the latter case, ensure that the $(bold)Eject/$ button is enabled in the Vacuum Module's GUI." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:xp_vacuum_augment" | ||
} | ||
] | ||
} |
27 changes: 27 additions & 0 deletions
27
.../modular-routers/modularrouters/patchouli_books/book/en_us/entries/filters/bulk_item.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "Bulk Item Filter", | ||
"category": "filters", | ||
"icon": "modularrouters:bulk_item_filter", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This filter allows for high-performance matching of up to 54 different items, including optional NBT matching. The Bulk Item Filter can be configured in a few different ways:$(p)$(li)$(thing)Sneak+Right-click/$ the filter against any inventory to merge a copy of that inventory's contents into the filter." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "$(li)$(thing)Right-click/$ the filter to open a GUI showing the items currently in the filter. You can add (ghost copies of) items to the filter here, click items to remove them, or press the red $(bold)$(4)X/$ button to clear the filter completely." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "$(li)When the filter is in a module that is in a router, you can open the filter's GUI by middle-clicking it, or pressing $(bold)$(4)[$(k:modularrouters.configure)]/$ over it.$(p)$(bold)If/$ the module has a valid inventory targeted, two extra buttons appear on the GUI: a green $(bold)$(2)+/$ button to $(italic)merge/$ the target inventory's items, and a blue $(bold)$(1)=/$ button to $(italic)load/$ the target inventory's items (overwriting the filter's current contents)." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "This last configuration method is particularly useful combined with a $(l:modules/sender_2)Sender Module/$ to implement a sorting system, since the Bulk Item Filter will remember what should be in an inventory, even if the actual inventory later gets emptied." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:bulk_item_filter" | ||
} | ||
] | ||
} |
23 changes: 23 additions & 0 deletions
23
...modular-routers/modularrouters/patchouli_books/book/en_us/entries/filters/inspection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Inspection Filter", | ||
"category": "filters", | ||
"icon": "modularrouters:inspection_filter", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This filter allows for matching of items by various miscellaneous integer properties of the item. The current inspections supported are:$(li)For fluid container items (buckets, tanks...), the fluid level as a percentage.$(li)For energy container items (batteries, powered tools...), the energy level as a percentage." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "$(li)The highest enchantment level of enchantments on the item (can be used to filter out enchanted items, e.g. from a mob farm)$(li)The durability of items (tools, weapons) as a percentage of the max durability.$(li)For edible items, the food value as the number of half-shanks restored (e.g. steak has a value of 8)." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "For items which don't have the inspected property at all, the returned value will always be -1, e.g. a piece of $(item)Cobblestone/$ has a durability value of -1. This is distinct from a 0 return, since a tool with <1% durability remaining would return a value of 0.$(p)This filter can be useful to automatically pull out damaged or discharged items for repair/recharging, etc." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:inspection_filter" | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
...assets/modular-routers/modularrouters/patchouli_books/book/en_us/entries/filters/mod.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "Mod Filter", | ||
"category": "filters", | ||
"icon": "modularrouters:mod_filter", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This filter allows for matching of items by the mod they belong to. Up to 6 mods can be added per installed filter.$(li)$(thing)Right-click/$ the filter to open its GUI (or $(thing)middle-click/$ / press $(bold)$(4)[$(k:modularrouters.configure)]/$ on a filter which is installed in a module)." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "$(li)Drop any item into the item slot in the top-left corner of the GUI. The item's mod name will be displayed to the right. Click the $(bold)$(2)+/$ button to add it to the mod list below.$(li)Click the red $(bold)$(4)X/$ button beside an entry to remove that mod from the list.$(p)Vanilla items can be added too, and their \"mod\" will be shown as $(italic)Minecraft/$." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:mod_filter" | ||
} | ||
] | ||
} |
34 changes: 34 additions & 0 deletions
34
...sets/modular-routers/modularrouters/patchouli_books/book/en_us/entries/filters/regex.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "Regex Filter", | ||
"category": "filters", | ||
"icon": "modularrouters:regex_filter", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "This filter allows for matching of blocks and items with a regular expression, against the item's $(strong)registry name/$. Regular expressions are very powerful, but take some learning to unlock their full potential. However, basic regex usage isn't too difficult. There are many websites with tutorial information on regular expressions, e.g. $(l:https://regexone.com/)RegexOne/$." | ||
}, | ||
{ | ||
"type": "text", | ||
"title": "Registry Names", | ||
"text": "Because item filtering is done purely on the server, it can't know for sure what an item's displayed text is. Therefore, all filtering matches are made against the item's internal $(thing)registry name/$. You can find this registry name by toggling on advanced tooltip display with $(thing)F3+H/$.$(p)Note that matching is done against only the part of the registry name $(italic)after/$ the colon." | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "$(thing)To open the module GUI, $(thing)right-click/$ the filter, or $(thing)middle-click/$ / press $(bold)$(4)[$(k:modularrouters.configure)]/$ on a filter which is installed in a module.$(li)Type your regex into the textfield at the top, and hit $(thing)Return/$ or click the green $(bold)$(2)+/$ button. Your regex will be added to the list, assuming its syntax is valid. You can have up to 6 entries in one filter.$(li)Click the red $(bold)$(4)X/$ next to any regex to remove it from the list.$(li)Matches are case-insensitive." | ||
}, | ||
{ | ||
"type": "text", | ||
"title": "Example 1", | ||
"text": "A regex of 'ore' will match any items with 'ore' in their registry name (\"iron_ore\", \"gold_ore\", \"redstone_ore\"). Unfortunately, it will also match \"drill_core\", but you can avoid this by using a regex of $(1)_ore/$. To be even more specific, you could use $(1)_ore$/$, which also ensures that the string \"_ore\" is at the end of the item's registry name." | ||
}, | ||
{ | ||
"type": "text", | ||
"title": "Example 2", | ||
"text": "Configure a $(l:modules/player)Player Module/$ to extract from the player's main inventory, and put a regex filter containing $(1)_ore/$ in the module. This can be used to extract any ores from your inventory, regardless of where you are, into your ore processing system; very handy if you're mining far from your base and you want ores that you've mined to be sent home immediately." | ||
}, | ||
{ | ||
"type": "crafting", | ||
"recipe": "modularrouters:regex_filter" | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
...ets/modular-routers/modularrouters/patchouli_books/book/en_us/entries/intro/augments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "Augments", | ||
"icon": "modularrouters:augment_core", | ||
"category": "intro", | ||
"pages": [ | ||
{ | ||
"type": "text", | ||
"text": "$(thing)Augments/$ are like $(l:intro/upgrades)upgrades/$ but are inserted into a $(l:intro/modules)module/$ rather than a $(l:intro/item_router)Modular Router/$. Each module has slots for 4 augments (some augments can be stacked). Augments enhance or extend a module's functionality in various ways." | ||
}, | ||
{ | ||
"type": "image", | ||
"images": [ | ||
"modularrouters:textures/patchouli/augments.png" | ||
], | ||
"text": "$(italic)A Vacuum Module with 6 Range Up augments and an XP Vacuum augment/$", | ||
"border": true | ||
} | ||
] | ||
} |
Oops, something went wrong.