Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2730638b5e | ||
|
|
e997a0a3a6 | ||
|
|
1a316ab9fc | ||
|
|
82d704f331 | ||
|
|
d5f4b56d2a | ||
|
|
74ba37796a | ||
|
|
d8fe8c3ea7 | ||
|
|
d1a01745bf | ||
|
|
2dd48e0edb | ||
|
|
3434140481 | ||
|
|
afb6705f5c | ||
|
|
5cfe1b23f1 | ||
|
|
4f08f8a340 | ||
|
|
450552af18 | ||
|
|
64e01c0827 | ||
|
|
774e8e9681 | ||
|
|
11335d0955 | ||
|
|
503e5819ed | ||
|
|
282579e372 | ||
|
|
74daed8197 |
@@ -4,17 +4,32 @@
|
||||
# you can delete this line if you're not using Docker
|
||||
image: alpine:latest
|
||||
|
||||
before_script:
|
||||
- apk add --no-cache zip
|
||||
|
||||
after_script:
|
||||
- ls
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- apk add --no-cache zip
|
||||
- mkdir out
|
||||
- find -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I '{}' sh -c 'cd {} && zip -r ../out/{} .'
|
||||
artifacts:
|
||||
paths:
|
||||
- ./out
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
script:
|
||||
- 'which ssh-agent || ( apk add --no-cache openssh-client )'
|
||||
- apk add --no-cache rsync
|
||||
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
|
||||
- rsync --dry-run -avz out/ "$SERVER_HOST":"$WPD_FOLDER" --delete --exclude bukkit
|
||||
|
||||
- ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload"
|
||||
only:
|
||||
- master
|
||||
when: manual
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:lapis_lazuli"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:cocoa_beans"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:cyan_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:gray_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:cactus_green"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:lapis_lazuli"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:gray_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:lime_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:magenta_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:orange_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:pink_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:purple_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:rose_red"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:bone_meal"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
"tag": "minecraft:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:dandelion_yellow"
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"minecraft:white_wool",
|
||||
"minecraft:orange_wool",
|
||||
"minecraft:magenta_wool",
|
||||
"minecraft:light_blue_wool",
|
||||
"minecraft:yellow_wool",
|
||||
"minecraft:lime_wool",
|
||||
"minecraft:pink_wool",
|
||||
"minecraft:gray_wool",
|
||||
"minecraft:light_gray_wool",
|
||||
"minecraft:cyan_wool",
|
||||
"minecraft:purple_wool",
|
||||
"minecraft:blue_wool",
|
||||
"minecraft:brown_wool",
|
||||
"minecraft:green_wool",
|
||||
"minecraft:red_wool",
|
||||
"minecraft:black_wool"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "random_chance_with_looting",
|
||||
"chance": 0.5,
|
||||
"looting_multiplier": 0.0625
|
||||
}
|
||||
],
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 1,
|
||||
"name": "minecraft:shulker_shell"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"weight": 1,
|
||||
"name": "minecraft:shulker_shell",
|
||||
"functions": [
|
||||
{
|
||||
"function": "set_count",
|
||||
"count": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
6
dodsorfas_custom_loot/pack.mcmeta
Normal file
6
dodsorfas_custom_loot/pack.mcmeta
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"pack_format": 1,
|
||||
"description": "Dodsorfas Data Pack for custom loot"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user