Compare commits
2 commits
2edfc15844
...
c0112e54e0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0112e54e0 | ||
|
|
31225dfdf0 |
8
TODO.md
8
TODO.md
|
|
@ -10,14 +10,6 @@ Start by creating a list of needed mods
|
||||||
|
|
||||||
## Datapack
|
## Datapack
|
||||||
|
|
||||||
* Worldgen
|
|
||||||
* Ores
|
|
||||||
* Overworld (gold/iron/etc)
|
|
||||||
* geophilic
|
|
||||||
* install
|
|
||||||
* disable rocks
|
|
||||||
* Amplified nether
|
|
||||||
* Amplified nether height
|
|
||||||
* Recipes
|
* Recipes
|
||||||
* Antique Atlas/alternative mod
|
* Antique Atlas/alternative mod
|
||||||
* Advancements
|
* Advancements
|
||||||
|
|
|
||||||
|
|
@ -232,6 +232,21 @@
|
||||||
"sha512": "45403bbdbe35c27b9bd9beb720f0299d652144a99a841b205fdc123dc5475d707ec7a8c9e21352a7f1064fdfbcc16e0b838c854bd97cd48771623c8995c9a21e"
|
"sha512": "45403bbdbe35c27b9bd9beb720f0299d652144a99a841b205fdc123dc5475d707ec7a8c9e21352a7f1064fdfbcc16e0b838c854bd97cd48771623c8995c9a21e"
|
||||||
},
|
},
|
||||||
"path": "mods/ikwid-1.0_1.21.jar"
|
"path": "mods/ikwid-1.0_1.21.jar"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"downloads": [
|
||||||
|
"https://cdn.modrinth.com/data/hl5OLM95/versions/Vk4cYx6F/Geophilic v3.4.6.mod.jar"
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"client": "required",
|
||||||
|
"server": "required"
|
||||||
|
},
|
||||||
|
"fileSize": 751598,
|
||||||
|
"hashes": {
|
||||||
|
"sha1": "cea812a101e7dd130d130ca43d7ee4d1a227cbd5",
|
||||||
|
"sha512": "5d0ac03046a6524f015c6c380e5fce59d8b763eec5fd5b6b301d67418d25a726088e94d96381ec577425d03f7d70c3b711cfd13eea29e7a48a02e95a5fb11065"
|
||||||
|
},
|
||||||
|
"path": "mods/Geophilic v3.4.6.mod.jar"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,17 @@ function urldecode() {
|
||||||
|
|
||||||
# Get file name from url trimmed by slash and url decoded
|
# Get file name from url trimmed by slash and url decoded
|
||||||
mod_file="$(urldecode ${mod_url##*/})"
|
mod_file="$(urldecode ${mod_url##*/})"
|
||||||
trap "rm ${mods_dir}/${mod_file}" HUP INT TERM EXIT
|
trap "rm \"${mods_dir}/${mod_file}\"" HUP INT TERM EXIT
|
||||||
echo "Downloading file..."
|
echo "Downloading file..."
|
||||||
wget -N --no-verbose --directory-prefix "$mods_dir" "$mod_url"
|
wget -N --no-verbose --directory-prefix "$mods_dir" "$mod_url"
|
||||||
|
|
||||||
|
# Exit if download failed
|
||||||
|
if [ $? != "0" ]; then
|
||||||
|
echo "$0: Could not download mod from provided URL"
|
||||||
|
trap "" HUP INT TERM EXIT # Unset trap as there's no file to delete
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Collect data required by modrinth.index.json
|
# Collect data required by modrinth.index.json
|
||||||
echo "Processing file info"
|
echo "Processing file info"
|
||||||
mod_path="${mods_dir}/${mod_file}"
|
mod_path="${mods_dir}/${mod_file}"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:replace_single_block",
|
||||||
|
"config": {
|
||||||
|
"targets": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:replace_single_block",
|
||||||
|
"config": {
|
||||||
|
"targets": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:replace_single_block",
|
||||||
|
"config": {
|
||||||
|
"targets": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:replace_single_block",
|
||||||
|
"config": {
|
||||||
|
"targets": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:replace_single_block",
|
||||||
|
"config": {
|
||||||
|
"targets": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:replace_single_block",
|
||||||
|
"config": {
|
||||||
|
"targets": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:replace_single_block",
|
||||||
|
"config": {
|
||||||
|
"targets": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:replace_single_block",
|
||||||
|
"config": {
|
||||||
|
"targets": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:ore",
|
||||||
|
"config": {
|
||||||
|
"discard_chance_on_air_exposure": 1.0,
|
||||||
|
"size": 9,
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"state": {
|
||||||
|
"Name": "minecraft:iron_ore"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"predicate_type": "minecraft:tag_match",
|
||||||
|
"tag": "minecraft:stone_ore_replaceables"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"state": {
|
||||||
|
"Name": "minecraft:deepslate_iron_ore"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"predicate_type": "minecraft:tag_match",
|
||||||
|
"tag": "minecraft:deepslate_ore_replaceables"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"feature": "minecraft:ore_coal",
|
||||||
|
"placement": [
|
||||||
|
{"type": "minecraft:count", "count": 1},
|
||||||
|
{"type": "minecraft:in_square"},
|
||||||
|
{
|
||||||
|
"type": "minecraft:height_range",
|
||||||
|
"height": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"min_inclusive": {"above_bottom": 0},
|
||||||
|
"max_inclusive": {"above_bottom": 9}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{"type": "minecraft:biome"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:ore",
|
||||||
|
"config": {
|
||||||
|
"discard_chance_on_air_exposure": 0.5,
|
||||||
|
"size": 3,
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"state": {
|
||||||
|
"Name": "minecraft:gold_ore"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"predicate_type": "minecraft:tag_match",
|
||||||
|
"tag": "minecraft:stone_ore_replaceables"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"state": {
|
||||||
|
"Name": "minecraft:deepslate_gold_ore"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"predicate_type": "minecraft:tag_match",
|
||||||
|
"tag": "minecraft:deepslate_ore_replaceables"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:ore",
|
||||||
|
"config": {
|
||||||
|
"discard_chance_on_air_exposure": 0.7,
|
||||||
|
"size": 5,
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"state": {
|
||||||
|
"Name": "minecraft:gold_ore"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"predicate_type": "minecraft:tag_match",
|
||||||
|
"tag": "minecraft:stone_ore_replaceables"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"state": {
|
||||||
|
"Name": "minecraft:deepslate_gold_ore"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"predicate_type": "minecraft:tag_match",
|
||||||
|
"tag": "minecraft:deepslate_ore_replaceables"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"type": "minecraft:ore",
|
||||||
|
"config": {
|
||||||
|
"discard_chance_on_air_exposure": 0.2,
|
||||||
|
"size": 7,
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"state": {
|
||||||
|
"Name": "minecraft:iron_ore"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"predicate_type": "minecraft:tag_match",
|
||||||
|
"tag": "minecraft:stone_ore_replaceables"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"state": {
|
||||||
|
"Name": "minecraft:deepslate_iron_ore"
|
||||||
|
},
|
||||||
|
"target": {
|
||||||
|
"predicate_type": "minecraft:tag_match",
|
||||||
|
"tag": "minecraft:deepslate_ore_replaceables"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"op": "add",
|
||||||
|
"path": "/ore_veins_enabled",
|
||||||
|
"value": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"op": "add",
|
||||||
|
"path": "/ore_veins_enabled",
|
||||||
|
"value": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"op": "add",
|
||||||
|
"path": "/ore_veins_enabled",
|
||||||
|
"value": false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"feature": "minecraft:ore_gold_buried",
|
||||||
|
"placement": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:count",
|
||||||
|
"count": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:in_square"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:height_range",
|
||||||
|
"height": {
|
||||||
|
"type": "minecraft:trapezoid",
|
||||||
|
"max_inclusive": {
|
||||||
|
"absolute": 8
|
||||||
|
},
|
||||||
|
"min_inclusive": {
|
||||||
|
"above_bottom": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:biome"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"feature": "minecraft:ore_gold",
|
||||||
|
"placement": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:count",
|
||||||
|
"count": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:in_square"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:height_range",
|
||||||
|
"height": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max_inclusive": {
|
||||||
|
"absolute": 8
|
||||||
|
},
|
||||||
|
"min_inclusive": {
|
||||||
|
"above_bottom": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:biome"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"feature": "minecraft:ore_gold_buried",
|
||||||
|
"placement": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:count",
|
||||||
|
"count": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:in_square"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:height_range",
|
||||||
|
"height": {
|
||||||
|
"type": "minecraft:trapezoid",
|
||||||
|
"max_inclusive": {
|
||||||
|
"absolute": -16
|
||||||
|
},
|
||||||
|
"min_inclusive": {
|
||||||
|
"above_bottom": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:biome"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"feature": "minecraft:ore_iron_small",
|
||||||
|
"placement": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:count",
|
||||||
|
"count": 12
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:in_square"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:height_range",
|
||||||
|
"height": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"max_inclusive": {
|
||||||
|
"absolute": 62
|
||||||
|
},
|
||||||
|
"min_inclusive": {
|
||||||
|
"above_bottom": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:biome"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"feature": "mc_rebalance:ore_iron_upper",
|
||||||
|
"placement": [
|
||||||
|
{
|
||||||
|
"type": "minecraft:count",
|
||||||
|
"count": 90
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:in_square"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:height_range",
|
||||||
|
"height": {
|
||||||
|
"type": "minecraft:trapezoid",
|
||||||
|
"max_inclusive": {
|
||||||
|
"absolute": 384
|
||||||
|
},
|
||||||
|
"min_inclusive": {
|
||||||
|
"absolute": 80
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "minecraft:biome"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"feature": "minecraft:ore_redstone",
|
||||||
|
"placement": [
|
||||||
|
{"type": "minecraft:count","count": 13},
|
||||||
|
{"type": "minecraft:in_square"},
|
||||||
|
{
|
||||||
|
"type": "minecraft:height_range",
|
||||||
|
"height": {
|
||||||
|
"type": "minecraft:uniform",
|
||||||
|
"min_inclusive": {"above_bottom": 0},
|
||||||
|
"max_inclusive": {"above_bottom": 9}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{"type": "minecraft:biome"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -9,7 +9,17 @@
|
||||||
"patch_targets": [
|
"patch_targets": [
|
||||||
{
|
{
|
||||||
"pack_type": "server_data",
|
"pack_type": "server_data",
|
||||||
"patch": "nether_ores",
|
"patch": "coal_ore_lowest",
|
||||||
|
"targets": [{
|
||||||
|
"namespace": ["minecraft"],
|
||||||
|
"path": [
|
||||||
|
{"pattern": "worldgen/biome/.*\\.json"}
|
||||||
|
]
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pack_type": "server_data",
|
||||||
|
"patch": "nether_diamond_ore",
|
||||||
"targets": [{
|
"targets": [{
|
||||||
"namespace": ["minecraft"],
|
"namespace": ["minecraft"],
|
||||||
"path": [
|
"path": [
|
||||||
|
|
@ -23,7 +33,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"pack_type": "server_data",
|
"pack_type": "server_data",
|
||||||
"patch": "end_ores",
|
"patch": "end_netherite_ore",
|
||||||
"targets": [{
|
"targets": [{
|
||||||
"namespace": ["minecraft"],
|
"namespace": ["minecraft"],
|
||||||
"path": [
|
"path": [
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"op": "test",
|
||||||
|
"path": "/features/6/10",
|
||||||
|
"value": "minecraft:ore_coal_lower"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"op": "add",
|
||||||
|
"path": "/features/6/-",
|
||||||
|
"value": "mc_rebalance:ore_coal_lowest"
|
||||||
|
}
|
||||||
|
]
|
||||||
Loading…
Reference in a new issue