Correcting and extending vanillatweaks example (#2013)

This commit is contained in:
Yorick Bosman
2023-03-17 20:24:16 +01:00
committed by GitHub
parent 8ae707954b
commit f2b3f6ea48
4 changed files with 39 additions and 1 deletions

View File

@@ -25,3 +25,19 @@ services:
VERSION: ${MINECRAFT_VERSION:-LATEST}
VANILLATWEAKS_SHARECODE: MGr52E
REMOVE_OLD_VANILLATWEAKS: "TRUE"
vanillatweaks_file_datapacks_and_resourcepacks_and_craftingtweaks:
# port is set to 25567 to not conflict with vanillatweaks_file example
restart: "no"
image: itzg/minecraft-server
ports:
- "25567:25565/tcp"
environment:
EULA: "TRUE"
VERSION: ${MINECRAFT_VERSION:-LATEST}
VANILLATWEAKS_FILE: /config/vanillatweaks-datapacks.json,/config/vanillatweaks-resourcepacks.json,/config/vanillatweaks-craftingtweaks.json
REMOVE_OLD_VANILLATWEAKS: "TRUE"
volumes:
- data:/data
- ./vanillatweaks-datapacks.json:/config/vanillatweaks-datapacks.json:ro
- ./vanillatweaks-resourcepacks.json:/config/vanillatweaks-resourcepacks.json:ro
- ./vanillatweaks-craftingtweaks.json:/config/vanillatweaks-craftingtweaks.json:ro

View File

@@ -0,0 +1,12 @@
{
"type": "craftingtweaks",
"version": "1.18",
"packs": {
"quality of life": [
"dropper to dispenser",
"double slabs",
"back to blocks"
]
},
"result": "ok"
}

View File

@@ -1,4 +1,5 @@
{
"type": "datapacks",
"version": "1.18",
"packs": {
"survival": [
@@ -11,5 +12,6 @@
"coordinates hud"
],
"items": ["armored elytra"]
}
},
"result": "ok"
}

View File

@@ -0,0 +1,8 @@
{
"type": "resourcepacks",
"version": "1.18",
"packs": {
"aesthetic": ["CherryPicking", "BlackNetherBricks", "AlternateBlockDestruction"]
},
"result": "ok"
}