Skip to content

Commit f2b3f6e

Browse files
authored
Correcting and extending vanillatweaks example (#2013)
1 parent 8ae7079 commit f2b3f6e

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

examples/vanilla-tweaks/docker-compose.yml

+16
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,19 @@ services:
2525
VERSION: ${MINECRAFT_VERSION:-LATEST}
2626
VANILLATWEAKS_SHARECODE: MGr52E
2727
REMOVE_OLD_VANILLATWEAKS: "TRUE"
28+
vanillatweaks_file_datapacks_and_resourcepacks_and_craftingtweaks:
29+
# port is set to 25567 to not conflict with vanillatweaks_file example
30+
restart: "no"
31+
image: itzg/minecraft-server
32+
ports:
33+
- "25567:25565/tcp"
34+
environment:
35+
EULA: "TRUE"
36+
VERSION: ${MINECRAFT_VERSION:-LATEST}
37+
VANILLATWEAKS_FILE: /config/vanillatweaks-datapacks.json,/config/vanillatweaks-resourcepacks.json,/config/vanillatweaks-craftingtweaks.json
38+
REMOVE_OLD_VANILLATWEAKS: "TRUE"
39+
volumes:
40+
- data:/data
41+
- ./vanillatweaks-datapacks.json:/config/vanillatweaks-datapacks.json:ro
42+
- ./vanillatweaks-resourcepacks.json:/config/vanillatweaks-resourcepacks.json:ro
43+
- ./vanillatweaks-craftingtweaks.json:/config/vanillatweaks-craftingtweaks.json:ro
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"type": "craftingtweaks",
3+
"version": "1.18",
4+
"packs": {
5+
"quality of life": [
6+
"dropper to dispenser",
7+
"double slabs",
8+
"back to blocks"
9+
]
10+
},
11+
"result": "ok"
12+
}

examples/vanilla-tweaks/vanillatweaks-datapacks.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "datapacks",
23
"version": "1.18",
34
"packs": {
45
"survival": [
@@ -11,5 +12,6 @@
1112
"coordinates hud"
1213
],
1314
"items": ["armored elytra"]
14-
}
15+
},
16+
"result": "ok"
1517
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"type": "resourcepacks",
3+
"version": "1.18",
4+
"packs": {
5+
"aesthetic": ["CherryPicking", "BlackNetherBricks", "AlternateBlockDestruction"]
6+
},
7+
"result": "ok"
8+
}

0 commit comments

Comments
 (0)