Chairs!
This commit is contained in:
parent
1a26c7bd16
commit
ebdacba9a7
28 changed files with 778 additions and 10 deletions
src/resources/assets/mmm
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"variants" : {
|
||||
"facing=north": { "model": "mmm:deco/chair/acacia" } ,
|
||||
"facing=east": { "model": "mmm:deco/chair/acacia" , "y": 90 } ,
|
||||
"facing=south": { "model": "mmm:deco/chair/acacia" , "y": 180 } ,
|
||||
"facing=west": { "model": "mmm:deco/chair/acacia" , "y": 270 }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"variants" : {
|
||||
"facing=north": { "model": "mmm:deco/chair/birch" } ,
|
||||
"facing=east": { "model": "mmm:deco/chair/birch" , "y": 90 } ,
|
||||
"facing=south": { "model": "mmm:deco/chair/birch" , "y": 180 } ,
|
||||
"facing=west": { "model": "mmm:deco/chair/birch" , "y": 270 }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"variants" : {
|
||||
"facing=north": { "model": "mmm:deco/chair/dark_oak" } ,
|
||||
"facing=east": { "model": "mmm:deco/chair/dark_oak" , "y": 90 } ,
|
||||
"facing=south": { "model": "mmm:deco/chair/dark_oak" , "y": 180 } ,
|
||||
"facing=west": { "model": "mmm:deco/chair/dark_oak" , "y": 270 }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"variants" : {
|
||||
"facing=north": { "model": "mmm:deco/chair/jungle" } ,
|
||||
"facing=east": { "model": "mmm:deco/chair/jungle" , "y": 90 } ,
|
||||
"facing=south": { "model": "mmm:deco/chair/jungle" , "y": 180 } ,
|
||||
"facing=west": { "model": "mmm:deco/chair/jungle" , "y": 270 }
|
||||
}
|
||||
}
|
8
src/resources/assets/mmm/blockstates/deco_chair_oak.json
Normal file
8
src/resources/assets/mmm/blockstates/deco_chair_oak.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"variants" : {
|
||||
"facing=north": { "model": "mmm:deco/chair/oak" } ,
|
||||
"facing=east": { "model": "mmm:deco/chair/oak" , "y": 90 } ,
|
||||
"facing=south": { "model": "mmm:deco/chair/oak" , "y": 180 } ,
|
||||
"facing=west": { "model": "mmm:deco/chair/oak" , "y": 270 }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"variants" : {
|
||||
"facing=north": { "model": "mmm:deco/chair/spruce" } ,
|
||||
"facing=east": { "model": "mmm:deco/chair/spruce" , "y": 90 } ,
|
||||
"facing=south": { "model": "mmm:deco/chair/spruce" , "y": 180 } ,
|
||||
"facing=west": { "model": "mmm:deco/chair/spruce" , "y": 270 }
|
||||
}
|
||||
}
|
|
@ -4,3 +4,10 @@ tile.mmm.deco_table_spruce.name=Spruce table
|
|||
tile.mmm.deco_table_acacia.name=Acacia table
|
||||
tile.mmm.deco_table_jungle.name=Jungle wood table
|
||||
tile.mmm.deco_table_dark_oak.name=Dark oak table
|
||||
|
||||
tile.mmm.deco_chair_oak.name=Oak chair
|
||||
tile.mmm.deco_chair_birch.name=Birch chair
|
||||
tile.mmm.deco_chair_spruce.name=Spruce chair
|
||||
tile.mmm.deco_chair_acacia.name=Acacia chair
|
||||
tile.mmm.deco_chair_jungle.name=Jungle wood chair
|
||||
tile.mmm.deco_chair_dark_oak.name=Dark oak chair
|
||||
|
|
161
src/resources/assets/mmm/models/block/deco/chair.json
Normal file
161
src/resources/assets/mmm/models/block/deco/chair.json
Normal file
|
@ -0,0 +1,161 @@
|
|||
{
|
||||
"textures":
|
||||
{
|
||||
"particle": "#body"
|
||||
},
|
||||
|
||||
"elements":
|
||||
[
|
||||
{
|
||||
"from": [ 2, 0, 2 ] ,
|
||||
"to": [ 3 , 7, 3 ] ,
|
||||
"faces": {
|
||||
"down": { "texture": "#body", "cullface": "down" },
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 13, 0, 2 ] ,
|
||||
"to": [ 14 , 7, 3 ] ,
|
||||
"faces": {
|
||||
"down": { "texture": "#body", "cullface": "down" },
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 13, 0, 13 ] ,
|
||||
"to": [ 14 , 7, 14 ] ,
|
||||
"faces": {
|
||||
"down": { "texture": "#body", "cullface": "down" },
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 2, 0, 13 ] ,
|
||||
"to": [ 3 , 7, 14 ] ,
|
||||
"faces": {
|
||||
"down": { "texture": "#body", "cullface": "down" },
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
|
||||
{
|
||||
"from": [ 2, 2, 3 ] ,
|
||||
"to": [ 3 , 3, 13 ] ,
|
||||
"faces": {
|
||||
"down": { "texture": "#body" },
|
||||
"up": { "texture": "#body" },
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 13, 2, 3 ] ,
|
||||
"to": [ 14 , 3, 13 ] ,
|
||||
"faces": {
|
||||
"down": { "texture": "#body" },
|
||||
"up": { "texture": "#body" },
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 3, 2, 7 ] ,
|
||||
"to": [ 13 , 3, 9 ] ,
|
||||
"faces": {
|
||||
"down": { "texture": "#body" },
|
||||
"up": { "texture": "#body" },
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
|
||||
{
|
||||
"from": [ 1, 7, 1 ] ,
|
||||
"to": [ 15 , 8, 15 ] ,
|
||||
"faces": {
|
||||
"down": { "texture": "#body" },
|
||||
"up": { "texture": "#body" },
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
|
||||
{
|
||||
"from": [ 2, 8, 2 ] ,
|
||||
"to": [ 4 , 14, 4 ] ,
|
||||
"faces": {
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 12, 8, 2 ] ,
|
||||
"to": [ 14 , 14, 4 ] ,
|
||||
"faces": {
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 5, 8, 3 ] ,
|
||||
"to": [ 6 , 14, 4 ] ,
|
||||
"faces": {
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 7, 8, 3 ] ,
|
||||
"to": [ 9, 14, 4 ] ,
|
||||
"faces": {
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 10, 8, 3 ] ,
|
||||
"to": [ 11 , 14, 4 ] ,
|
||||
"faces": {
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
} ,
|
||||
{
|
||||
"from": [ 2, 14, 2 ] ,
|
||||
"to": [ 14 , 16, 4 ] ,
|
||||
"faces": {
|
||||
"up": { "texture": "#body" , "cullface": "up" } ,
|
||||
"down": { "texture": "#body" } ,
|
||||
"north": { "texture": "#body" } ,
|
||||
"south": { "texture": "#body" } ,
|
||||
"east": { "texture": "#body" } ,
|
||||
"west": { "texture": "#body" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:block/deco/chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_acacia",
|
||||
"leg": "minecraft:blocks/log_acacia"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:block/deco/chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_birch",
|
||||
"leg": "minecraft:blocks/log_birch"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:block/deco/chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_big_oak",
|
||||
"leg": "minecraft:blocks/log_big_oak"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:block/deco/chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_jungle",
|
||||
"leg": "minecraft:blocks/log_jungle"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:block/deco/chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_oak",
|
||||
"leg": "minecraft:blocks/log_oak"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:block/deco/chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_spruce",
|
||||
"leg": "minecraft:blocks/log_spruce"
|
||||
}
|
||||
}
|
25
src/resources/assets/mmm/models/item/deco_chair.json
Normal file
25
src/resources/assets/mmm/models/item/deco_chair.json
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"parent": "mmm:block/deco/chair",
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [ 10, -45, 10 ],
|
||||
"translation": [ 0, 1.5, -1.75 ],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 10, -45, 10 ],
|
||||
"translation": [ 0, 1.5, -1.75 ],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"ground": {
|
||||
"rotation": [ 0, 0, 0 ],
|
||||
"translation": [ 0, 1, 0 ],
|
||||
"scale": [ 0.375, 0.375, 0.375 ]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [ 30, 45, 0 ],
|
||||
"translation": [ 0, 0, 0 ],
|
||||
"scale": [ 0.5, 0.5, 0.5 ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:item/deco_chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_acacia",
|
||||
"legs": "minecraft:blocks/log_acacia"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:item/deco_chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_birch",
|
||||
"legs": "minecraft:blocks/log_birch"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:item/deco_chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_big_oak",
|
||||
"legs": "minecraft:blocks/log_big_oak"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:item/deco_chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_jungle",
|
||||
"legs": "minecraft:blocks/log_jungle"
|
||||
}
|
||||
}
|
7
src/resources/assets/mmm/models/item/deco_chair_oak.json
Normal file
7
src/resources/assets/mmm/models/item/deco_chair_oak.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:item/deco_chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_oak",
|
||||
"legs": "minecraft:blocks/log_oak"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "mmm:item/deco_chair",
|
||||
"textures": {
|
||||
"body": "minecraft:blocks/planks_spruce",
|
||||
"legs": "minecraft:blocks/log_spruce"
|
||||
}
|
||||
}
|
Reference in a new issue