Skip to content

Commit

Permalink
Optimize Optifine CEM models
Browse files Browse the repository at this point in the history
  • Loading branch information
GeForceLegend committed Oct 28, 2019
1 parent 8b3f86c commit 209bf12
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 115 deletions.
13 changes: 13 additions & 0 deletions assets/minecraft/optifine/cem/head_skeleton.jem
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"__comment":"Designed by GeForceLegend",
"textureSize":[64,32],
"shadowSize":0.5,
"models":[
{
"model":"skeleton_head.jpm",
"part":"head",
"translate":[-8,-8,-8],
"rotate":[0,0,0]
}
]
}
42 changes: 11 additions & 31 deletions assets/minecraft/optifine/cem/shulker_box_base.jpm
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,21 @@
"textureSize":[64,64],
"boxes":[
{
"coordinates":[0,0,0,16,1,16],
"uvNorth":[0,51,4,52],
"uvEast":[16,51,32,52],
"uvSouth":[32,51,48,52],
"uvWest":[48,51,64,52],
"coordinates":[0,0,0,16,4,16],
"uvNorth":[16,52,32,48],
"uvEast":[0,52,16,48],
"uvSouth":[32,52,48,48],
"uvWest":[48,52,64,48],
"uvUp":[32,28,48,44],
"uvDown":[32,28,48,44]
"uvDown":[32,0,48,16]
},
{
"coordinates":[0,1,0,1,3,16],
"uvNorth":[47,51,48,48],
"uvEast":[48,51,64,48],
"uvSouth":[0,51,1,48],
"uvWest":[64,51,48,48],
"uvDown":[24,0,25,16]
},
{
"coordinates":[15,1,0,1,3,16],
"uvNorth":[32,51,33,48],
"uvEast":[16,51,32,48],
"uvSouth":[15,51,16,48],
"uvWest":[16,51,32,48],
"uvDown":[24,0,25,16]
},
{
"coordinates":[1,1,0,14,3,1],
"uvNorth":[1,51,15,48],
"uvSouth":[1,51,15,48],
"uvDown":[1,48,15,49]
},
{
"coordinates":[1,1,15,14,3,1],
"coordinates":[1,4,1,14,-3,14],
"uvNorth":[49,51,63,48],
"uvSouth":[49,51,63,48],
"uvDown":[49,48,63,49]
"uvEast":[33,51,47,48],
"uvSouth":[17,51,31,48],
"uvWest":[1,51,15,48],
"uvDown":[33,29,47,43]
},
{
"coordinates":[4,4,0,8,4,1],
Expand Down
84 changes: 30 additions & 54 deletions assets/minecraft/optifine/cem/shulker_box_lid.jpm
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,32 @@
"textureSize":[64,64],
"boxes":[
{
"coordinates":[0,15,0,16,1,16],
"uvNorth":[32,16,48,17],
"uvEast":[16,16,32,17],
"uvSouth":[0,16,16,17],
"uvWest":[48,16,64,17],
"uvUp":[16,0,32,16],
"uvDown":[16,0,32,16]
},
{
"coordinates":[0,8,0,16,7,1],
"uvNorth":[32,24,48,17],
"uvEast":[31,24,32,17],
"uvSouth":[32,24,48,17],
"uvWest":[48,24,49,17],
"uvUp":[32,23,48,24]
},
{
"coordinates":[0,8,15,16,7,1],
"uvNorth":[0,24,16,17],
"uvEast":[16,24,17,17],
"uvSouth":[0,24,16,17],
"uvWest":[63,24,64,17],
"uvUp":[0,23,16,24]
},
{
"coordinates":[0,8,1,1,7,14],
"uvEast":[49,24,63,17],
"uvWest":[49,24,63,17],
"uvUp":[24,1,25,15]
"coordinates":[1,15,1,14,-7,14],
"uvNorth":[49,17,63,24],
"uvEast":[33,17,47,24],
"uvSouth":[17,17,31,24],
"uvWest":[1,17,15,24],
"uvUp":[17,0,31,16]
},
{
"coordinates":[15,8,1,1,7,14],
"uvEast":[1,24,15,17],
"uvWest":[1,24,15,17],
"uvUp":[24,1,25,15]
"coordinates":[0,8,0,16,8,16],
"uvNorth":[16,24,32,16],
"uvEast":[0,24,16,16],
"uvSouth":[48,24,64,16],
"uvWest":[32,24,48,16],
"uvUp":[16,28,32,44],
"uvDown":[16,0,32,16]
},
{
"coordinates":[0,4,0,4,4,1],
"uvNorth":[48,28,44,24],
"uvWest":[45,28,44,24],
"uvSouth":[44,28,48,24],
"uvEast":[48,28,47,24],
"uvUp":[44,0,48,1]
},
{
"coordinates":[12,4,0,4,4,1],
"uvNorth":[36,28,32,24],
"uvWest":[32,28,31,24],
"uvSouth":[32,28,36,24],
"uvEast":[35,28,36,24],
"uvUp":[32,0,36,1]
Expand All @@ -60,44 +38,42 @@
"uvNorth":[0,28,4,24],
"uvWest":[4,28,3,24],
"uvSouth":[4,28,0,24],
"uvEast":[64,28,63,24],
"uvUp":[44,0,48,1]
"uvUp":[44,15,48,16]
},
{
"coordinates":[12,4,15,4,4,1],
"uvNorth":[12,28,16,24],
"uvWest":[17,28,16,24],
"uvSouth":[16,28,12,24],
"uvEast":[13,28,12,24],
"uvUp":[32,0,36,1]
},
{
"coordinates":[0,4,1,1,4,3],
"uvEast":[52,28,49,24],
"coordinates":[0,4,0,1,4,4],
"uvEast":[52,28,48,24],
"uvSouth":[51,28,52,24],
"uvWest":[49,28,52,24],
"uvUp":[32,0,36,1]
"uvWest":[48,28,52,24],
"uvUp":[47,0,48,4]
},
{
"coordinates":[0,4,12,1,4,3],
"coordinates":[0,4,12,1,4,4],
"uvNorth":[60,28,61,24],
"uvEast":[63,28,60,24],
"uvWest":[60,28,63,24],
"uvUp":[44,0,48,1]
"uvEast":[64,28,60,24],
"uvWest":[60,28,64,24],
"uvUp":[47,12,48,16]
},
{
"coordinates":[15,4,12,1,4,3],
"coordinates":[15,4,12,1,4,4],
"uvNorth":[19,28,20,24],
"uvEast":[17,28,20,24],
"uvWest":[20,28,17,24],
"uvUp":[44,0,48,1]
"uvEast":[16,28,20,24],
"uvWest":[20,28,16,24],
"uvUp":[32,12,33,16]
},
{
"coordinates":[15,4,1,1,4,3],
"uvEast":[28,28,31,24],
"coordinates":[15,4,0,1,4,4],
"uvEast":[28,28,32,24],
"uvSouth":[51,28,52,24],
"uvWest":[31,28,28,24],
"uvUp":[32,0,36,1]
"uvWest":[32,28,28,24],
"uvUp":[47,0,48,4]
}
]
}
40 changes: 10 additions & 30 deletions assets/minecraft/optifine/cem/skeleton_head.jpm
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,20 @@
"textureSize":[64,32],
"boxes":[
{
"coordinates":[4,0,4,8,8,1],
"coordinates":[4,0,4,8,8,8],
"uvNorth":[8,8,16,16],
"uvEast":[7,8,8,16],
"uvEast":[0,8,8,16],
"uvSouth":[24,8,32,16],
"uvWest":[16,8,17,16],
"uvUp":[8,0,16,1],
"uvDown":[16,7,24,8]
"uvWest":[16,8,24,16],
"uvUp":[8,0,16,8],
"uvDown":[16,0,24,8]
},
{
"coordinates":[4,0,11,8,8,1],
"uvNorth":[24,8,32,16],
"uvEast":[7,8,8,16],
"uvSouth":[24,8,32,16],
"uvWest":[16,8,17,16],
"uvUp":[8,0,16,1],
"uvDown":[16,7,24,8]
},
{
"coordinates":[4,0,5,1,8,6],
"uvEast":[17,8,23,16],
"uvWest":[17,8,23,16],
"uvUp":[8,1,9,7],
"uvDown":[16,1,17,7]
},
{
"coordinates":[11,0,5,1,8,6],
"uvEast":[1,8,7,16],
"uvWest":[1,8,7,16],
"uvUp":[15,1,16,7],
"uvDown":[23,1,24,7]
},
{
"coordinates":[5,0,5,6,1,6],
"uvUp":[9,1,15,7],
"coordinates":[5,8,5,6,-7,6],
"uvNorth":[25,16,31,9],
"uvEast":[23,16,17,9],
"uvSouth":[25,16,31,9],
"uvWest":[7,16,1,9],
"uvDown":[9,1,15,7]
}
]
Expand Down

0 comments on commit 209bf12

Please sign in to comment.