From 28febcac08b2ffd99676de5e020fd44cfde5d58a Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Fri, 19 Aug 2016 12:42:30 -0500 Subject: [PATCH] UV map the bottom of the model. Add placeholders for sides --- .../botania/blockstates/miniIsland.json | 2 +- .../botania/models/block/miniIsland_new.json | 32 +++++++++--------- .../botania/textures/model/miniIsland_new.png | Bin 1389 -> 778 bytes 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/main/resources/assets/botania/blockstates/miniIsland.json b/src/main/resources/assets/botania/blockstates/miniIsland.json index 078eca7b7..44a91fc1b 100644 --- a/src/main/resources/assets/botania/blockstates/miniIsland.json +++ b/src/main/resources/assets/botania/blockstates/miniIsland.json @@ -5,7 +5,7 @@ }, "variants": { "variant": { - "grass": { "textures": { "all": "blocks/grass_top" } }, + "grass": { "textures": { "all": "botania:model/miniIsland" } }, "podzol": { "textures": { "all": "botania:model/miniIslandPodzol" } }, "mycel": { "textures": { "all": "botania:model/miniIslandMycelium" } }, "snow": { "textures": { "all": "botania:model/miniIslandSnow" } }, diff --git a/src/main/resources/assets/botania/models/block/miniIsland_new.json b/src/main/resources/assets/botania/models/block/miniIsland_new.json index f7d029511..732fb427e 100644 --- a/src/main/resources/assets/botania/models/block/miniIsland_new.json +++ b/src/main/resources/assets/botania/models/block/miniIsland_new.json @@ -18,8 +18,8 @@ "east": { "texture": "#all", "uv": [ 0.0, 0.0, 10.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 10.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 10.0, 1.0 ] }, - "up": { "texture": "#all", "uv": [ 0.0, 0.0, 10.0, 10.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 10.0, 10.0 ] } + "up": { "texture": "#all", "uv": [ 0.0, 0.0, 2.5, 2.5 ] }, + "down": { "texture": "#all", "uv": [ 3.0, 0.0, 5.5, 2.5 ] } } }, { @@ -30,7 +30,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 3.5, 2.0, 5.0, 2.5 ] } } }, { @@ -41,7 +41,7 @@ "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 3.5, 0.0, 5.0, 0.5 ] } } }, { @@ -52,7 +52,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 6.0 ] } + "down": { "texture": "#all", "uv": [ 3.0, 0.5, 3.5, 2.0 ] } } }, { @@ -63,7 +63,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "east": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 6.0 ] } + "down": { "texture": "#all", "uv": [ 5.0, 0.5, 5.5, 2.0 ] } } }, { @@ -75,7 +75,7 @@ "east": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 6.0, 6.0 ] } + "down": { "texture": "#all", "uv": [ 3.5, 0.5, 5.0, 2.0 ] } } }, { @@ -86,7 +86,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 4.0, 2.0, 4.5, 2.5 ] } } }, { @@ -97,7 +97,7 @@ "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 4.0, 0.0, 4.5, 0.5 ] } } }, { @@ -108,7 +108,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 3.0, 1.0, 3.5, 1.5 ] } } }, { @@ -119,7 +119,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 5.0, 1.0, 5.5, 1.5 ] } } }, { @@ -130,7 +130,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 4.0, 1.5, 4.5, 2.0 ] } } }, { @@ -141,7 +141,7 @@ "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 4.0, 0.5, 4.5, 1.0 ] } } }, { @@ -152,7 +152,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 3.5, 1.0, 4.0, 1.5 ] } } }, { @@ -163,7 +163,7 @@ "north": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 4.5, 1.0, 5.0, 1.5 ] } } }, { @@ -175,7 +175,7 @@ "east": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "south": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, "west": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 1.0 ] }, - "down": { "texture": "#all", "uv": [ 0.0, 0.0, 2.0, 2.0 ] } + "down": { "texture": "#all", "uv": [ 4.0, 1.0, 4.5, 1.5 ] } } } ] diff --git a/src/main/resources/assets/botania/textures/model/miniIsland_new.png b/src/main/resources/assets/botania/textures/model/miniIsland_new.png index a054c4cc8a4e53dfe552aff755ed29a750ddc44e..4e7d86220cdf36b9f2eda652411233e89c780a9d 100644 GIT binary patch delta 739 zcmV<90v!GA3W^4hGk*fXNklm>{DxTI2TaBjf=NK3TtL$`+*dA%xddStVirug z&$=q1+38U(<$nQaZ#e3GdT+DwfVofCQ4pI+&EO3@ipPrdT0PRmG!uWq&>dpL4RXsl zhVD=$Shh>%pIy_y}tTno#n+G?F~nr1yQ2!^mnk=Y%okpCw~qyTbLzXOw)hcCk#RsjxMlN zT~Z0nP7lj=)#vtxgJrwwOxXJ@3iQ-`YPa__jqdXE93ezg+G64NztJtF|Mm~~+xGni$Qb;Zj6orU5JCtcgb+dqA%qY@2qAacK-Wz_s!ckZ)OFkh(&{BWidk3$A6pqW6_{y|H@)Sw|_n~ zL*_#>y8U|B?=(H?1IbKY_k@XIFSefVUHXFe=WYQ29&YWn?GMdPUE20#=vi5ekd!22 zV91T^K>-uPUZf-$^f++ll+f%HQj(16Q6GTT2Z%+3q}h2JOA92P&S84ghj==N&wpOy z0AO<`fn+A%uzydl7Y_K(>8QPjTf1C09l+DkeEQ-Q05nFIw&8#uq1ma%?|3?g!|_my zAuXL+uhwbVrMhmzPmc5>9PmS{-P}naCCQE7DM?1*+3ziev~+5{TBl`~>bmX#8hTpo z#IP5@*@(P+lhw=-&ANCx*U+i;YMolI)^(en&7A}QG=IFUZXf*ignQQl0G7X)BY$BM zz>{-^=({^H>?J8l)_iwq4*B%kU)uK5+(GSin;!arW;r-0pdT+Z`;EeOb0?uYy76?* zlF+BLOoM9Zoc?sC7lKCs{&;Ij7sL5lpxMzWNygpp?-IcypmJD&;1TfAJG;%Zfcm^{ zz?%_;1Al%f6$OPi1zlZmcFL5l*`A(09PpdDy(?kL0julV_++mN(I+CA$!p%&uN%)= zbnW!b_Vnzou5VxRvAT#+DQu=xHY$bn`a6xO2xul8@EeAvUO%k?w3r;}Zu5W9W!ZfK-dy^ymNM`c5KXZy)8 z$jENDFzo2qYSJ2R_3os+Q*M^nFi0*oQJ~U&vA8?f<+G#GF1XGf%Td5f( zFryWonIzjuOuqt=2NB{~Gu{aKiO<24$wNJgH2KkFNbMa)rr=rIYs?H47@f!T z`*!=Q+a$QJ005rf^kOa6e$P&=D`iUv?td#SJ3FyxkTmxj*<~;o3&2qEBYJdQF)c)a}Bviq_$0_?qZR7+KO#yuz=6hZ0)r?pd*u=0-l52ShkP@Cc|? zYH;*9;2Ltl;W}%Z(fgA864q^=G8ha7gTY`h7z_r3!C){L495S0e*yoj8ciG}7+3%R N002ovPDHLkV1kW`pGyD$