Skip to content

Commit a33e2b5

Browse files
Add ad-astra planets generator (#799)
* Add ad-astra generator * Fix file path and min/max version * Actually fix path 🤦
1 parent 9afd315 commit a33e2b5

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

public/mcdoc/ad_astra.mcdoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
dispatch minecraft:resource[ad_astra:planets] to struct AdAstraPlanet {
3+
/// The dimension id for this planet to use
4+
dimension: #[id="dimension"] string,
5+
/// Due to floating point precision, the actual gravity may be slightly off in-game
6+
gravity: float @ 0..,
7+
/// The orbit dimension id. If left blank, this planet is treated as an orbit dimension
8+
orbit?: #[id="dimension"] string,
9+
oxygen: boolean,
10+
solar_power: int @ 1..,
11+
/// Controls where the planet will be on the selector screen
12+
solar_system: #[id="dimension"] string,
13+
/// Below -50 will freeze, above 70 will burn
14+
temperature: int,
15+
/// The minimum rocket tier required to reach this planet
16+
tier: int @ 1..,
17+
/// Additional dimensions that the player can launch from
18+
additional_launch_dimensions: [#[id="dimension"] string]
19+
}

src/config.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,16 @@
704704
"minVersion": "1.21.2",
705705
"wiki": "https://minecraft.wiki/w/Shader#Post-processing_effects"
706706
},
707+
{
708+
"id": "ad_astra:planets",
709+
"url": "ad-astra/planets",
710+
"path": "planets",
711+
"tags": ["partners"],
712+
"dependency": "ad_astra",
713+
"minVersion": "1.20",
714+
"maxVersion": "1.20.3",
715+
"wiki": "https://ad-astra.terrarium.wiki/datapack.html"
716+
},
707717
{
708718
"id": "fabric:fabric_mod_json",
709719
"url": "fabric/fabric-mod-json",

src/locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"generate_new_color": "Generate new color",
6262
"generate_new_seed": "Generate new seed",
6363
"generate_new_uuid": "Generate new UUID",
64+
"generator.ad_astra:planets": "Ad Astra Planet",
6465
"generator.advancement": "Advancement",
6566
"generator.atlas": "Atlas",
6667
"generator.banner_pattern": "Banner Pattern",
@@ -212,6 +213,7 @@
212213
"normalize": "Normalize",
213214
"not_found.description": "The page you were looking for does not exist.",
214215
"output_settings": "Output settings",
216+
"partner.ad_astra": "Ad Astra",
215217
"partner.create": "Create",
216218
"partner.fabric": "Fabric",
217219
"partner.immersive_weathering": "Immersive Weathering",

0 commit comments

Comments
 (0)