summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/assets/sparkt/blockstates/driver_mechanical.json5
-rw-r--r--src/main/resources/assets/sparkt/blockstates/machine_block.json5
-rw-r--r--src/main/resources/assets/sparkt/blockstates/machine_furnace.json5
-rw-r--r--src/main/resources/assets/sparkt/blockstates/machine_grinder.json5
-rw-r--r--src/main/resources/assets/sparkt/icon.pngbin0 -> 115794 bytes
-rw-r--r--src/main/resources/assets/sparkt/lang/en_us.json8
-rw-r--r--src/main/resources/assets/sparkt/models/block/driver_mechanical.json9
-rw-r--r--src/main/resources/assets/sparkt/models/block/machine.json9
-rw-r--r--src/main/resources/assets/sparkt/models/block/machine_block.json6
-rw-r--r--src/main/resources/assets/sparkt/models/block/machine_furnace.json6
-rw-r--r--src/main/resources/assets/sparkt/models/block/machine_grinder.json6
-rw-r--r--src/main/resources/assets/sparkt/models/item/driver_mechanical.json3
-rw-r--r--src/main/resources/assets/sparkt/models/item/machine_block.json3
-rw-r--r--src/main/resources/assets/sparkt/models/item/machine_furnace.json3
-rw-r--r--src/main/resources/assets/sparkt/models/item/machine_grinder.json3
-rw-r--r--src/main/resources/assets/sparkt/textures/block/driver_side.pngbin0 -> 356 bytes
-rw-r--r--src/main/resources/assets/sparkt/textures/block/driver_top.pngbin0 -> 247 bytes
-rw-r--r--src/main/resources/assets/sparkt/textures/block/furnace_side.pngbin0 -> 272 bytes
-rw-r--r--src/main/resources/assets/sparkt/textures/block/grinder_side.pngbin0 -> 283 bytes
-rw-r--r--src/main/resources/assets/sparkt/textures/block/machine_bottom.pngbin0 -> 196 bytes
-rw-r--r--src/main/resources/assets/sparkt/textures/block/machine_side.pngbin0 -> 207 bytes
-rw-r--r--src/main/resources/assets/sparkt/textures/block/machine_top.pngbin0 -> 196 bytes
-rw-r--r--src/main/resources/data/sparkt/loot_tables/block/machine_block.json19
-rw-r--r--src/main/resources/fabric.mod.json32
24 files changed, 127 insertions, 0 deletions
diff --git a/src/main/resources/assets/sparkt/blockstates/driver_mechanical.json b/src/main/resources/assets/sparkt/blockstates/driver_mechanical.json
new file mode 100644
index 0000000..f01b009
--- /dev/null
+++ b/src/main/resources/assets/sparkt/blockstates/driver_mechanical.json
@@ -0,0 +1,5 @@
+{
+ "variants": {
+ "": { "model": "sparkt:block/driver_mechanical" }
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/blockstates/machine_block.json b/src/main/resources/assets/sparkt/blockstates/machine_block.json
new file mode 100644
index 0000000..c58ab84
--- /dev/null
+++ b/src/main/resources/assets/sparkt/blockstates/machine_block.json
@@ -0,0 +1,5 @@
+{
+ "variants": {
+ "": { "model": "sparkt:block/machine_block" }
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/blockstates/machine_furnace.json b/src/main/resources/assets/sparkt/blockstates/machine_furnace.json
new file mode 100644
index 0000000..2c115f2
--- /dev/null
+++ b/src/main/resources/assets/sparkt/blockstates/machine_furnace.json
@@ -0,0 +1,5 @@
+{
+ "variants": {
+ "": { "model": "sparkt:block/machine_furnace" }
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/blockstates/machine_grinder.json b/src/main/resources/assets/sparkt/blockstates/machine_grinder.json
new file mode 100644
index 0000000..5e233bf
--- /dev/null
+++ b/src/main/resources/assets/sparkt/blockstates/machine_grinder.json
@@ -0,0 +1,5 @@
+{
+ "variants": {
+ "": { "model": "sparkt:block/machine_grinder" }
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/icon.png b/src/main/resources/assets/sparkt/icon.png
new file mode 100644
index 0000000..b8bb552
--- /dev/null
+++ b/src/main/resources/assets/sparkt/icon.png
Binary files differ
diff --git a/src/main/resources/assets/sparkt/lang/en_us.json b/src/main/resources/assets/sparkt/lang/en_us.json
new file mode 100644
index 0000000..28005eb
--- /dev/null
+++ b/src/main/resources/assets/sparkt/lang/en_us.json
@@ -0,0 +1,8 @@
+{
+ "block.sparkt.machine_block": "Machine Block",
+ "block.sparkt.machine_furnace": "Electric Furnace",
+ "block.sparkt.wire": "Wire",
+ "block.sparkt.machine_grinder": "Electric Crusher",
+ "block.sparkt.driver_mechanical": "Mechanical Driver",
+ "block.sparkt.driver_thermal": "Thermal Driver"
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/block/driver_mechanical.json b/src/main/resources/assets/sparkt/models/block/driver_mechanical.json
new file mode 100644
index 0000000..f3bdf7b
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/block/driver_mechanical.json
@@ -0,0 +1,9 @@
+{
+ "parent": "block/orientable_with_bottom",
+ "textures": {
+ "top": "sparkt:block/driver_top",
+ "side": "sparkt:block/driver_side",
+ "front": "sparkt:block/driver_side",
+ "bottom": "sparkt:block/machine_bottom"
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/block/machine.json b/src/main/resources/assets/sparkt/models/block/machine.json
new file mode 100644
index 0000000..27cab61
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/block/machine.json
@@ -0,0 +1,9 @@
+{
+ "parent": "block/orientable_with_bottom",
+ "textures": {
+ "top": "sparkt:block/machine_top",
+ "side": "sparkt:block/machine_side",
+ "front": "#front",
+ "bottom": "sparkt:block/machine_bottom"
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/block/machine_block.json b/src/main/resources/assets/sparkt/models/block/machine_block.json
new file mode 100644
index 0000000..679b548
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/block/machine_block.json
@@ -0,0 +1,6 @@
+{
+ "parent": "sparkt:block/machine",
+ "textures": {
+ "front": "sparkt:block/machine_side"
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/block/machine_furnace.json b/src/main/resources/assets/sparkt/models/block/machine_furnace.json
new file mode 100644
index 0000000..e35099f
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/block/machine_furnace.json
@@ -0,0 +1,6 @@
+{
+ "parent": "sparkt:block/machine",
+ "textures": {
+ "front": "sparkt:block/furnace_side"
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/block/machine_grinder.json b/src/main/resources/assets/sparkt/models/block/machine_grinder.json
new file mode 100644
index 0000000..de72365
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/block/machine_grinder.json
@@ -0,0 +1,6 @@
+{
+ "parent": "sparkt:block/machine",
+ "textures": {
+ "front": "sparkt:block/grinder_side"
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/item/driver_mechanical.json b/src/main/resources/assets/sparkt/models/item/driver_mechanical.json
new file mode 100644
index 0000000..19ecb75
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/item/driver_mechanical.json
@@ -0,0 +1,3 @@
+{
+ "parent": "sparkt:block/driver_mechanical"
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/item/machine_block.json b/src/main/resources/assets/sparkt/models/item/machine_block.json
new file mode 100644
index 0000000..a405f71
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/item/machine_block.json
@@ -0,0 +1,3 @@
+{
+ "parent": "sparkt:block/machine_block"
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/item/machine_furnace.json b/src/main/resources/assets/sparkt/models/item/machine_furnace.json
new file mode 100644
index 0000000..ed00d41
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/item/machine_furnace.json
@@ -0,0 +1,3 @@
+{
+ "parent": "sparkt:block/machine_furnace"
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/models/item/machine_grinder.json b/src/main/resources/assets/sparkt/models/item/machine_grinder.json
new file mode 100644
index 0000000..16fa3e9
--- /dev/null
+++ b/src/main/resources/assets/sparkt/models/item/machine_grinder.json
@@ -0,0 +1,3 @@
+{
+ "parent": "sparkt:block/machine_grinder"
+} \ No newline at end of file
diff --git a/src/main/resources/assets/sparkt/textures/block/driver_side.png b/src/main/resources/assets/sparkt/textures/block/driver_side.png
new file mode 100644
index 0000000..51d0c2c
--- /dev/null
+++ b/src/main/resources/assets/sparkt/textures/block/driver_side.png
Binary files differ
diff --git a/src/main/resources/assets/sparkt/textures/block/driver_top.png b/src/main/resources/assets/sparkt/textures/block/driver_top.png
new file mode 100644
index 0000000..2e85d33
--- /dev/null
+++ b/src/main/resources/assets/sparkt/textures/block/driver_top.png
Binary files differ
diff --git a/src/main/resources/assets/sparkt/textures/block/furnace_side.png b/src/main/resources/assets/sparkt/textures/block/furnace_side.png
new file mode 100644
index 0000000..e7ba9c2
--- /dev/null
+++ b/src/main/resources/assets/sparkt/textures/block/furnace_side.png
Binary files differ
diff --git a/src/main/resources/assets/sparkt/textures/block/grinder_side.png b/src/main/resources/assets/sparkt/textures/block/grinder_side.png
new file mode 100644
index 0000000..1f384f8
--- /dev/null
+++ b/src/main/resources/assets/sparkt/textures/block/grinder_side.png
Binary files differ
diff --git a/src/main/resources/assets/sparkt/textures/block/machine_bottom.png b/src/main/resources/assets/sparkt/textures/block/machine_bottom.png
new file mode 100644
index 0000000..48d3f40
--- /dev/null
+++ b/src/main/resources/assets/sparkt/textures/block/machine_bottom.png
Binary files differ
diff --git a/src/main/resources/assets/sparkt/textures/block/machine_side.png b/src/main/resources/assets/sparkt/textures/block/machine_side.png
new file mode 100644
index 0000000..6e1fb14
--- /dev/null
+++ b/src/main/resources/assets/sparkt/textures/block/machine_side.png
Binary files differ
diff --git a/src/main/resources/assets/sparkt/textures/block/machine_top.png b/src/main/resources/assets/sparkt/textures/block/machine_top.png
new file mode 100644
index 0000000..7d4463f
--- /dev/null
+++ b/src/main/resources/assets/sparkt/textures/block/machine_top.png
Binary files differ
diff --git a/src/main/resources/data/sparkt/loot_tables/block/machine_block.json b/src/main/resources/data/sparkt/loot_tables/block/machine_block.json
new file mode 100644
index 0000000..5c6db56
--- /dev/null
+++ b/src/main/resources/data/sparkt/loot_tables/block/machine_block.json
@@ -0,0 +1,19 @@
+{
+ "type": "minecraft:block",
+ "pools": [
+ {
+ "rolls": 1,
+ "entries": [
+ {
+ "type": "minecraft:item",
+ "name": "sparkt:machine_block"
+ }
+ ],
+ "conditions": [
+ {
+ "condition": "minecraft:survives_explosion"
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
new file mode 100644
index 0000000..898a95f
--- /dev/null
+++ b/src/main/resources/fabric.mod.json
@@ -0,0 +1,32 @@
+{
+ "schemaVersion": 1,
+ "id": "sparkt",
+ "version": "0.0.1",
+
+ "name": "Sparkt",
+ "description": "Wires and whatnot!",
+ "authors": [
+ "CCGKyle"
+ ],
+ "contact": {
+ "sources": "https://github.com/CoreChg/Sparkt"
+ },
+
+ "license": "MIT",
+ "icon": "assets/sparkt/icon.png",
+
+ "environment": "*",
+ "entrypoints": {
+ "main": [
+ "net.corechg.sparkt.SparktInit"
+ ]
+ },
+
+ "depends": {
+ "fabricloader": ">=0.7.4",
+ "fabric": "*",
+ "minecraft": "1.15.x",
+
+ "transit-api": ">=0.10.2"
+ }
+}