Skip to content

Commit 73ca56c

Browse files
committed
Merge remote-tracking branch 'origin/1.20.1' into re/1.21-with-love
2 parents ae9d716 + 14ce448 commit 73ca56c

File tree

42 files changed

+351
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+351
-143
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ name: Publish docs via GitHub Pages
22
on:
33
workflow_dispatch:
44
push:
5-
branches: [1.20.1]
5+
branches: ["1.20.1", "1.21"]
66
paths: ['docs/**']
77

88
permissions:
9-
contents: read
10-
pages: write
11-
id-token: write
9+
contents: write
1210

1311
concurrency:
1412
group: 'pages'
@@ -24,33 +22,17 @@ jobs:
2422
steps:
2523
- uses: actions/checkout@v4
2624
with:
27-
ref: '1.20.1'
28-
sparse-checkout: './docs'
25+
ref: '${{ github.ref_name }}'
26+
fetch-depth: 0
2927
- uses: actions/setup-python@v4
3028
with:
3129
python-version: '3.11'
3230
cache: 'pip'
33-
- run: pip install -r ./requirements.txt
34-
- uses: actions/cache@v4
35-
with:
36-
key: 'mkdocs-cache'
37-
path: './docs/.cache'
38-
- name: Build static files
39-
id: mkdocs
40-
run: mkdocs build
41-
- name: Upload pages as artifact
42-
id: artifact
43-
uses: actions/upload-pages-artifact@v3
44-
with:
45-
path: './docs/site/'
46-
47-
deploy:
48-
runs-on: ubuntu-latest
49-
needs: build
50-
environment:
51-
name: github-pages
52-
url: ${{ steps.deployment.outputs.page_url }}
53-
steps:
54-
- name: Deploy Pages
55-
id: deployment
56-
uses: actions/deploy-pages@v4
31+
- name: Install packages
32+
run: pip install -r ./requirements.txt
33+
- name: Set git username and password
34+
run: git config user.name 'github-actions[bot]'; git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
35+
- name: Deploy pages to gh-pages branch
36+
run: mike deploy "${{ github.ref_name }}" --push
37+
- name: Ensure 1.20.1 is the default version
38+
run: mike set-default 1.20.1 --push

