Rewrite drive model to support custom cell models (#4459)

* Rewrite driver model to support custom cell models

Each cell can now register a mapping Item -> ResourceLocation for a
custom cell model. Fallback will always be a 1k item cell.
This commit is contained in:
yueh
2020-07-11 23:07:20 +02:00
committed by GitHub
parent e8143d3618
commit 06735f5c39
30 changed files with 319 additions and 95 deletions
@@ -0,0 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/cells/16k_fluid_cell"
}
}
@@ -0,0 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/cells/16k_item_cell"
}
}
@@ -0,0 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/cells/1k_fluid_cell"
}
}
@@ -1,6 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/fluid_cell"
"cell": "appliedenergistics2:block/drive/cells/1k_item_cell"
}
}
@@ -0,0 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/cells/4k_fluid_cell"
}
}
@@ -1,6 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/item_cell"
"cell": "appliedenergistics2:block/drive/cells/4k_item_cell"
}
}
@@ -0,0 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/cells/64k_fluid_cell"
}
}
@@ -0,0 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/cells/64k_item_cell"
}
}
@@ -0,0 +1,6 @@
{
"parent": "appliedenergistics2:block/drive/drive_cell",
"textures": {
"cell": "appliedenergistics2:block/drive/cells/creative_cell"
}
}
@@ -1,6 +1,6 @@
{
"textures": {
"cell": "appliedenergistics2:block/drive/item_cell"
"cell": "appliedenergistics2:block/drive/cells/default_cell"
},
"elements": [
{
Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 B