way more effort than this fuckin trapdoor model deserves
This commit is contained in:
parent
9698c61810
commit
73145ed111
@ -86,7 +86,6 @@ public class TemplatesClient implements ClientModInitializer {
|
|||||||
provider.addTemplateModel(Templates.id("inner_stairs_special"), new UnbakedAutoRetexturedModel(new Identifier("block/inner_stairs")));
|
provider.addTemplateModel(Templates.id("inner_stairs_special"), new UnbakedAutoRetexturedModel(new Identifier("block/inner_stairs")));
|
||||||
provider.addTemplateModel(Templates.id("outer_stairs_special"), new UnbakedAutoRetexturedModel(new Identifier("block/outer_stairs")));
|
provider.addTemplateModel(Templates.id("outer_stairs_special"), new UnbakedAutoRetexturedModel(new Identifier("block/outer_stairs")));
|
||||||
provider.addTemplateModel(Templates.id("trapdoor_bottom_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_trapdoor_bottom")));
|
provider.addTemplateModel(Templates.id("trapdoor_bottom_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_trapdoor_bottom")));
|
||||||
provider.addTemplateModel(Templates.id("trapdoor_open_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_trapdoor_open")));
|
|
||||||
provider.addTemplateModel(Templates.id("trapdoor_top_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_trapdoor_top")));
|
provider.addTemplateModel(Templates.id("trapdoor_top_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_trapdoor_top")));
|
||||||
provider.addTemplateModel(Templates.id("wall_post_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_wall_post")));
|
provider.addTemplateModel(Templates.id("wall_post_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_wall_post")));
|
||||||
provider.addTemplateModel(Templates.id("wall_side_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_wall_side")));
|
provider.addTemplateModel(Templates.id("wall_side_special"), new UnbakedAutoRetexturedModel(new Identifier("block/template_wall_side")));
|
||||||
@ -94,6 +93,7 @@ public class TemplatesClient implements ClientModInitializer {
|
|||||||
|
|
||||||
//vanilla style models (using "special-sprite replacement" method)
|
//vanilla style models (using "special-sprite replacement" method)
|
||||||
provider.addTemplateModel(Templates.id("lever_special"), new UnbakedJsonRetexturedModel(Templates.id("block/lever")));
|
provider.addTemplateModel(Templates.id("lever_special"), new UnbakedJsonRetexturedModel(Templates.id("block/lever")));
|
||||||
|
provider.addTemplateModel(Templates.id("trapdoor_open_special"), new UnbakedJsonRetexturedModel(Templates.id("block/trapdoor_open")));
|
||||||
provider.addTemplateModel(Templates.id("lever_on_special"), new UnbakedJsonRetexturedModel(Templates.id("block/lever_on")));
|
provider.addTemplateModel(Templates.id("lever_on_special"), new UnbakedJsonRetexturedModel(Templates.id("block/lever_on")));
|
||||||
|
|
||||||
//mesh models
|
//mesh models
|
||||||
|
@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"down": "templates:templates_special/down",
|
||||||
|
"up": "templates:templates_special/up",
|
||||||
|
"north": "templates:templates_special/north",
|
||||||
|
"south": "templates:templates_special/south",
|
||||||
|
"west": "templates:templates_special/west",
|
||||||
|
"east": "templates:templates_special/east"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"from": [0, 0, 13],
|
||||||
|
"to": [16, 16, 16],
|
||||||
|
"faces": {
|
||||||
|
"down": {
|
||||||
|
"uv": [0, 16, 16, 13],
|
||||||
|
"texture": "#north",
|
||||||
|
"cullface": "down",
|
||||||
|
"rotation": 180
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"uv": [0, 16, 16, 13],
|
||||||
|
"texture": "#south",
|
||||||
|
"cullface": "up"
|
||||||
|
},
|
||||||
|
"north": {
|
||||||
|
"uv": [0, 0, 16, 16],
|
||||||
|
"texture": "#down"
|
||||||
|
},
|
||||||
|
"south": {
|
||||||
|
"uv": [0, 0, 16, 16],
|
||||||
|
"texture": "#up",
|
||||||
|
"cullface": "south"
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"uv": [0, 16, 16, 13],
|
||||||
|
"texture": "#west",
|
||||||
|
"cullface": "west",
|
||||||
|
"rotation": 270
|
||||||
|
},
|
||||||
|
"east": {
|
||||||
|
"uv": [0, 16, 16, 13],
|
||||||
|
"texture": "#east",
|
||||||
|
"cullface": "east",
|
||||||
|
"rotation": 90
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"replace": false,
|
||||||
|
"values": [
|
||||||
|
"templates:button",
|
||||||
|
"templates:candle",
|
||||||
|
"templates:carpet",
|
||||||
|
"templates:cube",
|
||||||
|
"templates:fence",
|
||||||
|
"templates:fence_gate",
|
||||||
|
"templates:pane",
|
||||||
|
"templates:post",
|
||||||
|
"templates:slab",
|
||||||
|
"templates:slope",
|
||||||
|
"templates:stairs",
|
||||||
|
"templates:trapdoor",
|
||||||
|
"templates:wall"
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"replace": false,
|
||||||
|
"values": [
|
||||||
|
"templates:trapdoor"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user