docs/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,8 @@ mkdocs serve
7979
The following plugins for MkDocs are being used:
8080
- https://squidfunk.github.io/mkdocs-material/
8181
- https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin
82+
83+
## Deployment
84+
The hosted documentation is found on the `gh-pages` branch of the repository. [Mike](https://github.com/jimporter/mike) is used to deploy both the 1.20.1 and 1.21.1 documentation on the same site through Github Actions.
85+
86+
When working on the docs locally, the plain `mkdocs` commands should be used to view the changes made to the version of the docs you are currently working on, like the previously mentioned `mkdocs serve`.

docs/content/Modpacks/Other-Topics/Custom-Sounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import static com.examplemod.common.registry.ExampleRegistration.REGISTRATE;
1717

1818
public class ExampleSound {
1919

20-
public static final SoundEntry MICROVERSE = REGISTRATE.sound("microverse").build();
20+
public static final SoundEntry MICROVERSE = REGISTRATE.sound(ExampleMod.id("microverse")).build();
2121

2222
public static void init() {}
2323
}

docs/content/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ hide:
55
title: Home
66
---
77

8-
9-
# Welcome to GregTech CEu Modern's Documentation!
8+
# Welcome to GregTech CEu Modern's Documentation for 1.20.1!
109

1110
GregTech CEu Modern is a port of [GregTech Community Edition Unofficial](https://github.com/GregTechCEu/GregTech)
1211
to modern Minecraft versions.

docs/mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ extra_css:
4747
- stylesheets/extra.css
4848

4949
extra:
50+
version:
51+
provider: mike
5052
social:
5153
- icon: fontawesome/brands/discord
5254
link: https://discord.gg/bWSWuYvURP

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
mkdocs-material
22
mkdocs-awesome-pages-plugin
3+
mike

src/generated/resources/assets/gtceu/lang/en_ud.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,8 +2276,10 @@
22762276
"gtceu.display_target.computer_monitor_cover": "ɹǝʌoƆ ɹoʇıuoW ɹǝʇndɯoƆ",
22772277
"gtceu.duct_pipe.transfer_rate": "%s :ǝʇɐɹ ɹǝɟsuɐɹʇ ɹıⱯq§",
22782278
"gtceu.ender_item_link_cover.title": "ʞuıꞀ ɯǝʇI ɹǝpuƎ",
2279+
"gtceu.ender_item_link_cover.tooltip": "˙ㄥ§ɹǝʌoƆɟ§ sɐ ㄥ§uoıʇɔǝuuoƆ ɟ§ɹǝpuƎp§ ssǝןǝɹıMɟ§ ɐ ɥʇıʍ ㄥ§sɯǝʇIɟ§ sʇɹodsuɐɹ⟘ㄥ§",
22792280
"gtceu.ender_redstone_link_cover.label": "%d :ɹǝʍod ǝuoʇspǝᴚ",
22802281
"gtceu.ender_redstone_link_cover.title": "ʞuıꞀ ǝuoʇspǝᴚ ɹǝpuƎ",
2282+
"gtceu.ender_redstone_link_cover.tooltip": "˙ㄥ§ɹǝʌoƆɟ§ sɐ ㄥ§uoıʇɔǝuuoƆ ɟ§ɹǝpuƎp§ ssǝןǝɹıMɟ§ ɐ ɥʇıʍ ㄥ§sןɐubıs ǝuoʇspǝᴚɟ§ sʇıɯsuɐɹ⟘ㄥ§",
22812283
"gtceu.fluid.amount": "ᗺɯ %d/%d :ʇunoɯⱯ6§",
22822284
"gtceu.fluid.click_combined": "˙)ʞɔɐʇs ןןnɟ ɐ ɹoɟ ʞɔıןɔ-ʇɟıɥS( ʞuɐʇ ǝɥʇㄥ§ ןןıɟq§ ɹoㄥ§ ʎʇdɯǝɔ§ oʇ ɹǝuıɐʇuoƆ pınןℲ ɐ ɥʇıʍ ʞɔıןƆㄥ§",
22832285
"gtceu.fluid.click_to_empty": "˙)ʞɔɐʇs ןןnɟ ɐ ɹoɟ ʞɔıןɔ-ʇɟıɥS( ʞuɐʇ ǝɥʇㄥ§ ʎʇdɯǝɔ§ oʇ ɹǝuıɐʇuoƆ pınןℲ ɐ ɥʇıʍ ʞɔıןƆㄥ§",
@@ -2367,6 +2369,8 @@
23672369
"gtceu.gui.content.units.per_second": "s/",
23682370
"gtceu.gui.content.units.per_tick": "ʇ/",
23692371
"gtceu.gui.cover_setting.title": "sbuıʇʇǝS ɹǝʌoƆ",
2372+
"gtceu.gui.directional_setting.tab_tooltip": "buıʇʇǝS ןɐuoıʇɔǝɹıᗡ ǝbuɐɥƆ",
2373+
"gtceu.gui.directional_setting.title": "buıʇʇǝS ןɐuoıʇɔǝɹıᗡ",
23702374
"gtceu.gui.editor.group.recipe_type": "dɐɔ",
23712375
"gtceu.gui.editor.tips.citation": "suoıʇɐʇıɔ ɟo ɹǝqɯnN",
23722376
"gtceu.gui.fisher_mode.tooltip.0": "sɯǝʇı ʞunظ ǝןbbo⟘",
@@ -3457,6 +3461,10 @@
34573461
"gtceu.placeholder_info.block.0": "˙)█( ןoqɯʎs ʞɔoןq ǝɥʇ suɹnʇǝᴚ",
34583462
"gtceu.placeholder_info.block.1": ":ǝbɐs∩",
34593463
"gtceu.placeholder_info.block.2": ",█, >- }ʞɔoןq{ ",
3464+
"gtceu.placeholder_info.blockNbt.0": "ʎʇıʇuǝ ʞɔoןq ǝɥʇ ɟo ⟘ᗺN ǝɥʇ suɹnʇǝᴚ",
3465+
"gtceu.placeholder_info.blockNbt.1": ":ǝbɐs∩",
3466+
"gtceu.placeholder_info.blockNbt.2": "ʇqu ʎʇıʇuǝ ʞɔoןq ןןnɟ >- }ʇqNʞɔoןq{ ",
3467+
"gtceu.placeholder_info.blockNbt.3": "ʇqu ǝɥʇ ɟo ʇɹɐd >- }˙˙˙ ]ᄅʎǝʞ[ ]Ɩʎǝʞ[ ʇqNʞɔoןq{ ",
34603468
"gtceu.placeholder_info.bufferText.0": "ʇɟɐɹƆɹǝʇndɯoƆ ʎq ǝןqıssǝɔɔɐ ɹǝɟɟnq ɐ ɯoɹɟ ʇxǝʇ ǝɥʇ suɹnʇǝᴚ",
34613469
"gtceu.placeholder_info.bufferText.1": ":ǝbɐs∩",
34623470
"gtceu.placeholder_info.bufferText.2": ")00Ɩ-Ɩ sı ǝuıן( ǝuıן pǝıɟıɔǝds ǝɥʇ uo ɹǝɟɟnq ǝɥʇ ɯoɹɟ ʇxǝʇ >- }>ǝuıן< ʇxǝ⟘ɹǝɟɟnq{ ",
@@ -4643,6 +4651,7 @@
46434651
"item.gtceu.tool.behavior.block_rotation": "sʞɔoןᗺ sǝʇɐʇoᴚɟ§ :ɔıuɐɥɔǝWᄅ§",
46444652
"item.gtceu.tool.behavior.crop_harvesting": "sdoɹƆ sʇsǝʌɹɐHɟ§ :ɹǝʇsǝʌɹɐHɐ§",
46454653
"item.gtceu.tool.behavior.damage_boost": "%s ʇsuıɐbɐ ǝbɐɯɐp ɐɹʇxƎɟ§ :ʇsooᗺ ǝbɐɯɐᗡㄣ§",
4654+
"item.gtceu.tool.behavior.dowse_campfire": "sǝɹıɟdɯɐƆ sǝsʍoᗡɟ§ :ɹǝʇɥbıɟǝɹıℲƖ§",
46464655
"item.gtceu.tool.behavior.grass_path": "sɥʇɐԀ ssɐɹ⅁ sǝʇɐǝɹƆɟ§ :ɹǝdɐɔspuɐꞀǝ§",
46474656
"item.gtceu.tool.behavior.ground_tilling": "punoɹ⅁ sןןı⟘ɟ§ :ɹǝɯɹɐℲǝ§",
46484657
"item.gtceu.tool.behavior.plunger": "spınןℲ suıɐɹᗡɟ§ :ɹǝqɯnןԀ6§",

src/generated/resources/assets/gtceu/lang/en_us.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,8 +2276,10 @@
22762276
"gtceu.display_target.computer_monitor_cover": "Computer Monitor Cover",
22772277
"gtceu.duct_pipe.transfer_rate": "§bAir transfer rate: %s",
22782278
"gtceu.ender_item_link_cover.title": "Ender Item Link",
2279+
"gtceu.ender_item_link_cover.tooltip": "§7Transports §fItems§7 with a §fWireless §dEnder§f Connection§7 as §fCover§7.",
22792280
"gtceu.ender_redstone_link_cover.label": "Redstone power: %d",
22802281
"gtceu.ender_redstone_link_cover.title": "Ender Redstone Link",
2282+
"gtceu.ender_redstone_link_cover.tooltip": "§7Transmits §fRedstone signals§7 with a §fWireless §dEnder§f Connection§7 as §fCover§7.",
22812283
"gtceu.fluid.amount": "§9Amount: %d/%d mB",
22822284
"gtceu.fluid.click_combined": "§7Click with a Fluid Container to §cempty §7or §bfill §7the tank (Shift-click for a full stack).",
22832285
"gtceu.fluid.click_to_empty": "§7Click with a Fluid Container to §cempty §7the tank (Shift-click for a full stack).",
@@ -2367,6 +2369,8 @@
23672369
"gtceu.gui.content.units.per_second": "/s",
23682370
"gtceu.gui.content.units.per_tick": "/t",
23692371
"gtceu.gui.cover_setting.title": "Cover Settings",
2372+
"gtceu.gui.directional_setting.tab_tooltip": "Change Directional Setting",
2373+
"gtceu.gui.directional_setting.title": "Directional Setting",
23702374
"gtceu.gui.editor.group.recipe_type": "cap",
23712375
"gtceu.gui.editor.tips.citation": "Number of citations",
23722376
"gtceu.gui.fisher_mode.tooltip.0": "Toggle junk items",
@@ -3457,6 +3461,10 @@
34573461
"gtceu.placeholder_info.block.0": "Returns the block symbol (█).",
34583462
"gtceu.placeholder_info.block.1": "Usage:",
34593463
"gtceu.placeholder_info.block.2": " {block} -> '█'",
3464+
"gtceu.placeholder_info.blockNbt.0": "Returns the NBT of the block entity",
3465+
"gtceu.placeholder_info.blockNbt.1": "Usage:",
3466+
"gtceu.placeholder_info.blockNbt.2": " {blockNbt} -> full block entity nbt",
3467+
"gtceu.placeholder_info.blockNbt.3": " {blockNbt [key1] [key2] ...} -> part of the nbt",
34603468
"gtceu.placeholder_info.bufferText.0": "Returns the text from a buffer accessible by ComputerCraft",
34613469
"gtceu.placeholder_info.bufferText.1": "Usage:",
34623470
"gtceu.placeholder_info.bufferText.2": " {bufferText <line>} -> text from the buffer on the specified line (line is 1-100)",
@@ -4643,6 +4651,7 @@
46434651
"item.gtceu.tool.behavior.block_rotation": "§2Mechanic: §fRotates Blocks",
46444652
"item.gtceu.tool.behavior.crop_harvesting": "§aHarvester: §fHarvests Crops",
46454653
"item.gtceu.tool.behavior.damage_boost": "§4Damage Boost: §fExtra damage against %s",
4654+
"item.gtceu.tool.behavior.dowse_campfire": "§1Firefighter: §fDowses Campfires",
46464655
"item.gtceu.tool.behavior.grass_path": "§eLandscaper: §fCreates Grass Paths",
46474656
"item.gtceu.tool.behavior.ground_tilling": "§eFarmer: §fTills Ground",
46484657
"item.gtceu.tool.behavior.plunger": "§9Plumber: §fDrains Fluids",

src/generated/resources/data/c/tags/item/tools/igniter.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"gtceu:matches",
44
"gtceu:matchbox",
55
"gtceu:invar_lighter",
6-
"gtceu:platinum_lighter"
6+
"gtceu:platinum_lighter",
7+
"#minecraft:creeper_igniters"
78
]
89
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"values": [
3+
"gtceu:programmed_circuit"
4+
]
5+
}

0 commit comments

Comments
 (0)