Skip to content

Commit

Permalink
Add farmland model and fix CEM model's bug
Browse files Browse the repository at this point in the history
  • Loading branch information
GeForceLegend committed Oct 5, 2019
1 parent ea75411 commit 5e618e3
Show file tree
Hide file tree
Showing 28 changed files with 949 additions and 738 deletions.
245 changes: 245 additions & 0 deletions assets/minecraft/models/block/farmland.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
{
"__comment":"Designed by GeForceLegend",
"parent":"block/block",
"elements":[
{
"from":[0,0,0],
"to":[16,15,16],
"faces":{
"north":{"uv":[0,1,16,16],"texture":"#dirt","cullface":"north"},
"east":{"uv":[0,1,16,16],"texture":"#dirt","cullface":"east"},
"south":{"uv":[0,1,16,16],"texture":"#dirt","cullface":"south"},
"west":{"uv":[0,1,16,16],"texture":"#dirt","cullface":"west"},
"up":{"uv":[0,0,16,16],"texture":"#top"},
"down":{"uv":[0,0,16,16],"texture":"#dirt","cullface":"down"}
}
},
{
"from":[15,15,0],
"to":[16,15.5,16],
"faces":{
"north":{"uv":[0,0.5,1,1],"texture":"#dirt","cullface":"north"},
"east":{"uv":[0,0.5,16,1],"texture":"#dirt"},
"west":{"uv":[15.1,-0.01,16,16.01],"rotation":270,"texture":"#top"},
"up":{"uv":[15.1,-0.01,16,16.01],"texture":"#top"}
}
},
{
"from":[14,15,5],
"to":[16,15.5,16],
"faces":{
"north":{"uv":[16,5,14,5.9],"texture":"#top"},
"south":{"uv":[14.0075,0.5,16,1],"texture":"#dirt"},
"west":{"uv":[14.1,5,15,16],"rotation":270,"texture":"#top"},
"up":{"uv":[14.0075,4.9963,16.01,16.01],"texture":"#top"}
}
},
{
"from":[13,15,10],
"to":[14,15.5,13],
"faces":{
"north":{"uv":[13.1,10.1,14,11],"texture":"#top"},
"south":{"uv":[13.1,12.1,14,13],"texture":"#top"},
"west":{"uv":[13.1,10.0025,14,13],"texture":"#top"},
"up":{"uv":[13.1,10.0025,14,13],"texture":"#top"}
}
},
{
"from":[11,15,15],
"to":[13,15.5,16],
"faces":{
"north":{"uv":[13,15.1,12.1,16],"texture":"#top"},
"east":{"uv":[13,16,12.1,15.1],"rotation":270,"texture":"#top"},
"south":{"uv":[11.0037,0.5,13,1],"texture":"#dirt","cullface":"south"},
"up":{"uv":[11.0037,15.1,13,16],"texture":"#top"}
}
},
{
"from":[11,15,7],
"to":[11.999,15.5,16],
"faces":{
"east":{"uv":[12,16.01,11.1,6.9988],"rotation":270,"texture":"#top"},
"west":{"uv":[11.1,6.9988,12,16.01],"rotation":270,"texture":"#top"},
"up":{"uv":[11.1,6.9988,12,16.01],"texture":"#top"}
}
},
{
"from":[10,15,0],
"to":[11,15.5,10],
"faces":{
"south":{"uv":[10.1,9.1,11,10],"texture":"#top"},
"west":{"uv":[10.1,-0.01,11,10.0025],"rotation":270,"texture":"#top"},
"up":{"uv":[10.1,-0.01,11,10.0025],"texture":"#top"}
}
},
{
"from":[10,15,2],
"to":[13,15.5,7],
"faces":{
"east":{"uv":[13,7,12.1,2],"rotation":270,"texture":"#top"},
"south":{"uv":[10.0025,6,13,6.9],"texture":"#top"},
"up":{"uv":[10.0025,2,13.0063,7],"texture":"#top"}
}
},
{
"from":[10,15,0],
"to":[14,15.5,2],
"faces":{
"north":{"uv":[2,0.5,5.9975,1],"texture":"#dirt"},
"east":{"uv":[14,1.9225,13.1,0],"rotation":270,"texture":"#top"},
"south":{"uv":[10.0025,1,14,1.9],"texture":"#top"},
"up":{"uv":[10.0025,-0.01,14.0075,1.9925],"texture":"#top"}
}
},
{
"from":[8,15,11],
"to":[10,15.5,11.999],
"faces":{
"north":{"uv":[10,11.1,9.1,12],"texture":"#top"},
"east":{"uv":[10,12,9.1,11.1],"rotation":270,"texture":"#top"},
"south":{"uv":[8,11.1,10,12],"texture":"#top"},
"up":{"uv":[8,11.1,10,12],"texture":"#top"}
}
},
{
"from":[7,15,13],
"to":[9,15.5,16],
"faces":{
"north":{"uv":[9,13.1,8,14],"texture":"#top"},
"east":{"uv":[9,16.01,8,13.0063],"rotation":270,"texture":"#top"},
"south":{"uv":[7,0.5,9,1],"texture":"#dirt","cullface":"south"},
"up":{"uv":[7,13.0063,9,16.01],"texture":"#top"}
}
},
{
"from":[7,15,1],
"to":[8,15.5,16],
"faces":{
"east":{"uv":[8,16,7,1],"rotation":270,"texture":"#top"},
"west":{"uv":[7,16,8,1],"rotation":90,"texture":"#top"},
"up":{"uv":[7,0.9912,8,16.01],"texture":"#top"}
}
},
{
"from":[8,15,0],
"to":[9,15.5,11.999],
"faces":{
"east":{"uv":[8,0,9,12],"rotation":90,"texture":"#top"},
"up":{"uv":[8,-0.01,9,12.005],"texture":"#top"}
}
},
{
"from":[6,15,4.001],
"to":[7,15.5,5],
"faces":{
"north":{"uv":[6,4,6.9,4.9],"texture":"#top"},
"south":{"uv":[6,4,6.9,4.9],"texture":"#top"},
"west":{"uv":[6,4,6.9,4.9],"texture":"#top"},
"up":{"uv":[6,4,6.9,4.9],"texture":"#top"}
}
},
{
"from":[6,15,0],
"to":[9,15.5,1],
"faces":{
"north":{"uv":[6,0,9,0.9],"texture":"#dirt"},
"south":{"uv":[6,0,9,0.9],"texture":"#top"},
"west":{"uv":[6,0,6.9,0.9],"rotation":270,"texture":"#top"},
"up":{"uv":[6,0,9,0.9],"texture":"#top"}
}
},
{
"from":[3,15,15],
"to":[6,15.5,16],
"faces":{
"north":{"uv":[5.9,15.1,5,16],"texture":"#top"},
"east":{"uv":[5.9,16,5,15.1],"rotation":270,"texture":"#top"},
"south":{"uv":[3,0.5,6,1],"texture":"#dirt"},
"up":{"uv":[2.9937,15.1,5.9975,16],"texture":"#top"}
}
},
{
"from":[5,15,9],
"to":[6,15.5,10],
"faces":{
"north":{"uv":[5.9,9.1,5,10],"texture":"#top"},
"east":{"uv":[5.9,10,5,9.1],"rotation":270,"texture":"#top"},
"south":{"uv":[5,9.1,5.9,10],"texture":"#top"},
"up":{"uv":[5,9.1,5.9,10],"texture":"#top"}
}
},
{
"from":[3,15,1],
"to":[5,15.5,16],
"faces":{
"north":{"uv":[5,1,3,1.9],"texture":"#top"},
"east":{"uv":[4.9,16,4,1],"rotation":270,"texture":"#top"},
"west":{"uv":[3,1,3.9,16],"rotation":270,"texture":"#top"},
"up":{"uv":[2.9937,0.9988,4.9963,16.01],"texture":"#top"}
}
},
{
"from":[2,15,0],
"to":[3.999,15.5,11],
"faces":{
"north":{"uv":[12.005,0.5,14,1],"texture":"#dirt"},
"east":{"uv":[3.9,11,3,0],"rotation":270,"texture":"#top"},
"south":{"uv":[2,10.1,3.995,11],"texture":"#top"},
"west":{"uv":[2,0,2.9,11],"rotation":270,"texture":"#top"},
"up":{"uv":[1.9975,-0.01,3.995,11.0037],"texture":"#top"}
}
},
{
"from":[0,15,15],
"to":[2,15.5,16],
"faces":{
"north":{"uv":[1.9,15.1,1,16],"texture":"#top"},
"east":{"uv":[1.9,16,1,15.1],"rotation":270,"texture":"#top"},
"south":{"uv":[0,0.5,1.9925,1],"texture":"#dirt"},
"up":{"uv":[1,15.1,1.9,16],"texture":"#top"}
}
},
{
"from":[1,15,13],
"to":[2,15.5,14],
"faces":{
"north":{"uv":[1.9,13.1,1,14],"texture":"#top"},
"east":{"uv":[1.9,14,1,13.1],"rotation":270,"texture":"#top"},
"south":{"uv":[1,13.1,1.9,14],"texture":"#top"},
"up":{"uv":[1,13.1,1.9,14],"texture":"#top"}
}
},
{
"from":[0,15,6],
"to":[1,15.5,16],
"faces":{
"north":{"uv":[0.9,6,0,6.9],"texture":"#top"},
"east":{"uv":[0.9,16,0,6],"rotation":270,"texture":"#top"},
"west":{"uv":[6,0.5,16,0.9],"texture":"#dirt","cullface":"west"},
"up":{"uv":[0,6,0.9,16],"texture":"#top"}
}
},
{
"from":[0,15,2],
"to":[1,15.5,5],
"faces":{
"north":{"uv":[0.9,2,0,2.9],"texture":"#top"},
"east":{"uv":[0.9,4.9963,0,2],"rotation":270,"texture":"#top"},
"south":{"uv":[0,4,0.9,4.9],"texture":"#top"},
"west":{"uv":[2,0.5,4.9963,0.9],"texture":"#dirt","cullface":"west"},
"up":{"uv":[0,2,0.9,4.9963],"texture":"#top"}
}
},
{
"from":[0,15,0],
"to":[1,15.5,1],
"faces":{
"north":{"uv":[15,0.5,16,1],"texture":"#dirt","cullface":"north"},
"east":{"uv":[0.9,0.9,0,0],"rotation":270,"texture":"#top"},
"south":{"uv":[0,0,0.9,0.9],"texture":"#top"},
"west":{"uv":[0,0.5,0.9,0.9],"texture":"#dirt","cullface":"west"},
"up":{"uv":[0,0,0.9,0.9],"texture":"#top"}
}
}
]
}
83 changes: 41 additions & 42 deletions assets/minecraft/optifine/cem/bed.jem
Original file line number Diff line number Diff line change
@@ -1,44 +1,43 @@
{
"__comment": "Designed by GeForceLegend",
"textureSize": [64,64],
"shadowSize": 0,
"models":
[
{
"model": "bed_head.jpm",
"part": "head",
"translate": [16, 16, 9],
"rotate": [0, 0, 0]
},
{
"model": "bed_foot.jpm",
"part": "foot",
"translate": [16, 16, 9],
"rotate": [0, 0, 0]
},
{
"model": "bed_leg.jpm",
"part": "leg1",
"translate": [16, 9, -16],
"rotate": [0, 0, 0]
},
{
"model": "bed_leg.jpm",
"part": "leg2",
"translate": [32, 9, 0],
"rotate": [0, 0, 0]
},
{
"model": "bed_leg.jpm",
"part": "leg3",
"translate": [16, 9, -16],
"rotate": [0, 0, 0]
},
{
"model": "bed_leg.jpm",
"part": "leg4",
"translate": [0, 9, 0],
"rotate": [0, 0, 0]
}
]
"__comment":"Designed by GeForceLegend",
"textureSize":[64,64],
"shadowSize":0,
"models":[
{
"model":"bed_head.jpm",
"part":"head",
"translate":[16,16,9],
"rotate":[0,0,0]
},
{
"model":"bed_foot.jpm",
"part":"foot",
"translate":[16,16,9],
"rotate":[0,0,0]
},
{
"model":"bed_leg.jpm",
"part":"leg1",
"translate":[16,9,-16],
"rotate":[0,0,0]
},
{
"model":"bed_leg.jpm",
"part":"leg2",
"translate":[32,9,0],
"rotate":[0,0,0]
},
{
"model":"bed_leg.jpm",
"part":"leg3",
"translate":[16,9,-16],
"rotate":[0,0,0]
},
{
"model":"bed_leg.jpm",
"part":"leg4",
"translate":[0,9,0],
"rotate":[0,0,0]
}
]
}
28 changes: 14 additions & 14 deletions assets/minecraft/optifine/cem/bed_foot.jpm
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"__comment": "Designed by GeForceLegend",
"textureSize": [64, 64],
"boxes": [
"__comment":"Designed by GeForceLegend",
"textureSize":[64,64],
"boxes":[
{
"coordinates": [-16, -16, -5, 16, 16, 2],
"uvNorth": [1, 28, 2, 44],
"uvEast": [0, 28, 2, 44],
"uvSouth": [28, 28, 44, 44],
"uvWest": [26, 28, 28, 44],
"uvDown": [22, 22, 38, 24]
"coordinates":[-16,-16,-5,16,16,2],
"uvNorth":[1,28,2,44],
"uvEast":[0,28,2,44],
"uvSouth":[28,28,44,44],
"uvWest":[26,28,28,44],
"uvDown":[22,22,38,24]
},
{
"coordinates": [-15.5, -16, -9, 15, 15.5, 4],
"uvNorth": [6, 28, 22, 44],
"uvEast": [2, 28, 6, 44],
"uvWest": [22, 28, 26, 44],
"uvDown": [6, 40, 22, 44]
"coordinates":[-15.5,-16,-9,15,15.5,4],
"uvNorth":[6,28,22,44],
"uvEast":[2,28,6,44],
"uvWest":[22,28,26,44],
"uvDown":[6,40,22,44]
}
]
}
Loading

0 comments on commit 5e618e3

Please sign in to comment.