diff --git a/src/starter/files/astraplus/contents/ic2/blocks/canning_machine.json b/src/starter/files/astraplus/contents/ic2/blocks/canning_machine.json new file mode 100644 index 0000000..f2acf33 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/canning_machine.json @@ -0,0 +1,491 @@ +{ + "name": "Наполнитель", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/basic/canner", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/basic/canner_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/basic/canner", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/basic/canner", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:canning_machine", + "inputSlots": 2, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 16 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 8 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:canning_machine", + "inputSlots": 2, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 16, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/compressor.json b/src/starter/files/astraplus/contents/ic2/blocks/compressor.json new file mode 100644 index 0000000..b7db275 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/compressor.json @@ -0,0 +1,491 @@ +{ + "name": "Компрессор", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/basic/compressor", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/basic/compressor_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/basic/compressor", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/basic/compressor", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:compressor", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 8 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 5 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:compressor", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 8, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/copper_ore.json b/src/starter/files/astraplus/contents/ic2/blocks/copper_ore.json new file mode 100644 index 0000000..2aaba50 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/copper_ore.json @@ -0,0 +1,19 @@ +{ + "name": "Медная руда IC2", + "translations": {}, + "material": "minecraft:iron_ore", + "block": { + "base": "minecraft:iron_ore", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3, + "explosionResistance": 3, + "properties": {}, + "appearances": [] + }, + "model": "ic2:block/resource/copper_ore", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/resource/copper_ore" +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/electric_furnace.json b/src/starter/files/astraplus/contents/ic2/blocks/electric_furnace.json new file mode 100644 index 0000000..5708d1e --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/electric_furnace.json @@ -0,0 +1,491 @@ +{ + "name": "Электропечь", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/basic/electric_furnace", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/basic/electric_furnace_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/basic/electric_furnace", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/basic/electric_furnace", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:electric_furnace", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 6 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 4 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:electric_furnace", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 6, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/extractor.json b/src/starter/files/astraplus/contents/ic2/blocks/extractor.json new file mode 100644 index 0000000..3f9c95a --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/extractor.json @@ -0,0 +1,491 @@ +{ + "name": "Экстрактор", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/basic/extractor", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/basic/extractor_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/basic/extractor", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/basic/extractor", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:extractor", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 8 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 5 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:extractor", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 8, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/generator.json b/src/starter/files/astraplus/contents/ic2/blocks/generator.json new file mode 100644 index 0000000..e121ef4 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/generator.json @@ -0,0 +1,251 @@ +{ + "name": "Генератор", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/generator/electric/generator", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/generator/electric/generator_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/generator/electric/generator", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/generator/electric/generator", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 330 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 580 + }, + { + "id": "initialize", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "energy", + "operation": "set" + }, + "x": 340, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 340, + "y": 330 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 340, + "y": 580 + }, + { + "id": "has_room", + "type": "compare:lt", + "inputs": { + "b": 10000 + }, + "x": 640, + "y": 580 + }, + { + "id": "room_branch", + "type": "flow:branch", + "inputs": {}, + "x": 640, + "y": 330 + }, + { + "id": "generate", + "type": "action:block_number", + "inputs": { + "value": 10, + "property": "energy", + "operation": "add" + }, + "x": 940, + "y": 330 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 940, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize", + "port": "in" + } + }, + { + "from": { + "node": "initialize", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "room_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "has_room", + "port": "a" + } + }, + { + "from": { + "node": "has_room", + "port": "value" + }, + "to": { + "node": "room_branch", + "port": "condition" + } + }, + { + "from": { + "node": "room_branch", + "port": "true" + }, + "to": { + "node": "generate", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "generate", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/induction_furnace.json b/src/starter/files/astraplus/contents/ic2/blocks/induction_furnace.json new file mode 100644 index 0000000..aa18c95 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/induction_furnace.json @@ -0,0 +1,491 @@ +{ + "name": "Индукционная печь", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/advanced/induction_furnace", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/advanced/induction_furnace_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/advanced/induction_furnace", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/advanced/induction_furnace", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:induction_furnace", + "inputSlots": 2, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 32 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 4 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:induction_furnace", + "inputSlots": 2, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 32, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/lead_ore.json b/src/starter/files/astraplus/contents/ic2/blocks/lead_ore.json new file mode 100644 index 0000000..e3e3a29 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/lead_ore.json @@ -0,0 +1,19 @@ +{ + "name": "Свинцовая руда", + "translations": {}, + "material": "minecraft:iron_ore", + "block": { + "base": "minecraft:iron_ore", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3, + "explosionResistance": 3, + "properties": {}, + "appearances": [] + }, + "model": "ic2:block/resource/lead_ore", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/resource/lead_ore" +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/macerator.json b/src/starter/files/astraplus/contents/ic2/blocks/macerator.json new file mode 100644 index 0000000..3445344 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/macerator.json @@ -0,0 +1,491 @@ +{ + "name": "Дробитель", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/basic/macerator", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/basic/macerator_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/basic/macerator", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/basic/macerator", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:macerator", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 8 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 5 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:macerator", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 8, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/metal_former.json b/src/starter/files/astraplus/contents/ic2/blocks/metal_former.json new file mode 100644 index 0000000..84de1bf --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/metal_former.json @@ -0,0 +1,491 @@ +{ + "name": "Металлоформовщик", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/advanced/metal_former", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/advanced/metal_former_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/advanced/metal_former", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/advanced/metal_former", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:metal_former", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 12 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 6 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:metal_former", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 12, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/recycler.json b/src/starter/files/astraplus/contents/ic2/blocks/recycler.json new file mode 100644 index 0000000..3792ee4 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/recycler.json @@ -0,0 +1,491 @@ +{ + "name": "Утилизатор", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/basic/recycler", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/basic/recycler_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/basic/recycler", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/basic/recycler", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:recycler", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 4 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 6 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:recycler", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 4, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/thermal_centrifuge.json b/src/starter/files/astraplus/contents/ic2/blocks/thermal_centrifuge.json new file mode 100644 index 0000000..530ad5c --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/thermal_centrifuge.json @@ -0,0 +1,491 @@ +{ + "name": "Термоцентрифуга", + "translations": {}, + "material": "minecraft:furnace", + "block": { + "base": "minecraft:furnace", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3.5, + "explosionResistance": 6, + "properties": { + "facing": "north", + "lit": "false" + }, + "appearances": [ + { + "when": { + "lit": "false" + }, + "model": "ic2:block/machine/processing/advanced/centrifuge", + "rotation": 0 + }, + { + "when": { + "lit": "true" + }, + "model": "ic2:block/machine/processing/advanced/centrifuge_active", + "rotation": 0 + } + ] + }, + "model": "ic2:block/machine/processing/advanced/centrifuge", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/machine/processing/advanced/centrifuge", + "logic": { + "version": 1, + "nodes": [ + { + "id": "placed", + "type": "event:place_block", + "inputs": {}, + "x": 40, + "y": 40 + }, + { + "id": "tick", + "type": "event:block_tick", + "inputs": {}, + "x": 40, + "y": 340 + }, + { + "id": "position", + "type": "context:position", + "inputs": { + "path": "event.position" + }, + "x": 40, + "y": 640 + }, + { + "id": "initialize_energy", + "type": "action:block_number", + "inputs": { + "value": 10000, + "property": "energy", + "operation": "set" + }, + "x": 330, + "y": 40 + }, + { + "id": "initialize_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 630, + "y": 40 + }, + { + "id": "sequence", + "type": "flow:sequence", + "inputs": {}, + "x": 330, + "y": 340 + }, + { + "id": "recipe", + "type": "block:recipe_available", + "inputs": { + "station": "ic2:thermal_centrifuge", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 330, + "y": 570 + }, + { + "id": "energy", + "type": "block:number", + "inputs": { + "property": "energy", + "fallback": 0 + }, + "x": 330, + "y": 760 + }, + { + "id": "enough_energy", + "type": "compare:gte", + "inputs": { + "b": 48 + }, + "x": 630, + "y": 760 + }, + { + "id": "ready", + "type": "boolean:and", + "inputs": {}, + "x": 630, + "y": 570 + }, + { + "id": "ready_branch", + "type": "flow:branch", + "inputs": {}, + "x": 920, + "y": 340 + }, + { + "id": "advance", + "type": "action:block_number", + "inputs": { + "value": 1, + "property": "progress", + "operation": "add" + }, + "x": 1210, + "y": 340 + }, + { + "id": "progress", + "type": "block:number", + "inputs": { + "property": "progress", + "fallback": 0 + }, + "x": 1210, + "y": 570 + }, + { + "id": "finished", + "type": "compare:gte", + "inputs": { + "b": 10 + }, + "x": 1500, + "y": 570 + }, + { + "id": "finish_branch", + "type": "flow:branch", + "inputs": {}, + "x": 1500, + "y": 340 + }, + { + "id": "complete", + "type": "action:complete_block_recipe", + "inputs": { + "station": "ic2:thermal_centrifuge", + "inputSlots": 1, + "firstInput": 0, + "outputSlot": 2 + }, + "x": 1790, + "y": 340 + }, + { + "id": "spend_energy", + "type": "action:block_number", + "inputs": { + "value": 48, + "property": "energy", + "operation": "subtract" + }, + "x": 2080, + "y": 340 + }, + { + "id": "reset_progress", + "type": "action:block_number", + "inputs": { + "value": 0, + "property": "progress", + "operation": "set" + }, + "x": 2370, + "y": 340 + }, + { + "id": "schedule", + "type": "action:schedule_block_tick", + "inputs": { + "ticks": 20 + }, + "x": 920, + "y": 40 + } + ], + "edges": [ + { + "from": { + "node": "placed", + "port": "next" + }, + "to": { + "node": "initialize_energy", + "port": "in" + } + }, + { + "from": { + "node": "initialize_energy", + "port": "next" + }, + "to": { + "node": "initialize_progress", + "port": "in" + } + }, + { + "from": { + "node": "initialize_progress", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "sequence", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "first" + }, + "to": { + "node": "ready_branch", + "port": "in" + } + }, + { + "from": { + "node": "sequence", + "port": "next" + }, + "to": { + "node": "schedule", + "port": "in" + } + }, + { + "from": { + "node": "recipe", + "port": "value" + }, + "to": { + "node": "ready", + "port": "a" + } + }, + { + "from": { + "node": "energy", + "port": "value" + }, + "to": { + "node": "enough_energy", + "port": "a" + } + }, + { + "from": { + "node": "enough_energy", + "port": "value" + }, + "to": { + "node": "ready", + "port": "b" + } + }, + { + "from": { + "node": "ready", + "port": "value" + }, + "to": { + "node": "ready_branch", + "port": "condition" + } + }, + { + "from": { + "node": "ready_branch", + "port": "true" + }, + "to": { + "node": "advance", + "port": "in" + } + }, + { + "from": { + "node": "advance", + "port": "next" + }, + "to": { + "node": "finish_branch", + "port": "in" + } + }, + { + "from": { + "node": "progress", + "port": "value" + }, + "to": { + "node": "finished", + "port": "a" + } + }, + { + "from": { + "node": "finished", + "port": "value" + }, + "to": { + "node": "finish_branch", + "port": "condition" + } + }, + { + "from": { + "node": "finish_branch", + "port": "true" + }, + "to": { + "node": "complete", + "port": "in" + } + }, + { + "from": { + "node": "complete", + "port": "success" + }, + "to": { + "node": "spend_energy", + "port": "in" + } + }, + { + "from": { + "node": "spend_energy", + "port": "next" + }, + "to": { + "node": "reset_progress", + "port": "in" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "initialize_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "recipe", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "advance", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "complete", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "spend_energy", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "reset_progress", + "port": "position" + } + }, + { + "from": { + "node": "position", + "port": "value" + }, + "to": { + "node": "schedule", + "port": "position" + } + } + ] + } +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/tin_ore.json b/src/starter/files/astraplus/contents/ic2/blocks/tin_ore.json new file mode 100644 index 0000000..a0366fa --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/tin_ore.json @@ -0,0 +1,19 @@ +{ + "name": "Оловянная руда", + "translations": {}, + "material": "minecraft:iron_ore", + "block": { + "base": "minecraft:iron_ore", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3, + "explosionResistance": 3, + "properties": {}, + "appearances": [] + }, + "model": "ic2:block/resource/tin_ore", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/resource/tin_ore" +} diff --git a/src/starter/files/astraplus/contents/ic2/blocks/uranium_ore.json b/src/starter/files/astraplus/contents/ic2/blocks/uranium_ore.json new file mode 100644 index 0000000..e42b8a7 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/blocks/uranium_ore.json @@ -0,0 +1,19 @@ +{ + "name": "Урановая руда", + "translations": {}, + "material": "minecraft:iron_ore", + "block": { + "base": "minecraft:iron_ore", + "nativeBase": true, + "slot": 0, + "dropCount": 1, + "hardness": 3, + "explosionResistance": 3, + "properties": {}, + "appearances": [] + }, + "model": "ic2:block/resource/uranium_ore", + "components": {}, + "mechanics": [], + "itemModel": "ic2:block/resource/uranium_ore" +} diff --git a/src/starter/files/astraplus/contents/ic2/effects/radiation.json b/src/starter/files/astraplus/contents/ic2/effects/radiation.json new file mode 100644 index 0000000..2510c7f --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/effects/radiation.json @@ -0,0 +1,106 @@ +{ + "attributes": [ + { + "amount": -0.15, + "attribute": "minecraft:movement_speed", + "operation": "ADD_MULTIPLIED_BASE" + }, + { + "amount": -2, + "attribute": "minecraft:attack_damage", + "operation": "ADD_VALUE" + } + ], + "category": "HARMFUL", + "color": 8191744, + "death": true, + "id": "ic2:radiation", + "interval": 20, + "milk": true, + "name": "Радиация", + "translations": {}, + "logic": { + "version": 1, + "nodes": [ + { + "id": "tick", + "type": "event:effect_tick", + "inputs": {}, + "x": 40, + "y": 180 + }, + { + "id": "affected", + "type": "context:entity", + "inputs": { + "path": "actor.entity" + }, + "x": 40, + "y": 430 + }, + { + "id": "damage", + "type": "action:damage", + "inputs": { + "amount": 1 + }, + "x": 360, + "y": 180 + }, + { + "id": "nausea", + "type": "action:entity_effect", + "inputs": { + "duration": 100, + "effect": "minecraft:nausea", + "level": 1 + }, + "x": 680, + "y": 180 + } + ], + "edges": [ + { + "from": { + "node": "tick", + "port": "next" + }, + "to": { + "node": "damage", + "port": "in" + } + }, + { + "from": { + "node": "damage", + "port": "next" + }, + "to": { + "node": "nausea", + "port": "in" + } + }, + { + "from": { + "node": "affected", + "port": "value" + }, + "to": { + "node": "damage", + "port": "entity" + } + }, + { + "from": { + "node": "affected", + "port": "value" + }, + "to": { + "node": "nausea", + "port": "entity" + } + } + ] + }, + "icon": "ic2:mob_effect/radiation" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/advanced_circuit.json b/src/starter/files/astraplus/contents/ic2/items/advanced_circuit.json new file mode 100644 index 0000000..e1ac334 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/advanced_circuit.json @@ -0,0 +1,8 @@ +{ + "name": "Улучшенная электросхема", + "translations": {}, + "material": "minecraft:lapis_lazuli", + "components": {}, + "mechanics": [], + "texture": "ic2:items/crafting/advanced_circuit" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/advanced_machine_casing.json b/src/starter/files/astraplus/contents/ic2/items/advanced_machine_casing.json new file mode 100644 index 0000000..de8e87e --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/advanced_machine_casing.json @@ -0,0 +1,8 @@ +{ + "name": "Усиленный корпус механизма", + "translations": {}, + "material": "minecraft:diamond", + "model": "ic2:block/resource/advanced_machine", + "components": {}, + "mechanics": [] +} diff --git a/src/starter/files/astraplus/contents/ic2/items/advanced_re_battery.json b/src/starter/files/astraplus/contents/ic2/items/advanced_re_battery.json new file mode 100644 index 0000000..2162d85 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/advanced_re_battery.json @@ -0,0 +1,18 @@ +{ + "name": "Улучшенный аккумулятор", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": { + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "min": 0, + "max": 100000 + } + }, + "mechanics": [], + "texture": "ic2:items/battery/advanced_re_battery_0" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/bronze_dust.json b/src/starter/files/astraplus/contents/ic2/items/bronze_dust.json new file mode 100644 index 0000000..ca0b548 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/bronze_dust.json @@ -0,0 +1,8 @@ +{ + "name": "Бронзовая пыль", + "translations": {}, + "material": "minecraft:brown_dye", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/dust/bronze" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/bronze_ingot.json b/src/starter/files/astraplus/contents/ic2/items/bronze_ingot.json new file mode 100644 index 0000000..5ea8d59 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/bronze_ingot.json @@ -0,0 +1,8 @@ +{ + "name": "Бронзовый слиток", + "translations": {}, + "material": "minecraft:copper_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/ingot/bronze" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/bronze_plate.json b/src/starter/files/astraplus/contents/ic2/items/bronze_plate.json new file mode 100644 index 0000000..8e43203 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/bronze_plate.json @@ -0,0 +1,8 @@ +{ + "name": "Бронзовая пластина", + "translations": {}, + "material": "minecraft:copper_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/plate/bronze" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/carbon_fibre.json b/src/starter/files/astraplus/contents/ic2/items/carbon_fibre.json new file mode 100644 index 0000000..2262d7e --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/carbon_fibre.json @@ -0,0 +1,8 @@ +{ + "name": "Углеволокно", + "translations": {}, + "material": "minecraft:charcoal", + "components": {}, + "mechanics": [], + "texture": "ic2:items/crafting/carbon_fibre" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/carbon_mesh.json b/src/starter/files/astraplus/contents/ic2/items/carbon_mesh.json new file mode 100644 index 0000000..ef55c85 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/carbon_mesh.json @@ -0,0 +1,8 @@ +{ + "name": "Углеродная сетка", + "translations": {}, + "material": "minecraft:black_dye", + "components": {}, + "mechanics": [], + "texture": "ic2:items/crafting/carbon_mesh" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/carbon_plate.json b/src/starter/files/astraplus/contents/ic2/items/carbon_plate.json new file mode 100644 index 0000000..9135acc --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/carbon_plate.json @@ -0,0 +1,8 @@ +{ + "name": "Углепластик", + "translations": {}, + "material": "minecraft:netherite_scrap", + "components": {}, + "mechanics": [], + "texture": "ic2:items/crafting/carbon_plate" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/chainsaw.json b/src/starter/files/astraplus/contents/ic2/items/chainsaw.json new file mode 100644 index 0000000..c72d88f --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/chainsaw.json @@ -0,0 +1,22 @@ +{ + "name": "Электропила", + "translations": {}, + "material": "minecraft:iron_axe", + "components": { + "minecraft:tool": { + "default_mining_speed": 10, + "damage_per_block": 0, + "rules": [] + }, + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 30000 + } + }, + "mechanics": [], + "texture": "ic2:items/tool/electric/chainsaw" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/charging_energy_crystal.json b/src/starter/files/astraplus/contents/ic2/items/charging_energy_crystal.json new file mode 100644 index 0000000..9ed8e42 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/charging_energy_crystal.json @@ -0,0 +1,17 @@ +{ + "name": "Заряжающий энергокристалл", + "translations": {}, + "material": "minecraft:amethyst_shard", + "components": { + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 1000000 + } + }, + "mechanics": [], + "texture": "ic2:items/battery/charging_energy_crystal_0" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/charging_lapotron_crystal.json b/src/starter/files/astraplus/contents/ic2/items/charging_lapotron_crystal.json new file mode 100644 index 0000000..847985b --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/charging_lapotron_crystal.json @@ -0,0 +1,17 @@ +{ + "name": "Заряжающий лазуротрон", + "translations": {}, + "material": "minecraft:diamond", + "components": { + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 10000000 + } + }, + "mechanics": [], + "texture": "ic2:items/battery/charging_lapotron_crystal_0" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/charging_re_battery.json b/src/starter/files/astraplus/contents/ic2/items/charging_re_battery.json new file mode 100644 index 0000000..dc7f0da --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/charging_re_battery.json @@ -0,0 +1,18 @@ +{ + "name": "Заряжающий аккумулятор", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": { + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "min": 0, + "max": 10000 + } + }, + "mechanics": [], + "texture": "ic2:items/battery/charging_re_battery_0" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/coal_dust.json b/src/starter/files/astraplus/contents/ic2/items/coal_dust.json new file mode 100644 index 0000000..0f55b90 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/coal_dust.json @@ -0,0 +1,8 @@ +{ + "name": "Угольная пыль", + "translations": {}, + "material": "minecraft:black_dye", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/dust/coal" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/coil.json b/src/starter/files/astraplus/contents/ic2/items/coil.json new file mode 100644 index 0000000..4ee4012 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/coil.json @@ -0,0 +1,8 @@ +{ + "name": "Катушка", + "translations": {}, + "material": "minecraft:copper_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/crafting/coil" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/copper_casing.json b/src/starter/files/astraplus/contents/ic2/items/copper_casing.json new file mode 100644 index 0000000..130ef7c --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/copper_casing.json @@ -0,0 +1,8 @@ +{ + "name": "Медная оболочка", + "translations": {}, + "material": "minecraft:copper_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/casing/copper" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/copper_dust.json b/src/starter/files/astraplus/contents/ic2/items/copper_dust.json new file mode 100644 index 0000000..ae5bcd1 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/copper_dust.json @@ -0,0 +1,8 @@ +{ + "name": "Медная пыль", + "translations": {}, + "material": "minecraft:paper", + "texture": "ic2:items/resource/dust/copper", + "components": {}, + "mechanics": [] +} diff --git a/src/starter/files/astraplus/contents/ic2/items/copper_plate.json b/src/starter/files/astraplus/contents/ic2/items/copper_plate.json new file mode 100644 index 0000000..36b5086 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/copper_plate.json @@ -0,0 +1,8 @@ +{ + "name": "Медная пластина", + "translations": {}, + "material": "minecraft:copper_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/plate/copper" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/diamond_drill.json b/src/starter/files/astraplus/contents/ic2/items/diamond_drill.json new file mode 100644 index 0000000..9d0de54 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/diamond_drill.json @@ -0,0 +1,22 @@ +{ + "components": { + "minecraft:max_stack_size": 1, + "minecraft:tool": { + "damage_per_block": 0, + "default_mining_speed": 12, + "rules": [] + } + }, + "material": "minecraft:diamond_pickaxe", + "mechanics": [], + "name": "Алмазный бур", + "properties": { + "energy": { + "defaultValue": 0, + "max": 80000, + "type": "number" + } + }, + "translations": {}, + "texture": "ic2:items/tool/electric/diamond_drill" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/electric_hoe.json b/src/starter/files/astraplus/contents/ic2/items/electric_hoe.json new file mode 100644 index 0000000..4c28a24 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/electric_hoe.json @@ -0,0 +1,22 @@ +{ + "name": "Электрическая мотыга", + "translations": {}, + "material": "minecraft:iron_hoe", + "components": { + "minecraft:tool": { + "default_mining_speed": 6, + "damage_per_block": 0, + "rules": [] + }, + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 10000 + } + }, + "mechanics": [], + "texture": "ic2:items/tool/electric/electric_hoe" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/electric_treetap.json b/src/starter/files/astraplus/contents/ic2/items/electric_treetap.json new file mode 100644 index 0000000..a612c01 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/electric_treetap.json @@ -0,0 +1,22 @@ +{ + "name": "Электрический краник", + "translations": {}, + "material": "minecraft:wooden_hoe", + "components": { + "minecraft:tool": { + "default_mining_speed": 4, + "damage_per_block": 0, + "rules": [] + }, + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 10000 + } + }, + "mechanics": [], + "texture": "ic2:items/tool/electric/electric_treetap" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/electric_wrench.json b/src/starter/files/astraplus/contents/ic2/items/electric_wrench.json new file mode 100644 index 0000000..41c9495 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/electric_wrench.json @@ -0,0 +1,22 @@ +{ + "name": "Электрический гаечный ключ", + "translations": {}, + "material": "minecraft:iron_pickaxe", + "components": { + "minecraft:tool": { + "default_mining_speed": 6, + "damage_per_block": 0, + "rules": [] + }, + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 12000 + } + }, + "mechanics": [], + "texture": "ic2:items/tool/electric/electric_wrench" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/electronic_circuit.json b/src/starter/files/astraplus/contents/ic2/items/electronic_circuit.json new file mode 100644 index 0000000..a1109d4 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/electronic_circuit.json @@ -0,0 +1,8 @@ +{ + "name": "Электросхема", + "translations": {}, + "material": "minecraft:copper_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/crafting/circuit" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/energy_crystal.json b/src/starter/files/astraplus/contents/ic2/items/energy_crystal.json new file mode 100644 index 0000000..1d8ee1d --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/energy_crystal.json @@ -0,0 +1,17 @@ +{ + "name": "Энергетический кристалл", + "translations": {}, + "material": "minecraft:amethyst_shard", + "components": { + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 1000000 + } + }, + "mechanics": [], + "texture": "ic2:items/battery/energy_crystal_0" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/filled_tin_can.json b/src/starter/files/astraplus/contents/ic2/items/filled_tin_can.json new file mode 100644 index 0000000..818eaac --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/filled_tin_can.json @@ -0,0 +1,8 @@ +{ + "name": "Консервы", + "translations": {}, + "material": "minecraft:paper", + "texture": "ic2:items/filled_tin_can", + "components": {}, + "mechanics": [] +} diff --git a/src/starter/files/astraplus/contents/ic2/items/forge_hammer.json b/src/starter/files/astraplus/contents/ic2/items/forge_hammer.json new file mode 100644 index 0000000..897aee9 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/forge_hammer.json @@ -0,0 +1,11 @@ +{ + "name": "Кузнечный молот", + "translations": {}, + "material": "minecraft:iron_pickaxe", + "components": { + "minecraft:max_damage": 80, + "minecraft:max_stack_size": 1 + }, + "mechanics": [], + "texture": "ic2:items/tool/forge_hammer" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/gold_dust.json b/src/starter/files/astraplus/contents/ic2/items/gold_dust.json new file mode 100644 index 0000000..ed23a8b --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/gold_dust.json @@ -0,0 +1,8 @@ +{ + "name": "Золотая пыль", + "translations": {}, + "material": "minecraft:glowstone_dust", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/dust/gold" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/gold_plate.json b/src/starter/files/astraplus/contents/ic2/items/gold_plate.json new file mode 100644 index 0000000..fc05e61 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/gold_plate.json @@ -0,0 +1,8 @@ +{ + "name": "Золотая пластина", + "translations": {}, + "material": "minecraft:gold_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/plate/gold" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/iridium_drill.json b/src/starter/files/astraplus/contents/ic2/items/iridium_drill.json new file mode 100644 index 0000000..ba96569 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/iridium_drill.json @@ -0,0 +1,22 @@ +{ + "name": "Иридиевый бур", + "translations": {}, + "material": "minecraft:netherite_pickaxe", + "components": { + "minecraft:tool": { + "default_mining_speed": 20, + "damage_per_block": 0, + "rules": [] + }, + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 300000 + } + }, + "mechanics": [], + "texture": "ic2:items/tool/electric/iridium_drill" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/iron_casing.json b/src/starter/files/astraplus/contents/ic2/items/iron_casing.json new file mode 100644 index 0000000..78410c2 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/iron_casing.json @@ -0,0 +1,8 @@ +{ + "name": "Железная оболочка", + "translations": {}, + "material": "minecraft:iron_nugget", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/casing/iron" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/iron_dust.json b/src/starter/files/astraplus/contents/ic2/items/iron_dust.json new file mode 100644 index 0000000..c045779 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/iron_dust.json @@ -0,0 +1,8 @@ +{ + "name": "Железная пыль", + "translations": {}, + "material": "minecraft:gunpowder", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/dust/iron" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/iron_plate.json b/src/starter/files/astraplus/contents/ic2/items/iron_plate.json new file mode 100644 index 0000000..302fe98 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/iron_plate.json @@ -0,0 +1,8 @@ +{ + "name": "Железная пластина", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/plate/iron" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/lapotron_crystal.json b/src/starter/files/astraplus/contents/ic2/items/lapotron_crystal.json new file mode 100644 index 0000000..53bd1d7 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/lapotron_crystal.json @@ -0,0 +1,17 @@ +{ + "name": "Лазуротроновый кристалл", + "translations": {}, + "material": "minecraft:diamond", + "components": { + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 10000000 + } + }, + "mechanics": [], + "texture": "ic2:items/battery/lapotron_crystal_0" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/lead_dust.json b/src/starter/files/astraplus/contents/ic2/items/lead_dust.json new file mode 100644 index 0000000..5b0c360 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/lead_dust.json @@ -0,0 +1,8 @@ +{ + "name": "Свинцовая пыль", + "translations": {}, + "material": "minecraft:gray_dye", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/dust/lead" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/lead_ingot.json b/src/starter/files/astraplus/contents/ic2/items/lead_ingot.json new file mode 100644 index 0000000..c77840b --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/lead_ingot.json @@ -0,0 +1,8 @@ +{ + "name": "Свинцовый слиток", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/ingot/lead" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/lead_plate.json b/src/starter/files/astraplus/contents/ic2/items/lead_plate.json new file mode 100644 index 0000000..6b03cf2 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/lead_plate.json @@ -0,0 +1,8 @@ +{ + "name": "Свинцовая пластина", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/plate/lead" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/machine_casing.json b/src/starter/files/astraplus/contents/ic2/items/machine_casing.json new file mode 100644 index 0000000..8f81402 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/machine_casing.json @@ -0,0 +1,8 @@ +{ + "name": "Корпус механизма", + "translations": {}, + "material": "minecraft:iron_ingot", + "model": "ic2:block/resource/machine", + "components": {}, + "mechanics": [] +} diff --git a/src/starter/files/astraplus/contents/ic2/items/mining_drill.json b/src/starter/files/astraplus/contents/ic2/items/mining_drill.json new file mode 100644 index 0000000..c26909d --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/mining_drill.json @@ -0,0 +1,22 @@ +{ + "name": "Шахтёрский бур", + "translations": {}, + "material": "minecraft:iron_pickaxe", + "components": { + "minecraft:tool": { + "default_mining_speed": 8, + "damage_per_block": 0, + "rules": [] + }, + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 32000 + } + }, + "mechanics": [], + "texture": "ic2:items/tool/electric/drill" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/mining_laser.json b/src/starter/files/astraplus/contents/ic2/items/mining_laser.json new file mode 100644 index 0000000..bb4a465 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/mining_laser.json @@ -0,0 +1,22 @@ +{ + "name": "Шахтёрский лазер", + "translations": {}, + "material": "minecraft:bow", + "components": { + "minecraft:tool": { + "default_mining_speed": 1, + "damage_per_block": 0, + "rules": [] + }, + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 300000 + } + }, + "mechanics": [], + "texture": "ic2:items/tool/electric/mining_laser" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/re_battery.json b/src/starter/files/astraplus/contents/ic2/items/re_battery.json new file mode 100644 index 0000000..f74e4bd --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/re_battery.json @@ -0,0 +1,18 @@ +{ + "name": "Аккумулятор", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": { + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "min": 0, + "max": 10000 + } + }, + "mechanics": [], + "texture": "ic2:items/battery/re_battery_0" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/refined_iron_ingot.json b/src/starter/files/astraplus/contents/ic2/items/refined_iron_ingot.json new file mode 100644 index 0000000..3f1314e --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/refined_iron_ingot.json @@ -0,0 +1,8 @@ +{ + "name": "Очищенное железо", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/ingot/refined_iron" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/resin.json b/src/starter/files/astraplus/contents/ic2/items/resin.json new file mode 100644 index 0000000..fa79c4c --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/resin.json @@ -0,0 +1,8 @@ +{ + "name": "Липкая смола", + "translations": {}, + "material": "minecraft:honeycomb", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/resin" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/rubber.json b/src/starter/files/astraplus/contents/ic2/items/rubber.json new file mode 100644 index 0000000..6ae1d73 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/rubber.json @@ -0,0 +1,8 @@ +{ + "name": "Резина", + "translations": {}, + "material": "minecraft:slime_ball", + "components": {}, + "mechanics": [], + "texture": "ic2:items/crafting/rubber" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/scrap.json b/src/starter/files/astraplus/contents/ic2/items/scrap.json new file mode 100644 index 0000000..2d80f00 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/scrap.json @@ -0,0 +1,8 @@ +{ + "name": "Утильсырьё", + "translations": {}, + "material": "minecraft:paper", + "texture": "ic2:items/crafting/scrap", + "components": {}, + "mechanics": [] +} diff --git a/src/starter/files/astraplus/contents/ic2/items/silver_ingot.json b/src/starter/files/astraplus/contents/ic2/items/silver_ingot.json new file mode 100644 index 0000000..fcfaa9b --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/silver_ingot.json @@ -0,0 +1,8 @@ +{ + "name": "Серебряный слиток", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/ingot/silver" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/single_use_battery.json b/src/starter/files/astraplus/contents/ic2/items/single_use_battery.json new file mode 100644 index 0000000..eda2c9e --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/single_use_battery.json @@ -0,0 +1,17 @@ +{ + "name": "Одноразовая батарея", + "translations": {}, + "material": "minecraft:glowstone_dust", + "components": { + "minecraft:max_stack_size": 1 + }, + "properties": { + "energy": { + "type": "number", + "defaultValue": 0, + "max": 1200 + } + }, + "mechanics": [], + "texture": "ic2:items/battery/single_use_battery" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/steel_ingot.json b/src/starter/files/astraplus/contents/ic2/items/steel_ingot.json new file mode 100644 index 0000000..f2d3b0e --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/steel_ingot.json @@ -0,0 +1,8 @@ +{ + "name": "Стальной слиток", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/ingot/steel" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/steel_plate.json b/src/starter/files/astraplus/contents/ic2/items/steel_plate.json new file mode 100644 index 0000000..4819b08 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/steel_plate.json @@ -0,0 +1,8 @@ +{ + "name": "Стальная пластина", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/plate/steel" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/tin_can.json b/src/starter/files/astraplus/contents/ic2/items/tin_can.json new file mode 100644 index 0000000..fa11b3b --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/tin_can.json @@ -0,0 +1,8 @@ +{ + "name": "Жестяная банка", + "translations": {}, + "material": "minecraft:paper", + "texture": "ic2:items/crafting/tin_can", + "components": {}, + "mechanics": [] +} diff --git a/src/starter/files/astraplus/contents/ic2/items/tin_casing.json b/src/starter/files/astraplus/contents/ic2/items/tin_casing.json new file mode 100644 index 0000000..5f943e1 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/tin_casing.json @@ -0,0 +1,8 @@ +{ + "name": "Оловянная оболочка", + "translations": {}, + "material": "minecraft:iron_nugget", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/casing/tin" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/tin_dust.json b/src/starter/files/astraplus/contents/ic2/items/tin_dust.json new file mode 100644 index 0000000..ffabe97 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/tin_dust.json @@ -0,0 +1,8 @@ +{ + "name": "Оловянная пыль", + "translations": {}, + "material": "minecraft:gunpowder", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/dust/tin" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/tin_ingot.json b/src/starter/files/astraplus/contents/ic2/items/tin_ingot.json new file mode 100644 index 0000000..ac61bdf --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/tin_ingot.json @@ -0,0 +1,8 @@ +{ + "name": "Оловянный слиток", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/ingot/tin" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/tin_plate.json b/src/starter/files/astraplus/contents/ic2/items/tin_plate.json new file mode 100644 index 0000000..a1f3775 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/tin_plate.json @@ -0,0 +1,8 @@ +{ + "name": "Оловянная пластина", + "translations": {}, + "material": "minecraft:iron_ingot", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/plate/tin" +} diff --git a/src/starter/files/astraplus/contents/ic2/items/uranium_ingot.json b/src/starter/files/astraplus/contents/ic2/items/uranium_ingot.json new file mode 100644 index 0000000..b53dac7 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/items/uranium_ingot.json @@ -0,0 +1,8 @@ +{ + "name": "Слиток очищенного урана", + "translations": {}, + "material": "minecraft:emerald", + "components": {}, + "mechanics": [], + "texture": "ic2:items/resource/ingot/uranium" +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/canning_machine/food.json b/src/starter/files/astraplus/contents/ic2/recipes/canning_machine/food.json new file mode 100644 index 0000000..c25bafd --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/canning_machine/food.json @@ -0,0 +1,32 @@ +{ + "name": "Наполнение жестяной банки", + "station": "ic2:canning_machine", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "ic2:tin_can", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + }, + { + "id": "minecraft:apple", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:filled_tin_can", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 160, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/compressor/carbon_plate.json b/src/starter/files/astraplus/contents/ic2/recipes/compressor/carbon_plate.json new file mode 100644 index 0000000..ab03ab1 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/compressor/carbon_plate.json @@ -0,0 +1,25 @@ +{ + "name": "Сжатие углеродной пластины", + "station": "ic2:compressor", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "ic2:carbon_mesh", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:carbon_plate", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 100, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/electric_furnace/iron_ingot.json b/src/starter/files/astraplus/contents/ic2/recipes/electric_furnace/iron_ingot.json new file mode 100644 index 0000000..b395a34 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/electric_furnace/iron_ingot.json @@ -0,0 +1,25 @@ +{ + "name": "Электроплавка железа", + "station": "ic2:electric_furnace", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "ic2:iron_dust", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "minecraft:iron_ingot", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 80, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/extractor/rubber.json b/src/starter/files/astraplus/contents/ic2/recipes/extractor/rubber.json new file mode 100644 index 0000000..9c295ab --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/extractor/rubber.json @@ -0,0 +1,25 @@ +{ + "name": "Извлечение резины", + "station": "ic2:extractor", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "ic2:resin", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:rubber", + "count": 3, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 100, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/induction_furnace/bronze.json b/src/starter/files/astraplus/contents/ic2/recipes/induction_furnace/bronze.json new file mode 100644 index 0000000..68d4243 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/induction_furnace/bronze.json @@ -0,0 +1,32 @@ +{ + "name": "Индукционная плавка бронзы", + "station": "ic2:induction_furnace", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "minecraft:copper_ingot", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + }, + { + "id": "ic2:tin_ingot", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:bronze_ingot", + "count": 2, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 80, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/macerator/copper_ore.json b/src/starter/files/astraplus/contents/ic2/recipes/macerator/copper_ore.json new file mode 100644 index 0000000..eaba830 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/macerator/copper_ore.json @@ -0,0 +1,25 @@ +{ + "name": "Дробление медной руды", + "station": "ic2:macerator", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "ic2:copper_ore", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:copper_dust", + "count": 2, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 100, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/macerator/iron_ore.json b/src/starter/files/astraplus/contents/ic2/recipes/macerator/iron_ore.json new file mode 100644 index 0000000..250b3c4 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/macerator/iron_ore.json @@ -0,0 +1,25 @@ +{ + "name": "Дробление железной руды", + "station": "ic2:macerator", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "minecraft:iron_ore", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:iron_dust", + "count": 2, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 100, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/metal_former/copper_plate.json b/src/starter/files/astraplus/contents/ic2/recipes/metal_former/copper_plate.json new file mode 100644 index 0000000..8db4169 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/metal_former/copper_plate.json @@ -0,0 +1,25 @@ +{ + "name": "Прокат медной пластины", + "station": "ic2:metal_former", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "minecraft:copper_ingot", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:copper_plate", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 120, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/recycler/scrap.json b/src/starter/files/astraplus/contents/ic2/recipes/recycler/scrap.json new file mode 100644 index 0000000..aa10a77 --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/recycler/scrap.json @@ -0,0 +1,25 @@ +{ + "name": "Переработка булыжника", + "station": "ic2:recycler", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "minecraft:cobblestone", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:scrap", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 120, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/contents/ic2/recipes/thermal_centrifuge/uranium.json b/src/starter/files/astraplus/contents/ic2/recipes/thermal_centrifuge/uranium.json new file mode 100644 index 0000000..54b0c1c --- /dev/null +++ b/src/starter/files/astraplus/contents/ic2/recipes/thermal_centrifuge/uranium.json @@ -0,0 +1,25 @@ +{ + "name": "Центрифугирование урана", + "station": "ic2:thermal_centrifuge", + "enabled": true, + "shapeless": false, + "inputs": [ + { + "id": "ic2:uranium_ore", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + } + ], + "result": { + "id": "ic2:uranium_ingot", + "count": 1, + "components": {}, + "mode": "consume", + "damage": 1 + }, + "time": 200, + "experience": 0, + "chance": 1 +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/generator/electric/generator.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/generator/electric/generator.json new file mode 100644 index 0000000..0132995 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/generator/electric/generator.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/generator/electric/generator_leftrightback", + "down": "ic2:blocks/generator/electric/generator_bottom", + "up": "ic2:blocks/generator/electric/generator_top", + "north": "ic2:blocks/generator/electric/generator_front", + "east": "ic2:blocks/generator/electric/generator_leftrightback", + "south": "ic2:blocks/generator/electric/generator_leftrightback", + "west": "ic2:blocks/generator/electric/generator_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/generator/electric/generator_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/generator/electric/generator_active.json new file mode 100644 index 0000000..764b2fd --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/generator/electric/generator_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/generator/electric/generator_leftrightback", + "down": "ic2:blocks/generator/electric/generator_bottom", + "up": "ic2:blocks/generator/electric/generator_top", + "north": "ic2:blocks/generator/electric/generator_front_active", + "east": "ic2:blocks/generator/electric/generator_leftrightback", + "south": "ic2:blocks/generator/electric/generator_leftrightback", + "west": "ic2:blocks/generator/electric/generator_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/centrifuge.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/centrifuge.json new file mode 100644 index 0000000..e23c7e2 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/centrifuge.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/advanced/centrifuge_leftright", + "down": "ic2:blocks/machine/processing/advanced/centrifuge_bottom", + "up": "ic2:blocks/machine/processing/advanced/centrifuge_top", + "north": "ic2:blocks/machine/processing/advanced/centrifuge_front", + "east": "ic2:blocks/machine/processing/advanced/centrifuge_leftright", + "south": "ic2:blocks/machine/processing/advanced/centrifuge_back", + "west": "ic2:blocks/machine/processing/advanced/centrifuge_leftright" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/centrifuge_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/centrifuge_active.json new file mode 100644 index 0000000..5c1c667 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/centrifuge_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/advanced/centrifuge_leftright_active", + "down": "ic2:blocks/machine/processing/advanced/centrifuge_bottom", + "up": "ic2:blocks/machine/processing/advanced/centrifuge_top_active", + "north": "ic2:blocks/machine/processing/advanced/centrifuge_front_active", + "east": "ic2:blocks/machine/processing/advanced/centrifuge_leftright_active", + "south": "ic2:blocks/machine/processing/advanced/centrifuge_back", + "west": "ic2:blocks/machine/processing/advanced/centrifuge_leftright_active" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/induction_furnace.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/induction_furnace.json new file mode 100644 index 0000000..4bc0a27 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/induction_furnace.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/advanced/induction_furnace_leftright", + "down": "ic2:blocks/machine/processing/advanced/induction_furnace_bottomtop", + "up": "ic2:blocks/machine/processing/advanced/induction_furnace_bottomtop", + "north": "ic2:blocks/machine/processing/advanced/induction_furnace_front", + "east": "ic2:blocks/machine/processing/advanced/induction_furnace_leftright", + "south": "ic2:blocks/machine/processing/advanced/induction_furnace_back", + "west": "ic2:blocks/machine/processing/advanced/induction_furnace_leftright" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/induction_furnace_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/induction_furnace_active.json new file mode 100644 index 0000000..0f07adf --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/induction_furnace_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/advanced/induction_furnace_leftright_active", + "down": "ic2:blocks/machine/processing/advanced/induction_furnace_bottomtop", + "up": "ic2:blocks/machine/processing/advanced/induction_furnace_bottomtop", + "north": "ic2:blocks/machine/processing/advanced/induction_furnace_front_active", + "east": "ic2:blocks/machine/processing/advanced/induction_furnace_leftright_active", + "south": "ic2:blocks/machine/processing/advanced/induction_furnace_back", + "west": "ic2:blocks/machine/processing/advanced/induction_furnace_leftright_active" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/metal_former.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/metal_former.json new file mode 100644 index 0000000..b93e16c --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/metal_former.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/advanced/metal_former_leftrightback", + "down": "ic2:blocks/machine/processing/advanced/metal_former_bottom", + "up": "ic2:blocks/machine/processing/advanced/metal_former_top", + "north": "ic2:blocks/machine/processing/advanced/metal_former_front", + "east": "ic2:blocks/machine/processing/advanced/metal_former_leftrightback", + "south": "ic2:blocks/machine/processing/advanced/metal_former_leftrightback", + "west": "ic2:blocks/machine/processing/advanced/metal_former_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/metal_former_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/metal_former_active.json new file mode 100644 index 0000000..23f799e --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/advanced/metal_former_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/advanced/metal_former_leftrightback", + "down": "ic2:blocks/machine/processing/advanced/metal_former_bottom", + "up": "ic2:blocks/machine/processing/advanced/metal_former_top_active", + "north": "ic2:blocks/machine/processing/advanced/metal_former_front_active", + "east": "ic2:blocks/machine/processing/advanced/metal_former_leftrightback", + "south": "ic2:blocks/machine/processing/advanced/metal_former_leftrightback", + "west": "ic2:blocks/machine/processing/advanced/metal_former_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/canner.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/canner.json new file mode 100644 index 0000000..d7e125d --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/canner.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/canner_leftright", + "down": "ic2:blocks/machine/processing/basic/canner_bottom", + "up": "ic2:blocks/machine/processing/basic/canner_top", + "north": "ic2:blocks/machine/processing/basic/canner_front", + "east": "ic2:blocks/machine/processing/basic/canner_leftright", + "south": "ic2:blocks/machine/processing/basic/canner_back", + "west": "ic2:blocks/machine/processing/basic/canner_leftright" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/canner_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/canner_active.json new file mode 100644 index 0000000..82165da --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/canner_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/canner_left_active", + "down": "ic2:blocks/machine/processing/basic/canner_bottom", + "up": "ic2:blocks/machine/processing/basic/canner_top", + "north": "ic2:blocks/machine/processing/basic/canner_front_active", + "east": "ic2:blocks/machine/processing/basic/canner_left_active", + "south": "ic2:blocks/machine/processing/basic/canner_back", + "west": "ic2:blocks/machine/processing/basic/canner_right_active" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/compressor.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/compressor.json new file mode 100644 index 0000000..fc43d90 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/compressor.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/compressor_leftrightback", + "down": "ic2:blocks/machine/processing/basic/compressor_bottom", + "up": "ic2:blocks/machine/processing/basic/compressor_top", + "north": "ic2:blocks/machine/processing/basic/compressor_front", + "east": "ic2:blocks/machine/processing/basic/compressor_leftrightback", + "south": "ic2:blocks/machine/processing/basic/compressor_leftrightback", + "west": "ic2:blocks/machine/processing/basic/compressor_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/compressor_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/compressor_active.json new file mode 100644 index 0000000..b556be3 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/compressor_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/compressor_leftrightback", + "down": "ic2:blocks/machine/processing/basic/compressor_bottom", + "up": "ic2:blocks/machine/processing/basic/compressor_top", + "north": "ic2:blocks/machine/processing/basic/compressor_front_active", + "east": "ic2:blocks/machine/processing/basic/compressor_leftrightback", + "south": "ic2:blocks/machine/processing/basic/compressor_leftrightback", + "west": "ic2:blocks/machine/processing/basic/compressor_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/electric_furnace.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/electric_furnace.json new file mode 100644 index 0000000..0fe46d9 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/electric_furnace.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/electric_furnace_leftrightback", + "down": "ic2:blocks/machine/processing/basic/electric_furnace_bottom", + "up": "ic2:blocks/machine/processing/basic/electric_furnace_top", + "north": "ic2:blocks/machine/processing/basic/electric_furnace_front", + "east": "ic2:blocks/machine/processing/basic/electric_furnace_leftrightback", + "south": "ic2:blocks/machine/processing/basic/electric_furnace_leftrightback", + "west": "ic2:blocks/machine/processing/basic/electric_furnace_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/electric_furnace_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/electric_furnace_active.json new file mode 100644 index 0000000..fb3ed98 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/electric_furnace_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/electric_furnace_leftrightback", + "down": "ic2:blocks/machine/processing/basic/electric_furnace_bottom", + "up": "ic2:blocks/machine/processing/basic/electric_furnace_top", + "north": "ic2:blocks/machine/processing/basic/electric_furnace_front_active", + "east": "ic2:blocks/machine/processing/basic/electric_furnace_leftrightback", + "south": "ic2:blocks/machine/processing/basic/electric_furnace_leftrightback", + "west": "ic2:blocks/machine/processing/basic/electric_furnace_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/extractor.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/extractor.json new file mode 100644 index 0000000..742f81f --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/extractor.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/extractor_leftright", + "down": "ic2:blocks/machine/processing/basic/extractor_bottom", + "up": "ic2:blocks/machine/processing/basic/extractor_top", + "north": "ic2:blocks/machine/processing/basic/extractor_front", + "east": "ic2:blocks/machine/processing/basic/extractor_leftright", + "south": "ic2:blocks/machine/processing/basic/extractor_back", + "west": "ic2:blocks/machine/processing/basic/extractor_leftright" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/extractor_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/extractor_active.json new file mode 100644 index 0000000..7264057 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/extractor_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/extractor_leftright_active", + "down": "ic2:blocks/machine/processing/basic/extractor_bottom", + "up": "ic2:blocks/machine/processing/basic/extractor_top", + "north": "ic2:blocks/machine/processing/basic/extractor_front_active", + "east": "ic2:blocks/machine/processing/basic/extractor_leftright_active", + "south": "ic2:blocks/machine/processing/basic/extractor_back", + "west": "ic2:blocks/machine/processing/basic/extractor_leftright_active" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/macerator.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/macerator.json new file mode 100644 index 0000000..14e6152 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/macerator.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/macerator_leftrightback", + "down": "ic2:blocks/machine/processing/basic/macerator_bottom", + "up": "ic2:blocks/machine/processing/basic/macerator_top", + "north": "ic2:blocks/machine/processing/basic/macerator_front", + "east": "ic2:blocks/machine/processing/basic/macerator_leftrightback", + "south": "ic2:blocks/machine/processing/basic/macerator_leftrightback", + "west": "ic2:blocks/machine/processing/basic/macerator_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/macerator_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/macerator_active.json new file mode 100644 index 0000000..c95b0fb --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/macerator_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/macerator_leftrightback", + "down": "ic2:blocks/machine/processing/basic/macerator_bottom", + "up": "ic2:blocks/machine/processing/basic/macerator_top_active", + "north": "ic2:blocks/machine/processing/basic/macerator_front_active", + "east": "ic2:blocks/machine/processing/basic/macerator_leftrightback", + "south": "ic2:blocks/machine/processing/basic/macerator_leftrightback", + "west": "ic2:blocks/machine/processing/basic/macerator_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/recycler.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/recycler.json new file mode 100644 index 0000000..946a2d6 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/recycler.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/recycler_leftrightback", + "down": "ic2:blocks/machine/processing/basic/recycler_bottom", + "up": "ic2:blocks/machine/processing/basic/recycler_top", + "north": "ic2:blocks/machine/processing/basic/recycler_front", + "east": "ic2:blocks/machine/processing/basic/recycler_leftrightback", + "south": "ic2:blocks/machine/processing/basic/recycler_leftrightback", + "west": "ic2:blocks/machine/processing/basic/recycler_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/recycler_active.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/recycler_active.json new file mode 100644 index 0000000..5dfce2c --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/machine/processing/basic/recycler_active.json @@ -0,0 +1,12 @@ +{ + "parent": "block/cube", + "textures": { + "particle": "ic2:blocks/machine/processing/basic/recycler_leftrightback", + "down": "ic2:blocks/machine/processing/basic/recycler_bottom", + "up": "ic2:blocks/machine/processing/basic/recycler_top_active", + "north": "ic2:blocks/machine/processing/basic/recycler_front_active", + "east": "ic2:blocks/machine/processing/basic/recycler_leftrightback", + "south": "ic2:blocks/machine/processing/basic/recycler_leftrightback", + "west": "ic2:blocks/machine/processing/basic/recycler_leftrightback" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/advanced_machine.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/advanced_machine.json new file mode 100644 index 0000000..435a584 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/advanced_machine.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "ic2:blocks/resource/advanced_machine" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/copper_ore.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/copper_ore.json new file mode 100644 index 0000000..beff730 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/copper_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "ic2:blocks/resource/copper_ore" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/lead_ore.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/lead_ore.json new file mode 100644 index 0000000..635eea7 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/lead_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "ic2:blocks/resource/lead_ore" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/machine.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/machine.json new file mode 100644 index 0000000..5d0e479 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/machine.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "ic2:blocks/resource/machine" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/tin_ore.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/tin_ore.json new file mode 100644 index 0000000..18f2856 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/tin_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "ic2:blocks/resource/tin_ore" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/uranium_ore.json b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/uranium_ore.json new file mode 100644 index 0000000..3dde337 --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/ic2/models/block/resource/uranium_ore.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cube_all", + "textures": { + "all": "ic2:blocks/resource/uranium_ore" + } +} diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_bottom.png new file mode 100644 index 0000000..e3baa50 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_front.png new file mode 100644 index 0000000..d7c1782 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_front_active.png new file mode 100644 index 0000000..7124f8d Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_leftrightback.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_leftrightback.png new file mode 100644 index 0000000..2d03483 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_leftrightback.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_top.png new file mode 100644 index 0000000..bfb620e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/generator/electric/generator_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_back.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_back.png new file mode 100644 index 0000000..0ef1979 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_back.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_bottom.png new file mode 100644 index 0000000..ef47107 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_front.png new file mode 100644 index 0000000..34b3953 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_front_active.png new file mode 100644 index 0000000..d5bd6f2 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_leftright.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_leftright.png new file mode 100644 index 0000000..1b7ed12 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_leftright.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_leftright_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_leftright_active.png new file mode 100644 index 0000000..6aea318 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_leftright_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_top.png new file mode 100644 index 0000000..fcf70a3 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_top_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_top_active.png new file mode 100644 index 0000000..0399847 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/centrifuge_top_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_back.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_back.png new file mode 100644 index 0000000..0ef1979 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_back.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_bottomtop.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_bottomtop.png new file mode 100644 index 0000000..ef47107 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_bottomtop.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_front.png new file mode 100644 index 0000000..8c51dab Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_front_active.png new file mode 100644 index 0000000..82eec15 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_leftright.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_leftright.png new file mode 100644 index 0000000..1b7ed12 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_leftright.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_leftright_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_leftright_active.png new file mode 100644 index 0000000..6aea318 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/induction_furnace_leftright_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_bottom.png new file mode 100644 index 0000000..e3baa50 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_front.png new file mode 100644 index 0000000..ed29967 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_front_active.png new file mode 100644 index 0000000..be2d6a3 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_leftrightback.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_leftrightback.png new file mode 100644 index 0000000..2d03483 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_leftrightback.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_top.png new file mode 100644 index 0000000..d8f972b Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_top_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_top_active.png new file mode 100644 index 0000000..2b97a55 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/advanced/metal_former_top_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_back.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_back.png new file mode 100644 index 0000000..2d03483 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_back.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_bottom.png new file mode 100644 index 0000000..e3baa50 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_front.png new file mode 100644 index 0000000..b8d6ee1 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_front_active.png new file mode 100644 index 0000000..b00a011 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_left_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_left_active.png new file mode 100644 index 0000000..9871d8c Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_left_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_leftright.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_leftright.png new file mode 100644 index 0000000..565b895 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_leftright.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_right_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_right_active.png new file mode 100644 index 0000000..b177757 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_right_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_top.png new file mode 100644 index 0000000..bfb620e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/canner_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_bottom.png new file mode 100644 index 0000000..0d8d774 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_front.png new file mode 100644 index 0000000..31ed7be Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_front_active.png new file mode 100644 index 0000000..45008a4 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_leftrightback.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_leftrightback.png new file mode 100644 index 0000000..2d03483 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_leftrightback.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_top.png new file mode 100644 index 0000000..e10877e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/compressor_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_bottom.png new file mode 100644 index 0000000..e3baa50 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_front.png new file mode 100644 index 0000000..af79529 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_front_active.png new file mode 100644 index 0000000..e9c7558 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_leftrightback.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_leftrightback.png new file mode 100644 index 0000000..2d03483 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_leftrightback.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_top.png new file mode 100644 index 0000000..bfb620e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/electric_furnace_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_back.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_back.png new file mode 100644 index 0000000..2d03483 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_back.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_bottom.png new file mode 100644 index 0000000..e3baa50 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_front.png new file mode 100644 index 0000000..2c37caa Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_front_active.png new file mode 100644 index 0000000..78f725f Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_leftright.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_leftright.png new file mode 100644 index 0000000..92b17d0 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_leftright.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_leftright_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_leftright_active.png new file mode 100644 index 0000000..471a3b0 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_leftright_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_top.png new file mode 100644 index 0000000..bfb620e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/extractor_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_bottom.png new file mode 100644 index 0000000..e3baa50 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_front.png new file mode 100644 index 0000000..e1f2487 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_front_active.png new file mode 100644 index 0000000..6ac751a Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_leftrightback.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_leftrightback.png new file mode 100644 index 0000000..2d03483 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_leftrightback.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_top.png new file mode 100644 index 0000000..572cee3 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_top_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_top_active.png new file mode 100644 index 0000000..cd214ae Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/macerator_top_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_bottom.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_bottom.png new file mode 100644 index 0000000..e3baa50 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_bottom.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_front.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_front.png new file mode 100644 index 0000000..469a0c5 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_front.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_front_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_front_active.png new file mode 100644 index 0000000..63af3bb Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_front_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_leftrightback.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_leftrightback.png new file mode 100644 index 0000000..2d03483 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_leftrightback.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_top.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_top.png new file mode 100644 index 0000000..572cee3 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_top.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_top_active.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_top_active.png new file mode 100644 index 0000000..cd214ae Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/machine/processing/basic/recycler_top_active.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/advanced_machine.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/advanced_machine.png new file mode 100644 index 0000000..d11a988 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/advanced_machine.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/copper_ore.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/copper_ore.png new file mode 100644 index 0000000..4595445 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/copper_ore.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/lead_ore.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/lead_ore.png new file mode 100644 index 0000000..28da5ab Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/lead_ore.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/machine.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/machine.png new file mode 100644 index 0000000..32ba13c Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/machine.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/tin_ore.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/tin_ore.png new file mode 100644 index 0000000..5e6c600 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/tin_ore.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/uranium_ore.png b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/uranium_ore.png new file mode 100644 index 0000000..e7f330c Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/blocks/resource/uranium_ore.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/advanced_re_battery_0.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/advanced_re_battery_0.png new file mode 100644 index 0000000..2fcc900 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/advanced_re_battery_0.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_energy_crystal_0.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_energy_crystal_0.png new file mode 100644 index 0000000..3cc0095 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_energy_crystal_0.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_lapotron_crystal_0.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_lapotron_crystal_0.png new file mode 100644 index 0000000..e2a7072 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_lapotron_crystal_0.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_re_battery_0.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_re_battery_0.png new file mode 100644 index 0000000..6a8472e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/charging_re_battery_0.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/energy_crystal_0.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/energy_crystal_0.png new file mode 100644 index 0000000..ee1c86a Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/energy_crystal_0.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/lapotron_crystal_0.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/lapotron_crystal_0.png new file mode 100644 index 0000000..4cd3539 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/lapotron_crystal_0.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/re_battery_0.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/re_battery_0.png new file mode 100644 index 0000000..31f0195 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/re_battery_0.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/single_use_battery.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/single_use_battery.png new file mode 100644 index 0000000..a8d6ba2 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/battery/single_use_battery.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/advanced_circuit.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/advanced_circuit.png new file mode 100644 index 0000000..e4350e8 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/advanced_circuit.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_fibre.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_fibre.png new file mode 100644 index 0000000..fb0f9a7 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_fibre.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_mesh.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_mesh.png new file mode 100644 index 0000000..21a3a6b Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_mesh.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_plate.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_plate.png new file mode 100644 index 0000000..6963033 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/carbon_plate.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/circuit.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/circuit.png new file mode 100644 index 0000000..69851a5 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/circuit.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/coil.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/coil.png new file mode 100644 index 0000000..d79ff5e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/coil.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/rubber.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/rubber.png new file mode 100644 index 0000000..ca242a2 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/rubber.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/scrap.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/scrap.png new file mode 100644 index 0000000..a1fcb75 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/scrap.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/tin_can.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/tin_can.png new file mode 100644 index 0000000..17f7d03 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/crafting/tin_can.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/filled_tin_can.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/filled_tin_can.png new file mode 100644 index 0000000..efa6b82 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/filled_tin_can.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/copper.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/copper.png new file mode 100644 index 0000000..59b0239 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/copper.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/iron.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/iron.png new file mode 100644 index 0000000..cca67f6 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/iron.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/tin.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/tin.png new file mode 100644 index 0000000..a138410 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/casing/tin.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/bronze.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/bronze.png new file mode 100644 index 0000000..130dafc Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/bronze.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/coal.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/coal.png new file mode 100644 index 0000000..d229f3c Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/coal.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/copper.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/copper.png new file mode 100644 index 0000000..9387946 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/copper.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/gold.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/gold.png new file mode 100644 index 0000000..63245cb Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/gold.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/iron.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/iron.png new file mode 100644 index 0000000..4b7ae98 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/iron.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/lead.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/lead.png new file mode 100644 index 0000000..2b1e3df Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/lead.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/tin.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/tin.png new file mode 100644 index 0000000..59d2d48 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/dust/tin.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/bronze.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/bronze.png new file mode 100644 index 0000000..c77f1ed Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/bronze.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/lead.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/lead.png new file mode 100644 index 0000000..66b2758 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/lead.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/refined_iron.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/refined_iron.png new file mode 100644 index 0000000..059af14 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/refined_iron.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/silver.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/silver.png new file mode 100644 index 0000000..a48378e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/silver.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/steel.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/steel.png new file mode 100644 index 0000000..059af14 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/steel.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/tin.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/tin.png new file mode 100644 index 0000000..94fb798 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/tin.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/uranium.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/uranium.png new file mode 100644 index 0000000..6645922 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/ingot/uranium.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/bronze.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/bronze.png new file mode 100644 index 0000000..19e2abd Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/bronze.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/copper.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/copper.png new file mode 100644 index 0000000..2a297f7 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/copper.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/gold.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/gold.png new file mode 100644 index 0000000..c898ed1 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/gold.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/iron.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/iron.png new file mode 100644 index 0000000..900b4b0 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/iron.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/lead.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/lead.png new file mode 100644 index 0000000..d6d4c90 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/lead.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/steel.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/steel.png new file mode 100644 index 0000000..a048a7d Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/steel.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/tin.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/tin.png new file mode 100644 index 0000000..d50c589 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/plate/tin.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/resin.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/resin.png new file mode 100644 index 0000000..155d6f6 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/resource/resin.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/chainsaw.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/chainsaw.png new file mode 100644 index 0000000..905a4cd Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/chainsaw.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/diamond_drill.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/diamond_drill.png new file mode 100644 index 0000000..857fd5c Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/diamond_drill.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/drill.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/drill.png new file mode 100644 index 0000000..ab6974f Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/drill.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_hoe.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_hoe.png new file mode 100644 index 0000000..116bec7 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_hoe.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_treetap.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_treetap.png new file mode 100644 index 0000000..560fa1e Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_treetap.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_wrench.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_wrench.png new file mode 100644 index 0000000..6ec2c9a Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/electric_wrench.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/iridium_drill.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/iridium_drill.png new file mode 100644 index 0000000..cd2fde0 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/iridium_drill.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/mining_laser.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/mining_laser.png new file mode 100644 index 0000000..4245374 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/electric/mining_laser.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/forge_hammer.png b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/forge_hammer.png new file mode 100644 index 0000000..7e9d4f2 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/items/tool/forge_hammer.png differ diff --git a/src/starter/files/astraplus/resources/assets/ic2/textures/mob_effect/radiation.png b/src/starter/files/astraplus/resources/assets/ic2/textures/mob_effect/radiation.png new file mode 100644 index 0000000..1d9ccdf Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/ic2/textures/mob_effect/radiation.png differ diff --git a/src/tools/import-ic2-reference.ps1 b/src/tools/import-ic2-reference.ps1 new file mode 100644 index 0000000..5c4cb13 --- /dev/null +++ b/src/tools/import-ic2-reference.ps1 @@ -0,0 +1,255 @@ +param( + [Parameter(Mandatory = $true)][string]$Jar, + [Parameter(Mandatory = $true)][string]$LiveContent, + [string]$Starter = (Join-Path $PSScriptRoot '..\starter\files') +) + +$ErrorActionPreference = 'Stop' +Add-Type -AssemblyName System.IO.Compression.FileSystem +$archive = [IO.Compression.ZipFile]::OpenRead((Resolve-Path -LiteralPath $Jar)) +$root = (Resolve-Path -LiteralPath $Starter).Path +$contentRoot = Join-Path $root 'astraplus\contents\ic2' +$assetRoot = Join-Path $root 'astraplus\resources\assets\ic2' + +function Set-Value($Object, [string]$Name, $Value) { + if ($Object.PSObject.Properties.Name -contains $Name) { $Object.$Name = $Value } + else { $Object | Add-Member -NotePropertyName $Name -NotePropertyValue $Value } +} + +function Remove-Value($Object, [string]$Name) { + if ($Object.PSObject.Properties.Name -contains $Name) { $Object.PSObject.Properties.Remove($Name) } +} + +function Write-Json([string]$Path, $Value) { + $directory = Split-Path -Parent $Path + New-Item -ItemType Directory -Force -Path $directory | Out-Null + $json = $Value | ConvertTo-Json -Depth 100 + [IO.File]::WriteAllText($Path, $json + [Environment]::NewLine, [Text.UTF8Encoding]::new($false)) +} + +function Copy-Entry([string]$EntryName, [string]$TargetName = $EntryName) { + $entry = $archive.GetEntry($EntryName) + if ($null -eq $entry) { throw "IC2 reference asset is missing: $EntryName" } + $relative = $TargetName.Substring('assets/ic2/'.Length).Replace('/', [IO.Path]::DirectorySeparatorChar) + $target = Join-Path $assetRoot $relative + New-Item -ItemType Directory -Force -Path (Split-Path -Parent $target) | Out-Null + $source = $entry.Open() + try { + $destination = [IO.File]::Create($target) + try { $source.CopyTo($destination) } finally { $destination.Dispose() } + } finally { $source.Dispose() } +} + +$copiedModels = [Collections.Generic.HashSet[string]]::new([StringComparer]::Ordinal) +function Copy-Model([string]$Model) { + if (-not $copiedModels.Add($Model)) { return } + $entryName = "assets/ic2/models/$Model.json" + Copy-Entry $entryName + $entry = $archive.GetEntry($entryName) + $reader = [IO.StreamReader]::new($entry.Open()) + try { $definition = $reader.ReadToEnd() | ConvertFrom-Json } finally { $reader.Dispose() } + foreach ($property in $definition.textures.PSObject.Properties) { + $texture = [string]$property.Value + if ($texture.StartsWith('ic2:')) { + $path = $texture.Substring(4) + Copy-Entry "assets/ic2/textures/$path.png" + $animation = $archive.GetEntry("assets/ic2/textures/$path.png.mcmeta") + if ($null -ne $animation) { Copy-Entry $animation.FullName } + } + } + if ([string]$definition.parent -like 'ic2:*') { Copy-Model ([string]$definition.parent).Substring(4) } +} + +function Node([string]$Id, [string]$Type, $Inputs, [int]$X, [int]$Y) { + [ordered]@{ id = $Id; type = $Type; inputs = $Inputs; x = $X; y = $Y } +} + +function Edge([string]$From, [string]$Out, [string]$To, [string]$In) { + [ordered]@{ from = [ordered]@{ node = $From; port = $Out }; to = [ordered]@{ node = $To; port = $In } } +} + +function Machine-Graph([string]$Station, [int]$InputSlots, [int]$EnergyCost, [int]$Steps) { + $nodes = @( + (Node 'placed' 'event:place_block' @{} 40 40), + (Node 'tick' 'event:block_tick' @{} 40 340), + (Node 'position' 'context:position' @{ path = 'event.position' } 40 640), + (Node 'initialize_energy' 'action:block_number' @{ property = 'energy'; operation = 'set'; value = 10000 } 330 40), + (Node 'initialize_progress' 'action:block_number' @{ property = 'progress'; operation = 'set'; value = 0 } 630 40), + (Node 'sequence' 'flow:sequence' @{} 330 340), + (Node 'recipe' 'block:recipe_available' @{ station = $Station; firstInput = 0; inputSlots = $InputSlots; outputSlot = 2 } 330 570), + (Node 'energy' 'block:number' @{ property = 'energy'; fallback = 0 } 330 760), + (Node 'enough_energy' 'compare:gte' @{ b = $EnergyCost } 630 760), + (Node 'ready' 'boolean:and' @{} 630 570), + (Node 'ready_branch' 'flow:branch' @{} 920 340), + (Node 'advance' 'action:block_number' @{ property = 'progress'; operation = 'add'; value = 1 } 1210 340), + (Node 'progress' 'block:number' @{ property = 'progress'; fallback = 0 } 1210 570), + (Node 'finished' 'compare:gte' @{ b = $Steps } 1500 570), + (Node 'finish_branch' 'flow:branch' @{} 1500 340), + (Node 'complete' 'action:complete_block_recipe' @{ station = $Station; firstInput = 0; inputSlots = $InputSlots; outputSlot = 2 } 1790 340), + (Node 'spend_energy' 'action:block_number' @{ property = 'energy'; operation = 'subtract'; value = $EnergyCost } 2080 340), + (Node 'reset_progress' 'action:block_number' @{ property = 'progress'; operation = 'set'; value = 0 } 2370 340), + (Node 'schedule' 'action:schedule_block_tick' @{ ticks = 20 } 920 40) + ) + $edges = @( + (Edge 'placed' 'next' 'initialize_energy' 'in'), (Edge 'initialize_energy' 'next' 'initialize_progress' 'in'), + (Edge 'initialize_progress' 'next' 'schedule' 'in'), (Edge 'tick' 'next' 'sequence' 'in'), + (Edge 'sequence' 'first' 'ready_branch' 'in'), (Edge 'sequence' 'next' 'schedule' 'in'), + (Edge 'recipe' 'value' 'ready' 'a'), (Edge 'energy' 'value' 'enough_energy' 'a'), + (Edge 'enough_energy' 'value' 'ready' 'b'), (Edge 'ready' 'value' 'ready_branch' 'condition'), + (Edge 'ready_branch' 'true' 'advance' 'in'), (Edge 'advance' 'next' 'finish_branch' 'in'), + (Edge 'progress' 'value' 'finished' 'a'), (Edge 'finished' 'value' 'finish_branch' 'condition'), + (Edge 'finish_branch' 'true' 'complete' 'in'), (Edge 'complete' 'success' 'spend_energy' 'in'), + (Edge 'spend_energy' 'next' 'reset_progress' 'in') + ) + foreach ($id in @('initialize_energy', 'initialize_progress', 'recipe', 'energy', 'advance', 'progress', 'complete', 'spend_energy', 'reset_progress', 'schedule')) { + $edges += Edge 'position' 'value' $id 'position' + } + [ordered]@{ version = 1; nodes = $nodes; edges = $edges } +} + +function Generator-Graph { + $nodes = @( + (Node 'placed' 'event:place_block' @{} 40 40), (Node 'tick' 'event:block_tick' @{} 40 330), + (Node 'position' 'context:position' @{ path = 'event.position' } 40 580), + (Node 'initialize' 'action:block_number' @{ property = 'energy'; operation = 'set'; value = 0 } 340 40), + (Node 'sequence' 'flow:sequence' @{} 340 330), (Node 'energy' 'block:number' @{ property = 'energy'; fallback = 0 } 340 580), + (Node 'has_room' 'compare:lt' @{ b = 10000 } 640 580), (Node 'room_branch' 'flow:branch' @{} 640 330), + (Node 'generate' 'action:block_number' @{ property = 'energy'; operation = 'add'; value = 10 } 940 330), + (Node 'schedule' 'action:schedule_block_tick' @{ ticks = 20 } 940 40) + ) + $edges = @( + (Edge 'placed' 'next' 'initialize' 'in'), (Edge 'initialize' 'next' 'schedule' 'in'), + (Edge 'tick' 'next' 'sequence' 'in'), (Edge 'sequence' 'first' 'room_branch' 'in'), + (Edge 'sequence' 'next' 'schedule' 'in'), (Edge 'energy' 'value' 'has_room' 'a'), + (Edge 'has_room' 'value' 'room_branch' 'condition'), (Edge 'room_branch' 'true' 'generate' 'in') + ) + foreach ($id in @('initialize', 'energy', 'generate', 'schedule')) { $edges += Edge 'position' 'value' $id 'position' } + [ordered]@{ version = 1; nodes = $nodes; edges = $edges } +} + +$textures = [ordered]@{ + advanced_circuit='crafting/advanced_circuit'; advanced_re_battery='battery/advanced_re_battery_0'; bronze_dust='resource/dust/bronze'; + bronze_ingot='resource/ingot/bronze'; bronze_plate='resource/plate/bronze'; carbon_fibre='crafting/carbon_fibre'; carbon_mesh='crafting/carbon_mesh'; + carbon_plate='crafting/carbon_plate'; chainsaw='tool/electric/chainsaw'; charging_energy_crystal='battery/charging_energy_crystal_0'; + charging_lapotron_crystal='battery/charging_lapotron_crystal_0'; charging_re_battery='battery/charging_re_battery_0'; coal_dust='resource/dust/coal'; + coil='crafting/coil'; copper_casing='resource/casing/copper'; copper_plate='resource/plate/copper'; diamond_drill='tool/electric/diamond_drill'; + electric_hoe='tool/electric/electric_hoe'; electric_treetap='tool/electric/electric_treetap'; electric_wrench='tool/electric/electric_wrench'; + electronic_circuit='crafting/circuit'; energy_crystal='battery/energy_crystal_0'; forge_hammer='tool/forge_hammer'; gold_dust='resource/dust/gold'; + gold_plate='resource/plate/gold'; iridium_drill='tool/electric/iridium_drill'; iron_casing='resource/casing/iron'; iron_dust='resource/dust/iron'; + iron_plate='resource/plate/iron'; lapotron_crystal='battery/lapotron_crystal_0'; lead_dust='resource/dust/lead'; lead_ingot='resource/ingot/lead'; + lead_plate='resource/plate/lead'; mining_drill='tool/electric/drill'; mining_laser='tool/electric/mining_laser'; re_battery='battery/re_battery_0'; + refined_iron_ingot='resource/ingot/refined_iron'; resin='resource/resin'; rubber='crafting/rubber'; silver_ingot='resource/ingot/silver'; + single_use_battery='battery/single_use_battery'; steel_ingot='resource/ingot/steel'; steel_plate='resource/plate/steel'; tin_casing='resource/casing/tin'; + tin_dust='resource/dust/tin'; tin_ingot='resource/ingot/tin'; tin_plate='resource/plate/tin'; uranium_ingot='resource/ingot/uranium' +} +$modelItems = [ordered]@{ advanced_machine_casing='block/resource/advanced_machine'; machine_casing='block/resource/machine' } + +$liveItems = Join-Path $LiveContent 'items' +foreach ($file in Get-ChildItem -LiteralPath $liveItems -Filter '*.json') { + $id = $file.BaseName + $document = Get-Content -LiteralPath $file.FullName -Raw | ConvertFrom-Json + if ($textures.Contains($id)) { + Set-Value $document 'texture' "ic2:items/$($textures[$id])" + Remove-Value $document 'model' + Copy-Entry "assets/ic2/textures/items/$($textures[$id]).png" + $animation = $archive.GetEntry("assets/ic2/textures/items/$($textures[$id]).png.mcmeta") + if ($null -ne $animation) { Copy-Entry $animation.FullName } + } elseif ($modelItems.Contains($id)) { + Set-Value $document 'model' "ic2:$($modelItems[$id])" + Copy-Model $modelItems[$id] + } else { throw "No real IC2 appearance mapping for item $id" } + Write-Json (Join-Path $contentRoot "items\$id.json") $document +} + +$extraItems = @( + @{ id='copper_dust'; name='Медная пыль'; texture='resource/dust/copper' }, + @{ id='scrap'; name='Утильсырьё'; texture='crafting/scrap' }, + @{ id='tin_can'; name='Жестяная банка'; texture='crafting/tin_can' }, + @{ id='filled_tin_can'; name='Консервы'; texture='filled_tin_can' } +) +foreach ($item in $extraItems) { + $document = [ordered]@{ name=$item.name; translations=@{}; material='minecraft:paper'; texture="ic2:items/$($item.texture)"; components=@{}; mechanics=@() } + Write-Json (Join-Path $contentRoot "items\$($item.id).json") $document + Copy-Entry "assets/ic2/textures/items/$($item.texture).png" +} + +$machines = [ordered]@{ + canning_machine=@('block/machine/processing/basic/canner',2,16,8); compressor=@('block/machine/processing/basic/compressor',1,8,5); + electric_furnace=@('block/machine/processing/basic/electric_furnace',1,6,4); extractor=@('block/machine/processing/basic/extractor',1,8,5); + induction_furnace=@('block/machine/processing/advanced/induction_furnace',2,32,4); macerator=@('block/machine/processing/basic/macerator',1,8,5); + metal_former=@('block/machine/processing/advanced/metal_former',1,12,6); recycler=@('block/machine/processing/basic/recycler',1,4,6); + thermal_centrifuge=@('block/machine/processing/advanced/centrifuge',1,48,10) +} +$oreModels = [ordered]@{ copper_ore='block/resource/copper_ore'; lead_ore='block/resource/lead_ore'; tin_ore='block/resource/tin_ore'; uranium_ore='block/resource/uranium_ore' } +$liveBlocks = Join-Path $LiveContent 'blocks' +foreach ($file in Get-ChildItem -LiteralPath $liveBlocks -Filter '*.json') { + $id = $file.BaseName + $document = Get-Content -LiteralPath $file.FullName -Raw | ConvertFrom-Json + if ($machines.Contains($id)) { + $setting = $machines[$id]; $model = [string]$setting[0]; $active = "${model}_active" + Set-Value $document 'model' "ic2:$model"; Set-Value $document 'itemModel' "ic2:$model" + Set-Value $document.block 'properties' ([ordered]@{ facing='north'; lit='false' }) + Set-Value $document.block 'appearances' @( + [ordered]@{ when=[ordered]@{ lit='false' }; model="ic2:$model"; rotation=0 }, + [ordered]@{ when=[ordered]@{ lit='true' }; model="ic2:$active"; rotation=0 } + ) + Set-Value $document 'logic' (Machine-Graph "ic2:$id" ([int]$setting[1]) ([int]$setting[2]) ([int]$setting[3])) + Copy-Model $model; Copy-Model $active + } elseif ($id -eq 'generator') { + $model='block/generator/electric/generator'; $active='block/generator/electric/generator_active' + Set-Value $document 'model' "ic2:$model"; Set-Value $document 'itemModel' "ic2:$model" + Set-Value $document.block 'properties' ([ordered]@{ facing='north'; lit='false' }) + Set-Value $document.block 'appearances' @( + [ordered]@{ when=[ordered]@{ lit='false' }; model="ic2:$model"; rotation=0 }, + [ordered]@{ when=[ordered]@{ lit='true' }; model="ic2:$active"; rotation=0 } + ) + Set-Value $document 'logic' (Generator-Graph) + Copy-Model $model; Copy-Model $active + } elseif ($oreModels.Contains($id)) { + $model = $oreModels[$id] + Set-Value $document 'model' "ic2:$model"; Set-Value $document 'itemModel' "ic2:$model" + Set-Value $document.block 'properties' @{}; Set-Value $document.block 'appearances' @() + Copy-Model $model + } else { throw "No real IC2 appearance mapping for block $id" } + Write-Json (Join-Path $contentRoot "blocks\$id.json") $document +} + +$radiation = Get-Content -LiteralPath (Join-Path $LiveContent 'effects\radiation.json') -Raw | ConvertFrom-Json +Set-Value $radiation 'icon' 'ic2:mob_effect/radiation' +Set-Value $radiation 'logic' ([ordered]@{ + version=1 + nodes=@( + (Node 'tick' 'event:effect_tick' @{} 40 180), + (Node 'affected' 'context:entity' @{ path='actor.entity' } 40 430), + (Node 'damage' 'action:damage' @{ amount=1 } 360 180), + (Node 'nausea' 'action:entity_effect' @{ effect='minecraft:nausea'; duration=100; level=1 } 680 180) + ) + edges=@( + (Edge 'tick' 'next' 'damage' 'in'), (Edge 'damage' 'next' 'nausea' 'in'), + (Edge 'affected' 'value' 'damage' 'entity'), (Edge 'affected' 'value' 'nausea' 'entity') + ) +}) +Write-Json (Join-Path $contentRoot 'effects\radiation.json') $radiation +Copy-Entry 'assets/ic2/textures/items/resource/nuclear/uranium.png' 'assets/ic2/textures/mob_effect/radiation.png' + +$recipes = @( + @('macerator/copper_ore','Дробление медной руды','ic2:macerator',@('ic2:copper_ore'),'ic2:copper_dust',2,100), + @('macerator/iron_ore','Дробление железной руды','ic2:macerator',@('minecraft:iron_ore'),'ic2:iron_dust',2,100), + @('compressor/carbon_plate','Сжатие углеродной пластины','ic2:compressor',@('ic2:carbon_mesh'),'ic2:carbon_plate',1,100), + @('extractor/rubber','Извлечение резины','ic2:extractor',@('ic2:resin'),'ic2:rubber',3,100), + @('electric_furnace/iron_ingot','Электроплавка железа','ic2:electric_furnace',@('ic2:iron_dust'),'minecraft:iron_ingot',1,80), + @('recycler/scrap','Переработка булыжника','ic2:recycler',@('minecraft:cobblestone'),'ic2:scrap',1,120), + @('metal_former/copper_plate','Прокат медной пластины','ic2:metal_former',@('minecraft:copper_ingot'),'ic2:copper_plate',1,120), + @('thermal_centrifuge/uranium','Центрифугирование урана','ic2:thermal_centrifuge',@('ic2:uranium_ore'),'ic2:uranium_ingot',1,200), + @('induction_furnace/bronze','Индукционная плавка бронзы','ic2:induction_furnace',@('minecraft:copper_ingot','ic2:tin_ingot'),'ic2:bronze_ingot',2,80), + @('canning_machine/food','Наполнение жестяной банки','ic2:canning_machine',@('ic2:tin_can','minecraft:apple'),'ic2:filled_tin_can',1,160) +) +foreach ($recipe in $recipes) { + $inputs = @(); foreach ($input in $recipe[3]) { $inputs += [ordered]@{ id=$input; count=1; components=@{}; mode='consume'; damage=1 } } + $document = [ordered]@{ name=$recipe[1]; station=$recipe[2]; enabled=$true; shapeless=$false; inputs=$inputs; + result=[ordered]@{ id=$recipe[4]; count=$recipe[5]; components=@{}; mode='consume'; damage=1 }; time=$recipe[6]; experience=0; chance=1 } + Write-Json (Join-Path $contentRoot "recipes\$($recipe[0]).json") $document +} + +$archive.Dispose() +Write-Host "Imported $($textures.Count + $modelItems.Count + $extraItems.Count) item appearances, 14 block appearances, radiation, and $($recipes.Count) machine recipes." diff --git a/src/tools/publish-ic2-through-editor.mjs b/src/tools/publish-ic2-through-editor.mjs new file mode 100644 index 0000000..baca12d --- /dev/null +++ b/src/tools/publish-ic2-through-editor.mjs @@ -0,0 +1,58 @@ +import { readFile, readdir } from "node:fs/promises"; +import { join, relative, sep } from "node:path"; + +const [baseUrl, token, contentRoot] = process.argv.slice(2); +if (!baseUrl || !token || !contentRoot) { + throw new Error("Usage: node publish-ic2-through-editor.mjs "); +} + +const endpoint = new URL("astraplus/editor/", baseUrl.endsWith("/") ? baseUrl : `${baseUrl}/`); +const headers = { Authorization: `Bearer ${token}`, "Content-Type": "application/json" }; +const pause = (milliseconds) => new Promise((resolve) => setTimeout(resolve, milliseconds)); + +async function request(path, body = "") { + for (let attempt = 0; attempt < 8; attempt++) { + const response = await fetch(new URL(path, endpoint), { method: "POST", headers, body: typeof body === "string" ? body : JSON.stringify(body) }); + const text = await response.text(); + const payload = text ? JSON.parse(text) : {}; + if (response.status === 429) { await pause(600); continue; } + if (!response.ok) throw new Error(`${response.status} ${payload.message || payload.error || text}`); + return payload; + } + throw new Error("Editor rate limit did not recover"); +} + +async function files(directory) { + const result = []; + for (const entry of await readdir(directory, { withFileTypes: true })) { + const path = join(directory, entry.name); + if (entry.isDirectory()) result.push(...await files(path)); + else if (entry.isFile() && entry.name.endsWith(".json")) result.push(path); + } + return result; +} + +const snapshot = await request("session"); +const documents = new Map(snapshot.documents.map((document) => [`${document.kind}:${document.id}`, document])); +const kinds = new Map([["items", "ITEM"], ["blocks", "BLOCK"], ["recipes", "RECIPE"], ["effects", "EFFECT"]]); +const actions = new Map([["ITEM", "save"], ["BLOCK", "save"], ["RECIPE", "recipe_save"], ["EFFECT", "effect_save"]]); +let saved = 0; + +for (const file of (await files(contentRoot)).sort()) { + const path = relative(contentRoot, file).split(sep); + const kind = kinds.get(path.shift()); + if (!kind) continue; + const id = `ic2:${path.join("/").replace(/\.json$/, "")}`; + const current = documents.get(`${kind}:${id}`); + if (!current) throw new Error(`The starter bundle did not publish ${kind} ${id}`); + const document = JSON.parse(await readFile(file, "utf8")); + if (kind === "RECIPE") document.id = id; + await request("action", { action: actions.get(kind), kind, source: current.source, id, revision: current.revision, document }); + saved++; + await pause(300); +} + +const refreshed = await request("session"); +const remaining = refreshed.documents.filter((entry) => entry.id.startsWith("ic2:") && kinds.has(`${entry.kind.toLowerCase()}s`) && !entry.revision).length; +if (remaining) throw new Error(`${remaining} IC2 documents have no confirmed revision after publication`); +console.log(`Published and reloaded ${saved} IC2 documents through the editor API.`);