Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c7c00b3fd | ||
|
|
43de8b7fd4 |
@@ -4,32 +4,17 @@
|
||||
# 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
|
||||
- ./out
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:lapis_lazuli"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:cocoa_beans"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:cyan_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:gray_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:cactus_green"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:lapis_lazuli"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:gray_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:lime_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:magenta_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:orange_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:pink_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:purple_dye"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:rose_red"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:bone_meal"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
{
|
||||
"type": "crafting_shapeless",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "minecraft:wool"
|
||||
"tag": "dodsorfas_recolor:wool"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:dandelion_yellow"
|
||||
|
||||
21
dodsorfas_colors/data/dodsorfas_recolor/tags/items/wool.json
Executable file
21
dodsorfas_colors/data/dodsorfas_recolor/tags/items/wool.json
Executable file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{}
|
||||
{}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "item",
|
||||
"name": "minecraft:elytra",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "loot_table",
|
||||
"name": "minecraft:entities/dodsloot/ender_dragon"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"pack_format": 1,
|
||||
"description": "Dodsorfas Data Pack for custom loot"
|
||||
"description": "Dodsorfas Data Pack for custom mob loot"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user