You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,24 @@ Does not include mods, or most configs, only pack specific files which are used
12
12
13
13
## Contributing
14
14
15
+
For developers: If you just want to edit the text, do it in this [file](resources\createastral\lang\en_us.json) (Ponders are in this [file](kubejs\assets\ponderjs_generated\lang\en_us.json)), editing the text in other files will NOT work! If you want to add items, blocks, fluids, tooltips and everything else that contains text, please use the translation key and the [lang file](resources\createastral\lang\en_us.json).
16
+
17
+
Here's an [example](https://github.com/Laskyyy/Create-Astral/pull/389) of changing the added tooltip and some other text to a translation key. For adding a new item/block/fluid, the naming of the key in the language file needs to follow these rules.
18
+
19
+
To name keys in the [lang file](resources\createastral\lang\en_us.json) correctly, you need use the **prefix** (`item/block/fluid`) + the **namespace** of mod (such as `kubejs`,`create_astral`) + the **id** of item/block/fluid. For vaules, it's the **displayed name** instead of translation keys. There is a example.
20
+
21
+
```json
22
+
{
23
+
"item.createastral.crushed_raw_desh": "Crushed Raw Desh",
For other texts in javascript, you should use [Text Components](https://wiki.latvian.dev/books/kubejs-legacy/page/components-kubejs-and-you). There is a [example](kubejs/startup_scripts/item_tooltip.js#L402C2-L407C7).
30
+
31
+
---
32
+
15
33
This repository uses [packwiz](https://github.com/packwiz/packwiz), which allows a lightweight repository such as this to be built into a full modpack by downloading mods from Modrinth or CurseForge.
16
34
17
35
The following instructions are a simplified version of the [packwiz installer tutorial](https://packwiz.infra.link/tutorials/installing/packwiz-installer/), so if you run into any issues, you should check there.
"kubejs.ponder.set_replace_modify_tutorial.text_2": "Lava in the middle",
22
-
"kubejs.ponder.set_replace_modify_tutorial.text_3": "This is the Stone Growth Chamber",
23
-
"kubejs.ponder.set_replace_modify_tutorial.text_4": "Use an Andesite Funnel on the front or a Hopper on the bottom to output Andesite",
24
-
"kubejs.ponder.set_replace_modify_tutorial.text_5": "When built using different Polished Stone, the Stone Growth Chamber will generate different types of cobblestone",
25
-
"kubejs.ponder.set_replace_modify_tutorial.text_6": "This currently works with Andesite, and any default stone from each planet, like Moon Stone and Mars Stone.",
20
+
"kubejs.ponder.set_replace_modify_tutorial.text_1": "This is the Desizer",
21
+
"kubejs.ponder.set_replace_modify_tutorial.text_2": "The casings don\u0027t have to be accurate. This also works",
22
+
"kubejs.ponder.set_replace_modify_tutorial.text_3": "The Desizer will shrink a 3x3x3 cube of blocks down into a single item",
23
+
"kubejs.ponder.set_replace_modify_tutorial.text_4": "It\u0027s powered by Redstone. Place a button on the back of the Desizer Controller",
24
+
"kubejs.ponder.set_replace_modify_tutorial.text_5": "If it doesn\u0027t detect a valid recipe, it will just break the blocks",
26
25
"kubejs.ponder.shimmer_refinery.header": "How to create a Shimmer Refinery",
27
26
"kubejs.ponder.shimmering_stone.header": "How to create the Moon Portal",
28
27
"kubejs.ponder.shimmering_stone.text_1": "In this pack, the nether is disabled. Instead, items are spread throughout the different planets.",
29
-
"kubejs.ponder.shimmering_stone.text_2": "There is a new portal added, which takes you to the moon!"
28
+
"kubejs.ponder.shimmering_stone.text_2": "There is a new portal added, which takes you to the moon!",
"kubejs.ponder.stone_growth_chamber.text_10": "Similarly, valid glass blocks can be found by searching \u0027$createastral:stone_growth_chamber/glass_blocks\u0027",
"kubejs.ponder.stone_growth_chamber.text_4": "Lava in the middle",
35
+
"kubejs.ponder.stone_growth_chamber.text_5": "This is a completed Stone Growth Chamber",
36
+
"kubejs.ponder.stone_growth_chamber.text_6": "Use an Andesite Funnel on the front or a Hopper on the bottom to output Andesite",
37
+
"kubejs.ponder.stone_growth_chamber.text_7": "When built using different Stones, the Stone Growth Chamber will generate different types of cobblestone",
38
+
"kubejs.ponder.stone_growth_chamber.text_8": "This currently works with Stone, Andesite and any default stone from each planet, like Moon Stone and Mars Stone",
39
+
"kubejs.ponder.stone_growth_chamber.text_9": "A list of valid stone blocks can be found by searching \u0027$createastral:stone_growth_chamber/building_blocks\u0027 in REI"
0 commit comments