From bef96830bba888b769f41431a3205c98f5635fe2 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Thu, 11 Feb 2016 00:29:46 -0600 Subject: [PATCH] Pump head texture --- .../botania/models/block/pump_head.json | 47 +++++++++--------- .../botania/textures/model/pump_head.png | Bin 0 -> 396 bytes 2 files changed, 23 insertions(+), 24 deletions(-) create mode 100644 src/main/resources/assets/botania/textures/model/pump_head.png diff --git a/src/main/resources/assets/botania/models/block/pump_head.json b/src/main/resources/assets/botania/models/block/pump_head.json index 8cf6b4e7f..7e2907726 100644 --- a/src/main/resources/assets/botania/models/block/pump_head.json +++ b/src/main/resources/assets/botania/models/block/pump_head.json @@ -1,16 +1,19 @@ { + "textures": { + "all": "botania:model/pump_head" + }, "elements": [ { "name": "BlueTop", "from": [ 5.0, 6.0, 1.0 ], "to": [ 11.0, 7.0, 7.0 ], "faces": { - "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 6.0 ] }, - "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 6.0 ] } + "north": { "texture": "#all", "uv": [ 3.0, 5.0, 9.0, 6.0 ] }, + "east": { "texture": "#all", "uv": [ 5.0, 8.0, 11.0, 7.0 ] }, + "south": { "texture": "#all", "uv": [ 3.0, 5.0, 9.0, 6.0 ] }, + "west": { "texture": "#all", "uv": [ 5.0, 8.0, 11.0, 7.0 ] }, + "up": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] }, + "down": { "texture": "#all", "uv": [ 7.0, 0.0, 13.0, 6.0 ] } } }, { @@ -18,12 +21,12 @@ "from": [ 5.0, 1.0, 1.0 ], "to": [ 11.0, 2.0, 7.0 ], "faces": { - "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 6.0 ] }, - "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 6.0 ] } + "north": { "texture": "#all", "uv": [ 3.0, 5.0, 9.0, 6.0 ] }, + "east": { "texture": "#all", "uv": [ 5.0, 8.0, 11.0, 7.0 ] }, + "south": { "texture": "#all", "uv": [ 3.0, 5.0, 9.0, 6.0 ] }, + "west": { "texture": "#all", "uv": [ 5.0, 8.0, 11.0, 7.0 ] }, + "up": { "texture": "#all", "uv": [ 7.0, 0.0, 13.0, 6.0 ] }, + "down": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] } } }, { @@ -31,12 +34,10 @@ "from": [ 5.0, 2.0, 1.0 ], "to": [ 6.0, 6.0, 7.0 ], "faces": { - "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }, - "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 4.0 ] }, - "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }, - "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 4.0 ] }, - "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 6.0 ] }, - "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 6.0 ] } + "north": { "texture": "#all", "uv": [ 3.0, 0.0, 4.0, 4.0 ] }, + "east": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] }, + "south": { "texture": "#all", "uv": [ 3.0, 0.0, 4.0, 4.0 ] }, + "west": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] } } }, { @@ -44,12 +45,10 @@ "from": [ 10.0, 2.0, 1.0 ], "to": [ 11.0, 6.0, 7.0 ], "faces": { - "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }, - "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 4.0 ] }, - "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }, - "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 6.0, 4.0 ] }, - "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 6.0 ] }, - "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 6.0 ] } + "north": { "texture": "#all", "uv": [ 3.0, 0.0, 4.0, 4.0 ] }, + "east": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] }, + "south": { "texture": "#all", "uv": [ 3.0, 0.0, 4.0, 4.0 ] }, + "west": { "texture": "#all", "uv": [ 3.0, 0.0, 9.0, 6.0 ] } } } ] diff --git a/src/main/resources/assets/botania/textures/model/pump_head.png b/src/main/resources/assets/botania/textures/model/pump_head.png new file mode 100644 index 0000000000000000000000000000000000000000..355d4d46285a2da8fff17e4621516f9df13b50db GIT binary patch literal 396 zcmV;70dxL|P)H!6fOVHPE5c@<9;q@O-z zq2kU)1c67rzAt_{xhx<~WBe%Pspp~ORisSFjRWk^pzTU5OHkHJ*~&b?PYMiu*sGdo zXxKxajw@KxBUUv*Y+S zy5qCdh(*iG^M