Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions examples/vanilla-tweaks/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,19 @@ services:
VERSION: ${MINECRAFT_VERSION:-LATEST}
VANILLATWEAKS_SHARECODE: MGr52E
REMOVE_OLD_VANILLATWEAKS: "TRUE"
vanillatweaks_file_datapacks_and_resourcepacks_and_craftingtweaks:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I had noticed before this example file was one big list of services 😀

# 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
12 changes: 12 additions & 0 deletions examples/vanilla-tweaks/vanillatweaks-craftingtweaks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "craftingtweaks",
"version": "1.18",
"packs": {
"quality of life": [
"dropper to dispenser",
"double slabs",
"back to blocks"
]
},
"result": "ok"
}
4 changes: 3 additions & 1 deletion examples/vanilla-tweaks/vanillatweaks-datapacks.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"type": "datapacks",
"version": "1.18",
"packs": {
"survival": [
Expand All @@ -11,5 +12,6 @@
"coordinates hud"
],
"items": ["armored elytra"]
}
},
"result": "ok"
}
8 changes: 8 additions & 0 deletions examples/vanilla-tweaks/vanillatweaks-resourcepacks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "resourcepacks",
"version": "1.18",
"packs": {
"aesthetic": ["CherryPicking", "BlackNetherBricks", "AlternateBlockDestruction"]
},
"result": "ok"
}