add initial datapack

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-07-31 02:51:45 +02:00
parent 073bb8ea6d
commit 46da75f811
33 changed files with 1041 additions and 1 deletions

View File

@ -11,9 +11,13 @@ build:
- cd datapacks - cd datapacks
- mkdir out - mkdir out
- find -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I '{}' sh -c 'cd {} && zip -r ../out/{} .' - find -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I '{}' sh -c 'cd {} && zip -r ../out/{} .'
- cd ../resourcepack
- zip -r ../resourcepack-out/resourcepack .
artifacts: artifacts:
paths: paths:
- ./datapacks/out - ./datapacks/out
- ./resourcepack-out
deploy: deploy:
stage: deploy stage: deploy
@ -33,4 +37,4 @@ deploy:
- ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload" - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload"
only: only:
- master - master

View File

@ -0,0 +1,235 @@
{
"ambientocclusion": false,
"textures": {
"particle": "block/hopper_outside",
"top": "block/hopper_top",
"side": "block/hopper_outside",
"inside": "block/hopper_inside"
},
"elements": [
{
"from": [
0,
10,
0
],
"to": [
16,
11,
16
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#inside"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
0,
11,
0
],
"to": [
2,
16,
16
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#top"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
14,
11,
0
],
"to": [
16,
16,
16
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#top"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
2,
11,
0
],
"to": [
14,
16,
2
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#top"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
2,
11,
14
],
"to": [
14,
16,
16
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#top"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
4,
4,
4
],
"to": [
12,
10,
12
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#side"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
6,
0,
6
],
"to": [
10,
4,
10
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#side"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
}
]
}

View File

@ -0,0 +1,235 @@
{
"ambientocclusion": false,
"textures": {
"particle": "block/hopper_outside",
"top": "block/hopper_top",
"side": "block/hopper_outside",
"inside": "block/hopper_inside_side"
},
"elements": [
{
"from": [
0,
10,
0
],
"to": [
16,
11,
16
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#inside"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
0,
11,
0
],
"to": [
2,
16,
16
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#top"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
14,
11,
0
],
"to": [
16,
16,
16
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#top"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
2,
11,
0
],
"to": [
14,
16,
2
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#top"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
2,
11,
14
],
"to": [
14,
16,
16
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#top"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
4,
4,
4
],
"to": [
12,
10,
12
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#side"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
},
{
"from": [
6,
4,
0
],
"to": [
10,
8,
4
],
"faces": {
"down": {
"texture": "#side"
},
"up": {
"texture": "#side"
},
"north": {
"texture": "#side"
},
"south": {
"texture": "#side"
},
"west": {
"texture": "#side"
},
"east": {
"texture": "#side"
}
}
}
]
}

View File

@ -0,0 +1,86 @@
{
"parent": "block/block",
"textures": {
"bottom": "block/observer_back",
"side": "block/observer_side",
"top": "block/observer_top",
"front": "block/observer_front",
"particle": "block/observer_front"
},
"elements": [
{
"from": [
0,
0,
0
],
"to": [
16,
16,
16
],
"faces": {
"down": {
"uv": [
0,
0,
16,
16
],
"texture": "#top",
"cullface": "down"
},
"up": {
"uv": [
0,
16,
16,
0
],
"texture": "#top",
"cullface": "up"
},
"north": {
"uv": [
0,
0,
16,
16
],
"texture": "#front",
"cullface": "north"
},
"south": {
"uv": [
0,
0,
16,
16
],
"texture": "#bottom",
"cullface": "south"
},
"west": {
"uv": [
16,
16,
0,
0
],
"texture": "#side",
"cullface": "west"
},
"east": {
"uv": [
0,
16,
16,
0
],
"texture": "#side",
"cullface": "east"
}
}
}
]
}

View File

@ -0,0 +1,85 @@
{
"parent": "block/observer",
"textures": {
"bottom": "block/observer_back_on",
"front": "block/observer_front_powered",
"side": "block/observer_side_powered",
"top": "block/observer_top_powered"
},
"elements": [
{
"from": [
0,
0,
0
],
"to": [
16,
16,
16
],
"faces": {
"down": {
"uv": [
0,
0,
16,
16
],
"texture": "#top",
"cullface": "down"
},
"up": {
"uv": [
0,
16,
16,
0
],
"texture": "#top",
"cullface": "up"
},
"north": {
"uv": [
0,
0,
16,
16
],
"texture": "#front",
"cullface": "north"
},
"south": {
"uv": [
0,
0,
16,
16
],
"texture": "#bottom",
"cullface": "south"
},
"west": {
"uv": [
16,
16,
0,
0
],
"texture": "#side",
"cullface": "west"
},
"east": {
"uv": [
0,
16,
16,
0
],
"texture": "#side",
"cullface": "east"
}
}
}
]
}

View File

@ -0,0 +1,85 @@
{
"parent": "block/observer",
"textures": {
"bottom": "block/observer_back_on",
"front": "block/observer_front_powered",
"side": "block/observer_side_powered",
"top": "block/observer_top_powered"
},
"elements": [
{
"from": [
0,
0,
0
],
"to": [
16,
16,
16
],
"faces": {
"down": {
"uv": [
0,
0,
16,
16
],
"texture": "#top",
"cullface": "down"
},
"up": {
"uv": [
0,
16,
16,
0
],
"texture": "#top",
"cullface": "up"
},
"north": {
"uv": [
0,
0,
16,
16
],
"texture": "#front",
"cullface": "north"
},
"south": {
"uv": [
0,
0,
16,
16
],
"texture": "#bottom",
"cullface": "south"
},
"west": {
"uv": [
16,
16,
0,
0
],
"texture": "#side",
"cullface": "west"
},
"east": {
"uv": [
0,
16,
16,
0
],
"texture": "#side",
"cullface": "east"
}
}
}
]
}

View File

@ -0,0 +1,135 @@
{
"textures": {
"particle": "#platform"
},
"elements": [
{
"from": [
0,
0,
0
],
"to": [
16,
16,
4
],
"faces": {
"down": {
"uv": [
0,
0,
16,
4
],
"texture": "#side",
"cullface": "down",
"rotation": 180
},
"up": {
"uv": [
0,
0,
16,
4
],
"texture": "#side",
"cullface": "up"
},
"north": {
"uv": [
0,
0,
16,
16
],
"texture": "#platform",
"cullface": "north"
},
"south": {
"uv": [
0,
0,
16,
16
],
"texture": "#unsticky"
},
"west": {
"uv": [
0,
0,
16,
4
],
"texture": "#side",
"rotation": 270,
"cullface": "west"
},
"east": {
"uv": [
0,
0,
16,
4
],
"texture": "#side",
"rotation": 90,
"cullface": "east"
}
}
},
{
"from": [
6,
6,
4
],
"to": [
10,
10,
20
],
"faces": {
"down": {
"uv": [
0,
0,
16,
4
],
"texture": "#arm",
"rotation": 90
},
"up": {
"uv": [
0,
0,
16,
4
],
"texture": "#arm",
"rotation": 270
},
"west": {
"uv": [
16,
4,
0,
0
],
"texture": "#arm"
},
"east": {
"uv": [
0,
0,
16,
4
],
"texture": "#arm"
}
}
}
]
}

View File

@ -0,0 +1,135 @@
{
"textures": {
"particle": "#platform"
},
"elements": [
{
"from": [
0,
0,
0
],
"to": [
16,
16,
4
],
"faces": {
"down": {
"uv": [
0,
0,
16,
4
],
"texture": "#side",
"cullface": "down",
"rotation": 180
},
"up": {
"uv": [
0,
0,
16,
4
],
"texture": "#side",
"cullface": "up"
},
"north": {
"uv": [
0,
0,
16,
16
],
"texture": "#platform",
"cullface": "north"
},
"south": {
"uv": [
0,
0,
16,
16
],
"texture": "#unsticky"
},
"west": {
"uv": [
0,
0,
16,
4
],
"texture": "#side",
"rotation": 270,
"cullface": "west"
},
"east": {
"uv": [
0,
0,
16,
4
],
"texture": "#side",
"rotation": 90,
"cullface": "east"
}
}
},
{
"from": [
6,
6,
4
],
"to": [
10,
10,
16
],
"faces": {
"down": {
"uv": [
4,
0,
16,
4
],
"texture": "#arm",
"rotation": 90
},
"up": {
"uv": [
4,
0,
16,
4
],
"texture": "#arm",
"rotation": 270
},
"west": {
"uv": [
16,
4,
4,
0
],
"texture": "#arm"
},
"east": {
"uv": [
4,
0,
16,
4
],
"texture": "#arm"
}
}
}
]
}

View File

@ -0,0 +1,9 @@
{
"parent": "block/piston_head_short",
"textures": {
"unsticky": "block/piston_top_sticky",
"side": "block/piston_side_sticky",
"platform": "block/piston_top_sticky",
"arm": "block/piston_side"
}
}

View File

@ -0,0 +1,9 @@
{
"parent": "block/piston_head_different_arm_tex",
"textures": {
"unsticky": "block/piston_top_sticky",
"side": "block/piston_side_sticky",
"platform": "block/piston_top_sticky",
"arm": "block/piston_side"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "block/cube_bottom_top",
"textures": {
"bottom": "block/piston_bottom",
"side": "block/piston_side_sticky",
"top": "block/piston_top_sticky"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "block/piston",
"textures": {
"bottom": "block/piston_bottom",
"side": "block/piston_side_sticky",
"platform": "block/piston_top_sticky"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

6
resourcepack/pack.mcmeta Executable file
View File

@ -0,0 +1,6 @@
{
"pack": {
"pack_format": 4,
"description": "Dodsorfas Resourcepack"
}
}