Merge branch 'master' into 'MC-005'

Master to MC-005

See merge request Dandellion/minecraft-datapacks!3
This commit is contained in:
Daniel Løvbrøtte Olsen 2019-05-24 00:21:19 +00:00
commit 1ce53443cb
20 changed files with 65 additions and 67 deletions

View File

@ -4,17 +4,32 @@
# you can delete this line if you're not using Docker # you can delete this line if you're not using Docker
image: alpine:latest image: alpine:latest
before_script:
- apk add --no-cache zip
after_script:
- ls
build: build:
stage: build stage: build
script: script:
- apk add --no-cache zip
- mkdir out - mkdir out
- find . -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I {} zip -r out/{} {} - find -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I '{}' sh -c 'cd {} && zip -r ../out/{} .'
artifacts: artifacts:
paths: paths:
- ./out - ./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

View File

@ -1,6 +0,0 @@
{
"pack": {
"pack_format": 1,
"description": "MC-001, disables vanilla stone to smooth stone slabs"
}
}

View File

@ -1,3 +1,14 @@
# Minecraft Datapacks # Minecraft Datapacks
Datapacks for minecraft Datapacks for minecraft
## Steps to change datapacks
Fixes can go straight to master, all other changes are to be done like the following:
1. Write up a proposal for what to change as an issue
2. Get feedback
3. Branch from master and add/change datapacks needed to fix in that branch.
4. TEST
5. Enter final comment period for the MC, no major changes unless its a really good idea
6. merge to master

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:lapis_lazuli" "item": "minecraft:lapis_lazuli"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:cocoa_beans" "item": "minecraft:cocoa_beans"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:cyan_dye" "item": "minecraft:cyan_dye"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:gray_dye" "item": "minecraft:gray_dye"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:cactus_green" "item": "minecraft:cactus_green"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:lapis_lazuli" "item": "minecraft:lapis_lazuli"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:gray_dye" "item": "minecraft:gray_dye"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:lime_dye" "item": "minecraft:lime_dye"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:magenta_dye" "item": "minecraft:magenta_dye"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:orange_dye" "item": "minecraft:orange_dye"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:pink_dye" "item": "minecraft:pink_dye"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:purple_dye" "item": "minecraft:purple_dye"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:rose_red" "item": "minecraft:rose_red"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:bone_meal" "item": "minecraft:bone_meal"

View File

@ -1,8 +1,8 @@
{ {
"type": "crafting_shapeless", "type": "crafting_shapeless",
"ingredients": [ "ingredients": [
{ {
"tag": "dodsorfas_recolor:wool" "tag": "minecraft:wool"
}, },
{ {
"item": "minecraft:dandelion_yellow" "item": "minecraft:dandelion_yellow"

View File

@ -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"
]
}