From f18b60d062042ba8d382287168ad449d24157a8e Mon Sep 17 00:00:00 2001 From: Yulife Date: Sun, 11 Jun 2017 19:09:21 +0200 Subject: [PATCH] JSONifcy routing nodes I don't know how I should prepare the model but here's the full package. Master routing nodes uses one texture, normal routing node use a base texture plus a texture for their kind. --- .../block/routing/MasterRoutingNode.json | 163 ++++++++++++ .../models/block/routing/RoutingNode.json | 235 ++++++++++++++++++ .../textures/models/MasterRoutingNode.png | Bin 0 -> 1734 bytes .../textures/models/RoutingNodeBase.png | Bin 0 -> 685 bytes .../textures/models/RoutingNodeInput.png | Bin 0 -> 589 bytes .../textures/models/RoutingNodeNormal.png | Bin 0 -> 524 bytes .../textures/models/RoutingNodeOutput.png | Bin 0 -> 572 bytes 7 files changed, 398 insertions(+) create mode 100644 src/main/resources/assets/bloodmagic/models/block/routing/MasterRoutingNode.json create mode 100644 src/main/resources/assets/bloodmagic/models/block/routing/RoutingNode.json create mode 100644 src/main/resources/assets/bloodmagic/textures/models/MasterRoutingNode.png create mode 100644 src/main/resources/assets/bloodmagic/textures/models/RoutingNodeBase.png create mode 100644 src/main/resources/assets/bloodmagic/textures/models/RoutingNodeInput.png create mode 100644 src/main/resources/assets/bloodmagic/textures/models/RoutingNodeNormal.png create mode 100644 src/main/resources/assets/bloodmagic/textures/models/RoutingNodeOutput.png diff --git a/src/main/resources/assets/bloodmagic/models/block/routing/MasterRoutingNode.json b/src/main/resources/assets/bloodmagic/models/block/routing/MasterRoutingNode.json new file mode 100644 index 00000000..6aba1e66 --- /dev/null +++ b/src/main/resources/assets/bloodmagic/models/block/routing/MasterRoutingNode.json @@ -0,0 +1,163 @@ +{ + "textures": {}, + "elements": [ + { + "name": "base", + "from": [4, 0, 4], + "to": [12, 1, 12], + "shade": true, + "faces": { + "north": { + "uv": [8, 0, 16, 1], + "texture": "#0", + "rotation": 180 + }, + "east": { + "uv": [8, 0, 16, 1], + "texture": "#0", + "rotation": 180 + }, + "south": { + "uv": [8, 0, 16, 1], + "texture": "#0", + "rotation": 180 + }, + "west": { + "uv": [8, 0, 16, 1], + "texture": "#0", + "rotation": 180 + }, + "up": { + "uv": [0, 0, 8, 8], + "texture": "#0", + "rotation": 180 + }, + "down": { + "uv": [8, 0, 16, 8], + "texture": "#0", + "rotation": 180 + } + } + }, + { + "name": "glass", + "from": [6, 6, 6], + "to": [10, 10, 10], + "shade": true, + "faces": { + "north": {"uv": [13.5, 8, 16, 10.5], "texture": "#0"}, + "east": {"uv": [13.5, 8, 16, 10.5], "texture": "#0"}, + "south": {"uv": [13.5, 8, 16, 10.5], "texture": "#0"}, + "west": {"uv": [13.5, 8, 16, 10.5], "texture": "#0"}, + "up": {"uv": [13.5, 8, 16, 10.5], "texture": "#0"}, + "down": {"uv": [13.5, 8, 16, 10.5], "texture": "#0"} + } + }, + { + "name": "pillar3", + "from": [9.5, 0.5, 7.5], + "to": [10.5, 6.5, 8.5], + "shade": true, + "faces": { + "north": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "east": {"uv": [0, 10, 1, 16], "texture": "#0"}, + "south": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "west": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "up": {"uv": [9.5, 3.5, 10.5, 4.5], "texture": "#0"}, + "down": { + "uv": [1.5, 10, 2.5, 16], + "texture": "#0", + "cullface": "down" + } + }, + "rotation": { + "origin": [10, 3.5, 8], + "axis": "z", + "angle": 22.5 + } + }, + { + "name": "pillar4", + "from": [5.5, 0.5, 7.5], + "to": [6.5, 6.5, 8.5], + "shade": true, + "faces": { + "north": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "east": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "south": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "west": {"uv": [0, 10, 1, 16], "texture": "#0"}, + "up": {"uv": [9.5, 3.5, 10.5, 4.5], "texture": "#0"}, + "down": { + "uv": [1.5, 10, 2.5, 16], + "texture": "#0", + "cullface": "down" + } + }, + "rotation": { + "origin": [6, 3.5, 8], + "axis": "z", + "angle": -22.5 + } + }, + { + "name": "pillar1", + "from": [7.5, 0.5, 5.5], + "to": [8.5, 6.5, 6.5], + "shade": true, + "faces": { + "north": {"uv": [0, 10, 1, 16], "texture": "#0"}, + "east": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "south": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "west": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "up": {"uv": [9.5, 3.5, 10.5, 4.5], "texture": "#0"}, + "down": { + "uv": [1.5, 10, 2.5, 16], + "texture": "#0", + "cullface": "down" + } + }, + "rotation": { + "origin": [8, 3.5, 6], + "axis": "x", + "angle": 22.5 + } + }, + { + "name": "pillar2", + "from": [7.5, 0.5, 9.5], + "to": [8.5, 6.5, 10.5], + "shade": true, + "faces": { + "north": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "east": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "south": {"uv": [0, 10, 1, 16], "texture": "#0"}, + "west": {"uv": [1.5, 10, 2.5, 16], "texture": "#0"}, + "up": {"uv": [9.5, 3.5, 10.5, 4.5], "texture": "#0"}, + "down": { + "uv": [1.5, 10, 2.5, 16], + "texture": "#0", + "cullface": "down" + } + }, + "rotation": { + "origin": [8, 3.5, 10], + "axis": "x", + "angle": -22.5 + } + }, + { + "name": "core", + "from": [7, 7, 7], + "to": [9, 9, 9], + "shade": true, + "faces": { + "north": {"uv": [14.5, 11, 16, 12.5], "texture": "#0"}, + "east": {"uv": [14.5, 11, 16, 12.5], "texture": "#0"}, + "south": {"uv": [14.5, 11, 16, 12.5], "texture": "#0"}, + "west": {"uv": [14.5, 11, 16, 12.5], "texture": "#0"}, + "up": {"uv": [14.5, 11, 16, 12.5], "texture": "#0"}, + "down": {"uv": [14.5, 11, 16, 12.5], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bloodmagic/models/block/routing/RoutingNode.json b/src/main/resources/assets/bloodmagic/models/block/routing/RoutingNode.json new file mode 100644 index 00000000..b0861770 --- /dev/null +++ b/src/main/resources/assets/bloodmagic/models/block/routing/RoutingNode.json @@ -0,0 +1,235 @@ +{ + "textures": {}, + "elements": [ + { + "name": "base", + "from": [5, 0, 5], + "to": [11, 1, 11], + "shade": true, + "faces": { + "north": { + "uv": [0, 0, 12, 2], + "texture": "#0", + "rotation": 180 + }, + "east": { + "uv": [0, 0, 12, 2], + "texture": "#0", + "rotation": 180 + }, + "south": { + "uv": [0, 0, 12, 2], + "texture": "#0", + "rotation": 180 + }, + "west": { + "uv": [0, 0, 12, 2], + "texture": "#0", + "rotation": 180 + }, + "up": {"uv": [0, 0, 12, 12], "texture": "#1"}, + "down": {"uv": [0, 0, 12, 12], "texture": "#0"} + } + }, + { + "name": "edge1", + "from": [7, 0, 4], + "to": [9, 1, 5], + "shade": true, + "faces": { + "north": {"uv": [1, 14, 5, 16], "texture": "#0"}, + "east": {"uv": [10, 14, 12, 16], "texture": "#0"}, + "south": { + "uv": [0, 0, 2, 1], + "texture": "#0", + "cullface": "south" + }, + "west": {"uv": [10, 14, 12, 16], "texture": "#0"}, + "up": { + "uv": [9, 14, 13, 16], + "texture": "#0", + "rotation": 180 + }, + "down": {"uv": [9, 14, 13, 16], "texture": "#0"} + } + }, + { + "name": "edge2", + "from": [7, 0, 11], + "to": [9, 1, 12], + "shade": true, + "faces": { + "north": { + "uv": [0, 0, 2, 1], + "texture": "#0", + "cullface": "north" + }, + "east": {"uv": [10, 14, 12, 16], "texture": "#0"}, + "south": {"uv": [1, 14, 5, 16], "texture": "#0"}, + "west": {"uv": [10, 14, 12, 16], "texture": "#0"}, + "up": {"uv": [9, 14, 13, 16], "texture": "#0"}, + "down": { + "uv": [9, 14, 13, 16], + "texture": "#0", + "rotation": 180 + } + } + }, + { + "name": "edge3", + "from": [11, 0, 7], + "to": [12, 1, 9], + "shade": true, + "faces": { + "north": {"uv": [10, 14, 12, 16], "texture": "#0"}, + "east": {"uv": [1, 14, 5, 16], "texture": "#0"}, + "south": {"uv": [10, 14, 12, 16], "texture": "#0"}, + "west": { + "uv": [0, 0, 2, 1], + "texture": "#0", + "cullface": "west" + }, + "up": { + "uv": [9, 14, 13, 16], + "texture": "#0", + "rotation": 270 + }, + "down": { + "uv": [9, 14, 13, 16], + "texture": "#0", + "rotation": 270 + } + } + }, + { + "name": "edge4", + "from": [4, 0, 7], + "to": [5, 1, 9], + "shade": true, + "faces": { + "north": {"uv": [10, 14, 12, 16], "texture": "#0"}, + "east": { + "uv": [0, 0, 2, 1], + "texture": "#0", + "cullface": "east" + }, + "south": {"uv": [10, 14, 12, 16], "texture": "#0"}, + "west": {"uv": [1, 14, 5, 16], "texture": "#0"}, + "up": { + "uv": [9, 14, 13, 16], + "texture": "#0", + "rotation": 90 + }, + "down": { + "uv": [9, 14, 13, 16], + "texture": "#0", + "rotation": 90 + } + } + }, + { + "name": "glass", + "from": [6, 6, 6], + "to": [10, 10, 10], + "shade": true, + "faces": { + "north": {"uv": [12, 0, 16, 4], "texture": "#0"}, + "east": {"uv": [12, 0, 16, 4], "texture": "#0"}, + "south": {"uv": [12, 0, 16, 4], "texture": "#0"}, + "west": {"uv": [12, 0, 16, 4], "texture": "#0"}, + "up": {"uv": [12, 0, 16, 4], "texture": "#0"}, + "down": {"uv": [12, 0, 16, 4], "texture": "#0"} + } + }, + { + "name": "pillar3", + "from": [9.5, 0.5, 7.5], + "to": [10.5, 6.5, 8.5], + "shade": true, + "faces": { + "north": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "east": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "south": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "west": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "up": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "down": {"uv": [14, 4, 16, 16], "texture": "#0"} + }, + "rotation": { + "origin": [10, 3.5, 8], + "axis": "z", + "angle": 22.5 + } + }, + { + "name": "pillar4", + "from": [5.5, 0.5, 7.5], + "to": [6.5, 6.5, 8.5], + "shade": true, + "faces": { + "north": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "east": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "south": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "west": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "up": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "down": {"uv": [14, 4, 16, 16], "texture": "#0"} + }, + "rotation": { + "origin": [6, 3.5, 8], + "axis": "z", + "angle": -22.5 + } + }, + { + "name": "pillar1", + "from": [7.5, 0.5, 5.5], + "to": [8.5, 6.5, 6.5], + "shade": true, + "faces": { + "north": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "east": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "south": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "west": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "up": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "down": {"uv": [14, 4, 16, 16], "texture": "#0"} + }, + "rotation": { + "origin": [8, 3.5, 6], + "axis": "x", + "angle": 22.5 + } + }, + { + "name": "pillar2", + "from": [7.5, 0.5, 9.5], + "to": [8.5, 6.5, 10.5], + "shade": true, + "faces": { + "north": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "east": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "south": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "west": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "up": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "down": {"uv": [14, 4, 16, 16], "texture": "#0"} + }, + "rotation": { + "origin": [8, 3.5, 10], + "axis": "x", + "angle": -22.5 + } + }, + { + "name": "core", + "from": [7, 7, 7], + "to": [9, 9, 9], + "shade": true, + "faces": { + "north": {"uv": [14, 0, 16, 2], "texture": "#1"}, + "east": {"uv": [14, 0, 16, 2], "texture": "#1"}, + "south": {"uv": [14, 0, 16, 2], "texture": "#1"}, + "west": {"uv": [14, 0, 16, 2], "texture": "#1"}, + "up": {"uv": [14, 0, 16, 2], "texture": "#1"}, + "down": {"uv": [14, 0, 16, 2], "texture": "#1"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/bloodmagic/textures/models/MasterRoutingNode.png b/src/main/resources/assets/bloodmagic/textures/models/MasterRoutingNode.png new file mode 100644 index 0000000000000000000000000000000000000000..f41245d48191f8a999179dd2686059c3b57b5bf8 GIT binary patch literal 1734 zcmV;%208hOP)sYvmtwFf z^ypL#rN@}2fnuvpA#PK8a7&v*L&0EZFoe1-#rTkegGk*&PrU_N1)H8696L7M*jmXe z?XI*tv%52IUJtu$>&Q~%=$)3g@ALS*_x*i;?>FM)$&(sDN(pGl7v;?~P5Ifi(;TlY@}uuxpxy2;Jsn`%Sv=1}YmI4|G@DO&@??YA z*~47=)2~@+EOY71-$>IG-}ecE0^M$RU%Y9WbUItK+ij$jlH;{S&b)XIDGfkVE|*zY zSRjfbN~LKEg#yQpeI3wryIo#BeU9U`#mVU^l`_rdlYR56tEkTn-Q%ls8S&U~6j&!!W4V|3kG} zWo>O80Nb`142I)uha^b=s8%bJxr6c&z;Uv)S}ihGhJF-bSrz~p%c2+*5khe2P>m!> z$mesIrZqm@D3uSw?`gwIr9u>iY;SkJkPY|4ODP4poKGCbRI3%V*0`=ity(2xS!6O6 zww<9+m_kZP5EM9cXoga0dRz$)$O|F3dgC&VW3#rlHo6ue=yW>7af~5H78?u(z$lZ~ z*PFb3{jJGb%d(!E?{>Q*7YHF)X)JT?<~vxHH7OR|UYEgeKp2HYQG{*V2q7>GgKIah zu+msY2!Rk1r4-fb%)WWhXw8T}b?THBLOl0Vs+7VojByYL;5pz}I)9#H-<#*`$qSra zT4Jry;Jq6+p1JnV*Kb}d6sy=-n@>KzLu+#lbFa-;`*#7D$$oj)HHK;OsPzbdtm90) z{;c6oO_MJaDHN;d6tdau-T|yMmN{NqT+N2xT$Mze{z zbpE^^YbeexE$Oj_PX+eMcV8o)&#|%5qSM*p{{07NJ*x3S2O1kbN8b=nETPtvMhSN5PEYy zn;TRrRod+~olbk#0DkzDHz!FhU;oXk+`fAE|McFOJiT6z zFzii!r>REklr$a7HLm~pd>+#@7!C(xn|}TNIpr8rI&*L7J~SRj}4IdbF( zwOWnY*~1v7iBc(3Q&W>B2@4}SmeJzenj^|x4GZ{m3_l}d?hHcJo`sFcebnwi0KT|CdDSPalw z<2W`~Z(QDA04t5<$;ZQPE*Lc|S1=3%DGhAfCW@kwC5HpLy)JPav$nQ|Wm#Oi`3@_M c<$VS4UzAc4pnXk|wEzGB07*qoM6N<$g0Tuj;s5{u literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/bloodmagic/textures/models/RoutingNodeBase.png b/src/main/resources/assets/bloodmagic/textures/models/RoutingNodeBase.png new file mode 100644 index 0000000000000000000000000000000000000000..c9a235ad1faadbef776eac6eb4790dc000c50143 GIT binary patch literal 685 zcmV;e0#f~nP)lTB|EXB35>_ha4}zvIMC08gYyManJ`E2JWj0{$zk z`U5Iu+n+|09bHkn3aL~Orb!G0PwW}b_uMY3T8&`Ev%lx+oO7?5PNxE(wFZQyX*oPR zWImshrYRzV)*7Wi1fKtN{L6SZ;qTdBEWXUKecv-24%yimlVurOTU#_uO&ohBlY58= zK@cF)b9Q#laCC?5@h;AVL{Ws+S~Hp4_IM_ga0XbsMVyn6LJ_wWC}$B&|(OPpcdq=rmgZYs^ z-<+Y2j*cXbJy8@9h9Slnlu{H$LEARCz##}-*O8`6PESu2z|Y6W^2h7f=p>n7twkwK z7=}3KNRk8q?>$vr(KHQF6tTa*&wmu_HP#rka{*cl-g~yUM}$GZ)zu|o=%}iiIF9MM zp1$via0qe{)MfM9^K=k>@#S znzFaI$J@8>aL$n~Qf_XR0Q7y2_a0E2;eq$GU5B;Suv{)N#xR?`CrJ|WJV$GT)`qI8 zvDVUc-L37L3;+g$h{a-o3mj!pP*pV`lx4~8&MsM&Gaiosxh3MgM}wkiT8yzQS4$S@ z4RIVZ8jS&%efWTgaCv!k%R)35(6%l1EakLl` TNq(Z$00000NkvXXu0mjfIRH54 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/bloodmagic/textures/models/RoutingNodeInput.png b/src/main/resources/assets/bloodmagic/textures/models/RoutingNodeInput.png new file mode 100644 index 0000000000000000000000000000000000000000..dd0321613212838e83b4772810894f92e3699107 GIT binary patch literal 589 zcmV-T0nDWuLaq@6Gm)vjpM zHlmG-pq0?3T1W;GK_LYq5iNqYts-ipyZQuCVA?Fyv0(0u<2cvrIj2>VH1!R7KET7n z?|oIFP;dYu0yvW7kbFK*xm+fSBAj!G2ugu-u)4ac0KV!0yNg#P{4-1&)V90OK@)@uK-lBSa5fipYx-<&C=c5IOkfq;803&bKxO{sncA!aGsTw z6?L>kO;1ldtpj}Dr&_I1tJSd9kWQy*He<5cEImCT#u%cg*4p3~GBD7O=Xoe4SZhe7 zgea=AySt0l0oGcQB*FK6hKGmw6Y1zUhKM5w0+doT8V!_!N+n{iUPnY>jKx}u*1ApL zZEkKeI5>dT8e=S(j1NFxUmwO8jIjhkhA67Cv-7>Zz!<}WrDe`tyN-y^+1X7lmm>%Q zwC*I85-!f%VD|A7K(!ZmUW%)iFOkh=nSHd#%Y}IwjRqnq;y7kzZk`wS=P<_bHv}M) z@u^fQbcZ3${e9y20B|&$P0pT~qF&!4437h@O`wX!q7zZAyC=yZy}iA3b#+lHmHzq4 b|M|^Nf1=RqM>^CE00000NkvXXu0mjfB7P4U literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/bloodmagic/textures/models/RoutingNodeNormal.png b/src/main/resources/assets/bloodmagic/textures/models/RoutingNodeNormal.png new file mode 100644 index 0000000000000000000000000000000000000000..b15520c718ec8e2effd2efe056de6a5a0bdfc4a8 GIT binary patch literal 524 zcmV+n0`vWeP)u^ycOUCn987#&9^Gsw#TD9&OtYf@d^3LRE3j(KI!8cT@g!eSOW_+Z)bW%V>1O zZ1#lr8O8u8XJ=Yg94taf@6JtbGcK~~QJiV4M7{hwK#u&)+f>l*vtszE1L-&yvJEbF1Fh$u;75fQxi zG)=n;IG3 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/bloodmagic/textures/models/RoutingNodeOutput.png b/src/main/resources/assets/bloodmagic/textures/models/RoutingNodeOutput.png new file mode 100644 index 0000000000000000000000000000000000000000..e3e6a8ab9590889510442ddfcf83eb6a8ac67b3d GIT binary patch literal 572 zcmV-C0>k}@P)QQU~X=X?d@&iIL3RAh@cdB54BoN0c6R#|NQke#Y8r168e7{ryWhOK&t^; zuCl`Iwc&TFaAr)5LL%h!BRysZ=UxtuZE~P!ODRJi4X<)$bq( z3VeF{l3wpL#%RJYq}%NxQXtDRL=?SV&ezp1z+XB5So#pLG~Z$QdWm#@pDgPEo-|E) z^>B*27gL`9m