Fixed EnergyStorage Bug and implemented it with directional energy extraction

This commit is contained in:
Flotschispielt
2026-02-13 22:17:46 +01:00
parent ba5f5e11b4
commit 9bd333d74f
8 changed files with 436 additions and 42 deletions

File diff suppressed because one or more lines are too long

View File

@@ -155,6 +155,110 @@
"doubleSided": false,
"shadingMode": "flat"
}
},
{
"id": "4",
"name": "cube",
"position": {"x": 2, "y": 11, "z": -14},
"orientation": {"x": 0, "y": 0, "z": 0, "w": 1},
"shape": {
"type": "box",
"offset": {"x": -2, "y": 5, "z": 0},
"stretch": {"x": 1, "y": 1, "z": 1},
"settings": {
"isPiece": false,
"size": {"x": 10, "y": 10, "z": 2},
"isStaticBox": true
},
"textureLayout": {
"back": {
"offset": {"x": 3, "y": 1},
"mirror": {"x": false, "y": false},
"angle": 0
},
"right": {
"offset": {"x": 0, "y": 1},
"mirror": {"x": false, "y": false},
"angle": 0
},
"front": {
"offset": {"x": 0, "y": 1},
"mirror": {"x": false, "y": false},
"angle": 0
},
"left": {
"offset": {"x": 0, "y": 1},
"mirror": {"x": false, "y": false},
"angle": 0
},
"top": {
"offset": {"x": 0, "y": 0},
"mirror": {"x": false, "y": false},
"angle": 0
},
"bottom": {
"offset": {"x": 0, "y": 0},
"mirror": {"x": false, "y": false},
"angle": 0
}
},
"unwrapMode": "custom",
"visible": true,
"doubleSided": false,
"shadingMode": "flat"
}
},
{
"id": "5",
"name": "cube",
"position": {"x": 0, "y": 15, "z": -15},
"orientation": {"x": 0, "y": 0, "z": 0, "w": 1},
"shape": {
"type": "box",
"offset": {"x": 0, "y": 1, "z": 0},
"stretch": {"x": 1, "y": 1, "z": 1},
"settings": {
"isPiece": false,
"size": {"x": 6, "y": 6, "z": 2},
"isStaticBox": true
},
"textureLayout": {
"back": {
"offset": {"x": 0, "y": 0},
"mirror": {"x": false, "y": false},
"angle": 0
},
"right": {
"offset": {"x": 0, "y": 0},
"mirror": {"x": false, "y": false},
"angle": 0
},
"front": {
"offset": {"x": 1, "y": 0},
"mirror": {"x": false, "y": false},
"angle": 0
},
"left": {
"offset": {"x": 0, "y": 0},
"mirror": {"x": false, "y": false},
"angle": 0
},
"top": {
"offset": {"x": 1, "y": 0},
"mirror": {"x": false, "y": false},
"angle": 0
},
"bottom": {
"offset": {"x": 1, "y": 0},
"mirror": {"x": false, "y": false},
"angle": 0
}
},
"unwrapMode": "custom",
"visible": true,
"doubleSided": false,
"shadingMode": "flat"
}
}
],
"format": "prop",