New cells models (#227)

new cells
This commit is contained in:
RuiXuqi
2023-03-06 01:06:15 +08:00
committed by GitHub
parent 8debd6c499
commit b077aff1f8
35 changed files with 712 additions and 517 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Build mod
on: [ push, pull_request, workflow_dispatch ]
jobs:
build:
name: Build mod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew -Pnet.minecraftforge.gradle.disableUpdateChecker=true build
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: appliedenergistics2
path: build/libs
-15
View File
@@ -1,15 +0,0 @@
name: 'Lock threads'
on:
schedule:
- cron: '0 0 * * *'
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '180'
pr-lock-inactive-days: '180'
@@ -18,7 +18,6 @@
package appeng.client.render.model; package appeng.client.render.model;
import appeng.block.storage.BlockDrive; import appeng.block.storage.BlockDrive;
import appeng.block.storage.DriveSlotState; import appeng.block.storage.DriveSlotState;
import appeng.block.storage.DriveSlotsState; import appeng.block.storage.DriveSlotsState;
@@ -39,7 +38,6 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
public class DriveBakedModel implements IBakedModel { public class DriveBakedModel implements IBakedModel {
private final IBakedModel bakedBase; private final IBakedModel bakedBase;
private final Map<DriveSlotState, IBakedModel> bakedCells; private final Map<DriveSlotState, IBakedModel> bakedCells;
@@ -72,9 +70,10 @@ public class DriveBakedModel implements IBakedModel {
Matrix4f transform = new Matrix4f(); Matrix4f transform = new Matrix4f();
transform.setIdentity(); transform.setIdentity();
// Position this drive model copy at the correct slot. The transform is based on the // Position this drive model copy at the correct slot. The transform is based on
// the
// cell-model being in slot 0,0 at the top left of the drive. // cell-model being in slot 0,0 at the top left of the drive.
float xOffset = -col * 7 / 16.0f; float xOffset = -col * 8 / 16.0f;
float yOffset = -row * 3 / 16.0f; float yOffset = -row * 3 / 16.0f;
transform.setTranslation(new Vector3f(xOffset, yOffset, 0)); transform.setTranslation(new Vector3f(xOffset, yOffset, 0));
@@ -1,122 +1,109 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"textures": { "textures": {
"up": "appliedenergistics2:blocks/chest/top", "4": "appliedenergistics2:blocks/drive_inside",
"down": "appliedenergistics2:blocks/chest/bottom", "up": "appliedenergistics2:blocks/chest/top",
"north": "appliedenergistics2:blocks/chest/front", "down": "appliedenergistics2:blocks/chest/bottom",
"particle": "appliedenergistics2:blocks/chest/side", "north": "appliedenergistics2:blocks/chest/front",
"east": "appliedenergistics2:blocks/chest/side" "particle": "appliedenergistics2:blocks/chest/side",
}, "east": "appliedenergistics2:blocks/chest/side"
"elements": [ },
{ "elements": [
"name": "inside_border_right", {
"from": [4, 3, 0], "from": [0, 0, 0],
"to": [5, 8, 1], "to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 13, 1]}, "faces": {
"faces": { "north": { "uv": [0, 0, 16, 16], "texture": "#north" },
"east": {"uv": [0, 6, 1, 11], "rotation": 180, "texture": "#down"} "east": { "uv": [0, 0, 16, 16], "texture": "#east" },
} "south": { "uv": [0, 0, 16, 16], "texture": "#east" },
}, "west": { "uv": [0, 0, 16, 16], "texture": "#east" },
{ "up": { "uv": [0, 0, 16, 16], "texture": "#up" },
"name": "inside_right", "down": { "uv": [0, 0, 16, 16], "texture": "#down" }
"from": [2, 1, 1], }
"to": [5, 12, 11], },
"rotation": {"angle": 0, "axis": "y", "origin": [9, 11, 3]}, {
"faces": { "name": "inside_back",
"east": {"uv": [5, 2, 14, 13], "texture": "#down"} "from": [5, 4, 7],
} "to": [11, 7, 10],
}, "rotation": { "angle": 0, "axis": "y", "origin": [19, 11, 8] },
{ "faces": {
"from": [0, 0, 0], "north": { "uv": [4, 1, 16, 14], "texture": "#4" }
"to": [16, 16, 16], }
"faces": { },
"north": {"uv": [0, 0, 16, 16], "texture": "#north"}, {
"east": {"uv": [0, 0, 16, 16], "texture": "#east"}, "name": "inside_left",
"south": {"uv": [0, 0, 16, 16], "texture": "#east"}, "from": [11, 1, 1],
"west": {"uv": [0, 0, 16, 16], "texture": "#east"}, "to": [14, 12, 11],
"up": {"uv": [0, 0, 16, 16], "texture": "#up"}, "rotation": { "angle": 0, "axis": "y", "origin": [18, 11, 3] },
"down": {"uv": [0, 0, 16, 16], "texture": "#down"} "faces": {
} "north": { "uv": [2, 5, 2, 5], "texture": "#4" },
}, "west": { "uv": [5, 1, 14, 12], "texture": "#4" }
{ }
"name": "inside_back", },
"from": [5, 4, 7], {
"to": [11, 7, 10], "name": "inside_top",
"rotation": {"angle": 0, "axis": "y", "origin": [19, 11, 8]}, "from": [5, 6, 1],
"faces": { "to": [11, 9, 11],
"north": {"uv": [3, 2, 14, 14], "texture": "#down"} "rotation": { "angle": 0, "axis": "y", "origin": [15, 16, 3] },
} "faces": {
}, "north": { "uv": [2, 7, 2, 7], "texture": "#4" },
{ "down": { "uv": [6, 4, 6, 4], "texture": "#4" }
"name": "inside_left", }
"from": [11, 1, 1], },
"to": [14, 12, 11], {
"rotation": {"angle": 0, "axis": "y", "origin": [18, 11, 3]}, "name": "inside_bottom",
"faces": { "from": [5, 1, 1],
"north": {"uv": [2, 5, 2, 5], "texture": "#down"}, "to": [11, 4, 11],
"west": {"uv": [5, 2, 14, 13], "texture": "#down"} "rotation": { "angle": 0, "axis": "y", "origin": [15, 11, 3] },
} "faces": {
}, "north": { "uv": [2, 7, 2, 7], "texture": "#4" },
{ "up": { "uv": [6, 3, 6, 3], "texture": "#4" }
"name": "inside_top", }
"from": [5, 6, 1], },
"to": [11, 9, 11], {
"rotation": {"angle": 0, "axis": "y", "origin": [15, 16, 3]}, "name": "inside_border_bottom",
"faces": { "from": [4, 0, 0],
"north": {"uv": [14, 12, 14, 12], "texture": "#down"}, "to": [12, 3, 9],
"down": {"uv": [12, 15, 12, 15], "texture": "#down"} "rotation": { "angle": 0, "axis": "y", "origin": [15, 10, 1] },
} "faces": {
}, "up": { "uv": [0, 4, 9, 13], "rotation": 90, "texture": "#4" }
{ }
"name": "inside_bottom", },
"from": [5, 1, 1], {
"to": [11, 4, 11], "name": "inside_border_top",
"rotation": {"angle": 0, "axis": "y", "origin": [15, 11, 3]}, "from": [5, 7, 0],
"faces": { "to": [12, 10, 9],
"north": {"uv": [1, 6, 1, 6], "texture": "#down"}, "rotation": { "angle": 0, "axis": "y", "origin": [15, 17, 1] },
"up": {"uv": [6, 1, 6, 1], "texture": "#down"} "faces": {
} "down": { "uv": [0, 4, 9, 13], "rotation": 270, "texture": "#4" }
}, }
{ },
"name": "inside_border_bottom", {
"from": [4, 0, 0], "name": "inside_border_left",
"to": [12, 3, 9], "from": [11, 3, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [15, 10, 1]}, "to": [12, 8, 1],
"faces": { "rotation": { "angle": 0, "axis": "y", "origin": [15, 13, 1] },
"up": {"uv": [0, 4, 9, 13], "rotation": 90, "texture": "#missing"} "faces": {
} "west": { "uv": [0, 8, 1, 13], "texture": "#4" }
}, }
{ },
"name": "inside_border_top", {
"from": [5, 7, 0], "name": "inside_border_right",
"to": [12, 10, 9], "from": [4, 3, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [15, 17, 1]}, "to": [5, 8, 1],
"faces": { "rotation": { "angle": 0, "axis": "y", "origin": [8, 13, 1] },
"down": {"uv": [0, 4, 9, 13], "rotation": 270, "texture": "#down"} "faces": {
} "east": { "uv": [0, 6, 1, 11], "rotation": 180, "texture": "#4" }
}, }
{ },
"name": "inside_border_left", {
"from": [11, 3, 0], "name": "inside_right",
"to": [12, 8, 1], "from": [2, 1, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [15, 13, 1]}, "to": [5, 12, 11],
"faces": { "rotation": { "angle": 0, "axis": "y", "origin": [9, 11, 3] },
"west": {"uv": [0, 8, 1, 13], "texture": "#down"} "faces": {
} "east": { "uv": [5, 2, 14, 13], "texture": "#4" }
} }
], }
"groups": [ ]
{
"name": "chest",
"origin": [8, 8, 8],
"color": 0,
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
},
{
"name": "cells",
"origin": [8, 8, 8],
"color": 0,
"children": []
}
]
} }
@@ -1,4 +1,3 @@
{ {
"textures": {}, "credit": "Made with Blockbench"
"elements": []
} }
@@ -1,37 +1,23 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"textures": { "textures": {
"front": "appliedenergistics2:blocks/chest/cell_state_backdrop", "backdrop": "appliedenergistics2:blocks/chest/cell_state_backdrop",
"state": "appliedenergistics2:blocks/chest/cell_state_full", "state": "appliedenergistics2:blocks/chest/cell_state_full"
"top_front": "appliedenergistics2:blocks/drive_cell_states_emissive"
}, },
"elements": [ "elements": [
{ {
"name": "Cell Backdrop",
"from": [5, 4, 0], "from": [5, 4, 0],
"to": [11, 6, 1], "to": [11, 6, 1],
"shade": false,
"faces": { "faces": {
"north": {"uv": [5, 10, 11, 12], "texture": "#front"}, "north": {"uv": [5, 10, 11, 12], "texture": "#backdrop"},
"up": {"uv": [5, 10, 11, 11], "texture": "#front"} "up": {"uv": [5, 9, 11, 10], "texture": "#backdrop"}
} }
}, },
{ {
"name": "Cell Light", "from": [0, 0, 0],
"from": [9, 4, 0], "to": [16, 16, 16],
"to": [10, 5, 0],
"shade": false,
"faces": { "faces": {
"north": {"uv": [6, 11, 7, 12], "texture": "#state"} "north": {"uv": [0, 0, 16, 16], "texture": "#state"}
}
},
{
"name": "Cell Light",
"from": [9, 4, 0],
"to": [10, 5, 0],
"shade": false,
"faces": {
"north": {"uv": [1, 7, 2, 8], "texture": "#top_front"}
} }
} }
] ]
@@ -1,16 +1,15 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"textures": { "textures": {
"front": "appliedenergistics2:blocks/chest/cell_state_offline" "state": "appliedenergistics2:blocks/chest/cell_state_offline"
}, },
"elements": [ "elements": [
{ {
"from": [5, 4, 0], "from": [5, 4, 0],
"to": [11, 6, 1], "to": [11, 6, 1],
"shade": false,
"faces": { "faces": {
"north": {"uv": [5, 10, 11, 12], "texture": "#front"}, "north": {"uv": [5, 10, 11, 12], "texture": "#state"},
"up": {"uv": [5, 10, 11, 11], "texture": "#front"} "up": {"uv": [5, 9, 11, 10], "texture": "#state"}
} }
} }
] ]
@@ -1,37 +1,23 @@
{ {
"ae2_uvl_marker": true, "credit": "Made with Blockbench",
"parent": "block/block",
"textures": { "textures": {
"front": "appliedenergistics2:blocks/chest/cell_state_backdrop", "backdrop": "appliedenergistics2:blocks/chest/cell_state_backdrop",
"state": "appliedenergistics2:blocks/chest/cell_state_online", "state": "appliedenergistics2:blocks/chest/cell_state_online"
"top_front": "appliedenergistics2:blocks/drive_cell_states_emissive"
}, },
"elements": [ "elements": [
{ {
"name": "Cell Backdrop",
"from": [5, 4, 0], "from": [5, 4, 0],
"to": [11, 6, 1], "to": [11, 6, 1],
"shade": false,
"faces": { "faces": {
"north": {"uv": [5, 10, 11, 12], "texture": "#front"}, "north": {"uv": [5, 10, 11, 12], "texture": "#backdrop"},
"up": {"uv": [5, 10, 11, 11], "texture": "#front"} "up": {"uv": [5, 9, 11, 10], "texture": "#backdrop"}
} }
}, },
{ {
"name": "Cell Light", "from": [0, 0, 0],
"from": [9, 4, 0], "to": [16, 16, 16],
"to": [10, 5, 0],
"shade": false,
"faces": { "faces": {
"north": {"uv": [6, 11, 7, 12], "texture": "#state"} "north": {"uv": [0, 0, 16, 16], "texture": "#state"}
}
},
{
"name": "Cell Light",
"from": [9, 4, 0],
"to": [10, 5, 0],
"faces": {
"north": {"uv": [1, 3, 2, 4], "texture": "#top_front"}
} }
} }
] ]
@@ -1,37 +1,23 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"textures": { "textures": {
"front": "appliedenergistics2:blocks/chest/cell_state_backdrop", "backdrop": "appliedenergistics2:blocks/chest/cell_state_backdrop",
"state": "appliedenergistics2:blocks/chest/cell_state_types_full", "state": "appliedenergistics2:blocks/chest/cell_state_types_full"
"top_front": "appliedenergistics2:blocks/drive_cell_states_emissive"
}, },
"elements": [ "elements": [
{ {
"name": "Cell Backdrop",
"from": [5, 4, 0], "from": [5, 4, 0],
"to": [11, 6, 1], "to": [11, 6, 1],
"shade": false,
"faces": { "faces": {
"north": {"uv": [5, 10, 11, 12], "texture": "#front"}, "north": {"uv": [5, 10, 11, 12], "texture": "#backdrop"},
"up": {"uv": [5, 10, 11, 11], "texture": "#front"} "up": {"uv": [5, 9, 11, 10], "texture": "#backdrop"}
} }
}, },
{ {
"name": "Cell Light", "from": [0, 0, 0],
"from": [9, 4, 0], "to": [16, 16, 16],
"to": [10, 5, 0],
"shade": false,
"faces": { "faces": {
"north": {"uv": [6, 11, 7, 12], "texture": "#state"} "north": {"uv": [0, 0, 16, 16], "texture": "#state"}
}
},
{
"name": "Cell Light",
"from": [9, 4, 0],
"to": [10, 5, 0],
"shade": false,
"faces": {
"north": {"uv": [1, 5, 2, 6], "texture": "#top_front"}
} }
} }
] ]
@@ -1,284 +1,261 @@
{ {
"parent": "block/block", "parent": "block/block",
"ambientocclusion": false, "textures": {
"textures": { "inside": "appliedenergistics2:blocks/drive_inside",
"particle": "appliedenergistics2:blocks/drive_side", "particle": "appliedenergistics2:blocks/drive_side",
"side": "appliedenergistics2:blocks/drive_side", "side": "appliedenergistics2:blocks/drive_side",
"bottom": "appliedenergistics2:blocks/drive_bottom", "bottom": "appliedenergistics2:blocks/drive_bottom",
"top": "appliedenergistics2:blocks/drive_top", "top": "appliedenergistics2:blocks/drive_top",
"front": "appliedenergistics2:blocks/drive_front" "front": "appliedenergistics2:blocks/drive_front"
}, },
"elements": [ "elements": [
{ {
"name": "Right Side Panel", "name": "Right Side Panel",
"from": [0, 1, 0], "from": [0, 1, 0],
"to": [2, 15, 16], "to": [1, 15, 16],
"faces": { "faces": {
"north": { "north": {
"uv": [15, 1, 16, 15], "uv": [15, 1, 16, 15],
"texture": "#front", "texture": "#front",
"cullface": "north" "cullface": "north"
}, },
"east": { "east": {
"uv": [0, 2, 16, 14], "uv": [0, 0, 16, 16],
"rotation": 180, "rotation": 180,
"texture": "#bottom", "texture": "#inside",
"cullface": "north" "cullface": "north"
}, },
"south": { "south": {
"uv": [0, 1, 1, 15], "uv": [0, 1, 1, 15],
"texture": "#side", "texture": "#side",
"cullface": "south" "cullface": "south"
}, },
"west": { "west": { "uv": [0, 1, 16, 15], "texture": "#side", "cullface": "west" }
"uv": [0, 1, 16, 15], }
"texture": "#side", },
"cullface": "west" {
} "name": "Left Side Panel",
} "from": [15, 1, 0],
}, "to": [16, 15, 16],
{ "faces": {
"name": "Left Side Panel", "north": {
"from": [14, 1, 0], "uv": [0, 1, 1, 15],
"to": [16, 15, 16], "texture": "#front",
"faces": { "cullface": "north"
"north": { },
"uv": [0, 1, 1, 15], "east": {
"texture": "#front", "uv": [0, 1, 16, 15],
"cullface": "north" "texture": "#side",
}, "cullface": "east"
"east": { },
"uv": [0, 1, 16, 15], "south": {
"texture": "#side", "uv": [15, 1, 16, 15],
"cullface": "east" "texture": "#side",
}, "cullface": "south"
"south": { },
"uv": [15, 1, 16, 15], "west": {
"texture": "#side", "uv": [0, 0, 16, 16],
"cullface": "south" "texture": "#inside",
}, "cullface": "north"
"west": { }
"uv": [0, 2, 16, 14], }
"texture": "#bottom", },
"cullface": "north" {
} "name": "Back Panel",
} "from": [1, 1, 7],
}, "to": [15, 15, 16],
{ "rotation": { "angle": 0, "axis": "y", "origin": [8, 8, 9] },
"name": "Back Panel", "faces": {
"from": [2, 1, 7], "north": { "uv": [15, 1, 16, 15], "texture": "#inside" },
"to": [14, 15, 16], "south": {
"rotation": { "uv": [1, 1, 15, 15],
"angle": 0, "texture": "#side",
"axis": "y", "cullface": "south"
"origin": [8, 8, 9] }
}, }
"faces": { },
"north": { {
"uv": [13, 2, 14, 13], "name": "Bottom Panel",
"texture": "#bottom" "from": [0, 0, 0],
}, "to": [16, 1, 16],
"south": { "faces": {
"uv": [1, 1, 15, 15], "north": {
"texture": "#side", "uv": [0, 15, 16, 16],
"cullface": "south" "texture": "#front",
} "cullface": "north"
} },
}, "east": {
{ "uv": [0, 15, 16, 16],
"name": "Bottom Panel", "texture": "#side",
"from": [0, 0, 0], "cullface": "east"
"to": [16, 1, 16], },
"faces": { "south": {
"north": { "uv": [0, 15, 16, 16],
"uv": [0, 15, 16, 16], "texture": "#side",
"texture": "#front", "cullface": "south"
"cullface": "north" },
}, "west": {
"east": { "uv": [0, 15, 16, 16],
"uv": [0, 15, 16, 16], "texture": "#side",
"texture": "#side", "cullface": "west"
"cullface": "east" },
}, "up": {
"south": { "uv": [0, 0, 16, 16],
"uv": [0, 15, 16, 16], "rotation": 90,
"texture": "#side", "texture": "#inside",
"cullface": "south" "cullface": "north"
}, },
"west": { "down": {
"uv": [0, 15, 16, 16], "uv": [0, 0, 16, 16],
"texture": "#side", "texture": "#bottom",
"cullface": "west" "cullface": "down"
}, }
"up": { }
"uv": [0, 2, 16, 14], },
"rotation": 90, {
"texture": "#bottom", "name": "Top Panel",
"cullface": "north" "from": [0, 15, 0],
}, "to": [16, 16, 16],
"down": { "faces": {
"uv": [0, 0, 16, 16], "north": {
"texture": "#bottom", "uv": [0, 0, 16, 1],
"cullface": "down" "texture": "#front",
} "cullface": "north"
} },
}, "east": { "uv": [0, 0, 16, 1], "texture": "#side", "cullface": "east" },
{ "south": {
"name": "Top Panel", "uv": [0, 0, 16, 1],
"from": [0, 15, 0], "texture": "#side",
"to": [16, 16, 16], "cullface": "south"
"faces": { },
"north": { "west": { "uv": [0, 0, 16, 1], "texture": "#side", "cullface": "west" },
"uv": [0, 0, 16, 1], "up": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "up" },
"texture": "#front", "down": {
"cullface": "north" "uv": [0, 0, 16, 16],
}, "rotation": 270,
"east": { "texture": "#inside",
"uv": [0, 0, 16, 1], "cullface": "north"
"texture": "#side", }
"cullface": "east" }
}, },
"south": { {
"uv": [0, 0, 16, 1], "name": "Middle Strut",
"texture": "#side", "from": [7, 1, 1],
"cullface": "south" "to": [9, 15, 7],
}, "faces": {
"west": { "north": {
"uv": [0, 0, 16, 1], "uv": [7, 1, 9, 15],
"texture": "#side", "texture": "#front",
"cullface": "west" "cullface": "north"
}, },
"up": { "east": {
"uv": [0, 0, 16, 16], "uv": [1, 1, 7, 15],
"texture": "#top", "rotation": 180,
"cullface": "up" "texture": "#inside",
}, "cullface": "north"
"down": { },
"uv": [0, 2, 16, 14], "west": {
"rotation": 270, "uv": [1, 1, 7, 15],
"texture": "#bottom", "texture": "#inside",
"cullface": "north" "cullface": "north"
} }
} }
}, },
{ {
"name": "Front Panel", "name": "Separator",
"from": [7, 1, 1], "from": [1, 3, 2],
"to": [9, 15, 7], "to": [15, 4, 7],
"faces": { "faces": {
"north": { "north": {
"uv": [7, 1, 9, 15], "uv": [1, 12, 15, 13],
"texture": "#front", "texture": "#front",
"cullface": "north" "cullface": "north"
}, },
"east": { "up": {
"uv": [1, 2, 7, 14], "uv": [2, 1, 7, 15],
"rotation": 180, "rotation": 90,
"texture": "#bottom", "texture": "#inside",
"cullface": "north" "cullface": "north"
}, },
"west": { "down": {
"uv": [1, 2, 7, 14], "uv": [2, 1, 7, 15],
"texture": "#bottom", "rotation": 270,
"cullface": "north" "texture": "#inside",
} "cullface": "north"
} }
}, }
{ },
"name": "Separator", {
"from": [1, 3, 2], "name": "Separator",
"to": [15, 4, 7], "from": [1, 6, 2],
"faces": { "to": [15, 7, 7],
"north": { "faces": {
"uv": [1, 12, 15, 13], "north": {
"texture": "#front", "uv": [1, 9, 15, 10],
"cullface": "north" "texture": "#front",
}, "cullface": "north"
"up": { },
"uv": [1, 2, 6, 14], "up": {
"rotation": 90, "uv": [2, 1, 7, 15],
"texture": "#bottom", "rotation": 90,
"cullface": "north" "texture": "#inside",
}, "cullface": "north"
"down": { },
"uv": [1, 2, 6, 14], "down": {
"rotation": 270, "uv": [2, 1, 7, 15],
"texture": "#bottom", "rotation": 270,
"cullface": "north" "texture": "#inside",
} "cullface": "north"
} }
}, }
{ },
"name": "Separator", {
"from": [1, 6, 2], "name": "Separator",
"to": [15, 7, 7], "from": [1, 9, 2],
"faces": { "to": [15, 10, 7],
"north": { "faces": {
"uv": [1, 9, 15, 10], "north": {
"texture": "#front", "uv": [1, 6, 15, 7],
"cullface": "north" "texture": "#front",
}, "cullface": "north"
"up": { },
"uv": [1, 2, 6, 14], "up": {
"rotation": 90, "uv": [2, 1, 7, 15],
"texture": "#bottom", "rotation": 90,
"cullface": "north" "texture": "#inside",
}, "cullface": "north"
"down": { },
"uv": [1, 2, 6, 14], "down": {
"rotation": 270, "uv": [2, 1, 7, 15],
"texture": "#bottom", "rotation": 270,
"cullface": "north" "texture": "#inside",
} "cullface": "north"
} }
}, }
{ },
"name": "Separator", {
"from": [1, 9, 2], "name": "Separator",
"to": [15, 10, 7], "from": [1, 12, 2],
"faces": { "to": [15, 13, 7],
"north": { "faces": {
"uv": [1, 6, 15, 7], "north": {
"texture": "#front", "uv": [1, 3, 15, 4],
"cullface": "north" "texture": "#front",
}, "cullface": "north"
"up": { },
"uv": [1, 2, 6, 14], "up": {
"rotation": 90, "uv": [2, 1, 7, 15],
"texture": "#bottom", "rotation": 90,
"cullface": "north" "texture": "#inside",
}, "cullface": "north"
"down": { },
"uv": [1, 2, 6, 14], "down": {
"rotation": 270, "uv": [2, 1, 7, 15],
"texture": "#bottom", "rotation": 270,
"cullface": "north" "texture": "#inside",
} "cullface": "north"
} }
}, }
{ }
"name": "Separator", ]
"from": [1, 12, 2],
"to": [15, 13, 7],
"faces": {
"north": {
"uv": [1, 3, 15, 4],
"texture": "#front",
"cullface": "north"
},
"up": {
"uv": [1, 2, 6, 14],
"rotation": 90,
"texture": "#bottom",
"cullface": "north"
},
"down": {
"uv": [1, 2, 6, 14],
"rotation": 270,
"texture": "#bottom",
"cullface": "north"
}
}
}
]
} }
@@ -1,4 +1,5 @@
{ {
"credit": "Made with Blockbench",
"textures": { "textures": {
"front": "appliedenergistics2:blocks/drive_cell_states", "front": "appliedenergistics2:blocks/drive_cell_states",
"top_front": "appliedenergistics2:blocks/drive_cell_states_emissive" "top_front": "appliedenergistics2:blocks/drive_cell_states_emissive"
@@ -7,22 +8,22 @@
{ {
"name": "Cell Backdrop", "name": "Cell Backdrop",
"from": [9, 13, 1], "from": [9, 13, 1],
"to": [14, 15, 2], "to": [15, 15, 2],
"shade": false, "shade": false,
"faces": { "faces": {
"north": {"uv": [0, 8, 5, 10], "texture": "#front"}, "north": {"uv": [0, 8, 6, 10], "texture": "#front"},
"up": {"uv": [0, 8, 5, 9], "texture": "#front"}, "up": {"uv": [0, 8, 6, 9], "texture": "#front"},
"down": {"uv": [5, 10, 0, 9], "texture": "#front"} "down": {"uv": [6, 8, 0, 10], "texture": "#front"}
} }
}, },
{ {
"name": "Cell Light", "name": "Cell Light",
"from": [9, 13, 1], "from": [9, 13, 1],
"to": [14, 15, 2], "to": [15, 15, 2],
"shade": false, "shade": false,
"faces": { "faces": {
"north": {"uv": [0, 6, 5, 8], "texture": "#top_front"}, "north": {"uv": [0, 6, 6, 8], "texture": "#top_front"},
"down": {"uv": [5, 8, 0, 7], "texture": "#top_front"} "down": {"uv": [6, 6, 0, 8], "texture": "#top_front"}
} }
} }
] ]
@@ -1,4 +1,5 @@
{ {
"credit": "Made with Blockbench",
"ambientocclusion": false, "ambientocclusion": false,
"textures": { "textures": {
"front": "appliedenergistics2:blocks/drive_cell_states" "front": "appliedenergistics2:blocks/drive_cell_states"
@@ -7,11 +8,12 @@
{ {
"name": "Cell Backdrop", "name": "Cell Backdrop",
"from": [9, 13, 1], "from": [9, 13, 1],
"to": [14, 15, 2], "to": [15, 15, 2],
"shade": false,
"faces": { "faces": {
"north": {"uv": [0, 0, 5, 2], "texture": "#front"}, "north": {"uv": [0, 0, 6, 2], "texture": "#front"},
"up": {"uv": [0, 0, 5, 1], "texture": "#front"}, "up": {"uv": [0, 0, 6, 1], "texture": "#front"},
"down": {"uv": [5, 2, 0, 1], "texture": "#front"} "down": {"uv": [6, 0, 0, 2], "texture": "#front"}
} }
} }
] ]
@@ -1,4 +1,5 @@
{ {
"credit": "Made with Blockbench",
"textures": { "textures": {
"front": "appliedenergistics2:blocks/drive_cell_states", "front": "appliedenergistics2:blocks/drive_cell_states",
"top_front": "appliedenergistics2:blocks/drive_cell_states_emissive" "top_front": "appliedenergistics2:blocks/drive_cell_states_emissive"
@@ -7,22 +8,22 @@
{ {
"name": "Cell Backdrop", "name": "Cell Backdrop",
"from": [9, 13, 1], "from": [9, 13, 1],
"to": [14, 15, 2], "to": [15, 15, 2],
"shade": false, "shade": false,
"faces": { "faces": {
"north": {"uv": [0, 8, 5, 10], "texture": "#front"}, "north": {"uv": [0, 8, 6, 10], "texture": "#front"},
"up": {"uv": [0, 8, 5, 9], "texture": "#front"}, "up": {"uv": [0, 8, 6, 9], "texture": "#front"},
"down": {"uv": [5, 10, 0, 9], "texture": "#front"} "down": {"uv": [6, 8, 0, 10], "texture": "#front"}
} }
}, },
{ {
"name": "Cell Light", "name": "Cell Light",
"from": [9, 13, 1], "from": [9, 13, 1],
"to": [14, 15, 2], "to": [15, 15, 2],
"shade": false, "shade": false,
"faces": { "faces": {
"north": {"uv": [0, 2, 5, 4], "texture": "#top_front"}, "north": {"uv": [0, 2, 6, 4], "texture": "#top_front"},
"down": {"uv": [5, 4, 0, 3], "texture": "#top_front"} "down": {"uv": [6, 2, 0, 4], "texture": "#top_front"}
} }
} }
] ]
@@ -1,4 +1,5 @@
{ {
"credit": "Made with Blockbench",
"textures": { "textures": {
"front": "appliedenergistics2:blocks/drive_cell_states", "front": "appliedenergistics2:blocks/drive_cell_states",
"top_front": "appliedenergistics2:blocks/drive_cell_states_emissive" "top_front": "appliedenergistics2:blocks/drive_cell_states_emissive"
@@ -7,22 +8,22 @@
{ {
"name": "Cell Backdrop", "name": "Cell Backdrop",
"from": [9, 13, 1], "from": [9, 13, 1],
"to": [14, 15, 2], "to": [15, 15, 2],
"shade": false, "shade": false,
"faces": { "faces": {
"north": {"uv": [0, 8, 5, 10], "texture": "#front"}, "north": {"uv": [0, 8, 6, 10], "texture": "#front"},
"up": {"uv": [0, 8, 5, 9], "texture": "#front"}, "up": {"uv": [0, 8, 6, 9], "texture": "#front"},
"down": {"uv": [5, 10, 0, 9], "texture": "#front"} "down": {"uv": [6, 8, 0, 10], "texture": "#front"}
} }
}, },
{ {
"name": "Cell Light", "name": "Cell Light",
"from": [9, 13, 1], "from": [9, 13, 1],
"to": [14, 15, 2], "to": [15, 15, 2],
"shade": false, "shade": false,
"faces": { "faces": {
"north": {"uv": [0, 4, 5, 6], "texture": "#top_front"}, "north": {"uv": [0, 4, 6, 6], "texture": "#top_front"},
"down": {"uv": [5, 6, 0, 5], "texture": "#top_front"} "down": {"uv": [6, 4, 0, 6], "texture": "#top_front"}
} }
} }
] ]
@@ -0,0 +1,261 @@
{
"parent": "block/block",
"textures": {
"inside": "appliedenergistics2:blocks/drive_inside",
"particle": "appliedenergistics2:blocks/drive_side",
"side": "appliedenergistics2:blocks/drive_side",
"bottom": "appliedenergistics2:blocks/drive_bottom",
"top": "appliedenergistics2:blocks/drive_top",
"front": "appliedenergistics2:blocks/drive_front"
},
"elements": [
{
"name": "Right Side Panel",
"from": [0, 1, 0],
"to": [1, 15, 16],
"faces": {
"north": {
"uv": [15, 1, 16, 15],
"texture": "#front",
"cullface": "north"
},
"east": {
"uv": [0, 0, 16, 16],
"rotation": 180,
"texture": "#inside",
"cullface": "north"
},
"south": {
"uv": [0, 1, 1, 15],
"texture": "#side",
"cullface": "south"
},
"west": { "uv": [0, 1, 16, 15], "texture": "#side", "cullface": "west" }
}
},
{
"name": "Left Side Panel",
"from": [15, 1, 0],
"to": [16, 15, 16],
"faces": {
"north": {
"uv": [0, 1, 1, 15],
"texture": "#front",
"cullface": "north"
},
"east": {
"uv": [0, 1, 16, 15],
"texture": "#side",
"cullface": "east"
},
"south": {
"uv": [15, 1, 16, 15],
"texture": "#side",
"cullface": "south"
},
"west": {
"uv": [0, 0, 16, 16],
"texture": "#inside",
"cullface": "north"
}
}
},
{
"name": "Back Panel",
"from": [1, 1, 7],
"to": [15, 15, 16],
"rotation": { "angle": 0, "axis": "y", "origin": [8, 8, 9] },
"faces": {
"north": { "uv": [15, 1, 16, 15], "texture": "#inside" },
"south": {
"uv": [1, 1, 15, 15],
"texture": "#side",
"cullface": "south"
}
}
},
{
"name": "Bottom Panel",
"from": [0, 0, 0],
"to": [16, 1, 16],
"faces": {
"north": {
"uv": [0, 15, 16, 16],
"texture": "#front",
"cullface": "north"
},
"east": {
"uv": [0, 15, 16, 16],
"texture": "#side",
"cullface": "east"
},
"south": {
"uv": [0, 15, 16, 16],
"texture": "#side",
"cullface": "south"
},
"west": {
"uv": [0, 15, 16, 16],
"texture": "#side",
"cullface": "west"
},
"up": {
"uv": [0, 0, 16, 16],
"rotation": 90,
"texture": "#inside",
"cullface": "north"
},
"down": {
"uv": [0, 0, 16, 16],
"texture": "#bottom",
"cullface": "down"
}
}
},
{
"name": "Top Panel",
"from": [0, 15, 0],
"to": [16, 16, 16],
"faces": {
"north": {
"uv": [0, 0, 16, 1],
"texture": "#front",
"cullface": "north"
},
"east": { "uv": [0, 0, 16, 1], "texture": "#side", "cullface": "east" },
"south": {
"uv": [0, 0, 16, 1],
"texture": "#side",
"cullface": "south"
},
"west": { "uv": [0, 0, 16, 1], "texture": "#side", "cullface": "west" },
"up": { "uv": [0, 0, 16, 16], "texture": "#top", "cullface": "up" },
"down": {
"uv": [0, 0, 16, 16],
"rotation": 270,
"texture": "#inside",
"cullface": "north"
}
}
},
{
"name": "Middle Strut",
"from": [7, 1, 1],
"to": [9, 15, 7],
"faces": {
"north": {
"uv": [7, 1, 9, 15],
"texture": "#front",
"cullface": "north"
},
"east": {
"uv": [1, 1, 7, 15],
"rotation": 180,
"texture": "#inside",
"cullface": "north"
},
"west": {
"uv": [1, 1, 7, 15],
"texture": "#inside",
"cullface": "north"
}
}
},
{
"name": "Separator",
"from": [1, 3, 2],
"to": [15, 4, 7],
"faces": {
"north": {
"uv": [1, 12, 15, 13],
"texture": "#front",
"cullface": "north"
},
"up": {
"uv": [2, 1, 7, 15],
"rotation": 90,
"texture": "#inside",
"cullface": "north"
},
"down": {
"uv": [2, 1, 7, 15],
"rotation": 270,
"texture": "#inside",
"cullface": "north"
}
}
},
{
"name": "Separator",
"from": [1, 6, 2],
"to": [15, 7, 7],
"faces": {
"north": {
"uv": [1, 9, 15, 10],
"texture": "#front",
"cullface": "north"
},
"up": {
"uv": [2, 1, 7, 15],
"rotation": 90,
"texture": "#inside",
"cullface": "north"
},
"down": {
"uv": [2, 1, 7, 15],
"rotation": 270,
"texture": "#inside",
"cullface": "north"
}
}
},
{
"name": "Separator",
"from": [1, 9, 2],
"to": [15, 10, 7],
"faces": {
"north": {
"uv": [1, 6, 15, 7],
"texture": "#front",
"cullface": "north"
},
"up": {
"uv": [2, 1, 7, 15],
"rotation": 90,
"texture": "#inside",
"cullface": "north"
},
"down": {
"uv": [2, 1, 7, 15],
"rotation": 270,
"texture": "#inside",
"cullface": "north"
}
}
},
{
"name": "Separator",
"from": [1, 12, 2],
"to": [15, 13, 7],
"faces": {
"north": {
"uv": [1, 3, 15, 4],
"texture": "#front",
"cullface": "north"
},
"up": {
"uv": [2, 1, 7, 15],
"rotation": 90,
"texture": "#inside",
"cullface": "north"
},
"down": {
"uv": [2, 1, 7, 15],
"rotation": 270,
"texture": "#inside",
"cullface": "north"
}
}
}
]
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 B

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 3.3 KiB