Fixed up the models for items in flower pots

This commit is contained in:
Sollace 2019-02-24 19:42:03 +02:00
parent a9485a82b3
commit c786acc644
4 changed files with 70 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ {
"variants": { "variants": {
"plant=none": { "model": "minecraft:flower_pot" }, "plant=empty": { "model": "minecraft:flower_pot" },
"plant=quill": { "model": "unicopia:flower_pot_feather" }, "plant=quill": { "model": "unicopia:flower_pot/feather" },
"plant=meadowbrook": { "model": "unicopia:flower_pot_meadowbrook" } "plant=meadowbrook": { "model": "unicopia:flower_pot/meadowbrook" }
} }
} }

View file

@ -0,0 +1,65 @@
{
"ambientocclusion": false,
"textures": {
"particle": "blocks/flower_pot",
"flowerpot": "blocks/flower_pot",
"dirt": "blocks/dirt"
},
"elements": [
{ "from": [ 5, 0, 5 ],
"to": [ 6, 6, 11 ],
"faces": {
"down": { "uv": [ 5, 5, 6, 11 ], "texture": "#flowerpot", "cullface": "down" },
"up": { "uv": [ 5, 5, 6, 11 ], "texture": "#flowerpot" },
"north": { "uv": [ 10, 10, 11, 16 ], "texture": "#flowerpot" },
"south": { "uv": [ 5, 10, 6, 16 ], "texture": "#flowerpot" },
"west": { "uv": [ 5, 10, 11, 16 ], "texture": "#flowerpot" },
"east": { "uv": [ 5, 10, 11, 16 ], "texture": "#flowerpot" }
}
},
{ "from": [ 10, 0, 5 ],
"to": [ 11, 6, 11 ],
"faces": {
"down": { "uv": [ 10, 5, 11, 11 ], "texture": "#flowerpot", "cullface": "down" },
"up": { "uv": [ 10, 5, 11, 11 ], "texture": "#flowerpot" },
"north": { "uv": [ 5, 10, 6, 16 ], "texture": "#flowerpot" },
"south": { "uv": [ 10, 10, 11, 16 ], "texture": "#flowerpot" },
"west": { "uv": [ 5, 10, 11, 16 ], "texture": "#flowerpot" },
"east": { "uv": [ 5, 10, 11, 16 ], "texture": "#flowerpot" }
}
},
{ "from": [ 6, 0, 5 ],
"to": [ 10, 6, 6 ],
"faces": {
"down": { "uv": [ 6, 10, 10, 11 ], "texture": "#flowerpot", "cullface": "down" },
"up": { "uv": [ 6, 5, 10, 6 ], "texture": "#flowerpot" },
"north": { "uv": [ 6, 10, 10, 16 ], "texture": "#flowerpot" },
"south": { "uv": [ 6, 10, 10, 16 ], "texture": "#flowerpot" }
}
},
{ "from": [ 6, 0, 10 ],
"to": [ 10, 6, 11 ],
"faces": {
"down": { "uv": [ 6, 5, 10, 6 ], "texture": "#flowerpot", "cullface": "down" },
"up": { "uv": [ 6, 10, 10, 11 ], "texture": "#flowerpot" },
"north": { "uv": [ 6, 10, 10, 16 ], "texture": "#flowerpot" },
"south": { "uv": [ 6, 10, 10, 16 ], "texture": "#flowerpot" }
}
},
{ "from": [ 6, 0, 6 ],
"to": [ 10, 4, 10 ],
"faces": {
"down": { "uv": [ 6, 6, 10, 10 ], "texture": "#flowerpot", "cullface": "down" },
"up": { "uv": [ 6, 6, 10, 10 ], "texture": "#dirt" }
}
},
{ "from": [ 8, 4, 4.6 ],
"to": [ 8, 16, 15.4 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": false },
"faces": {
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#plant" },
"east": { "uv": [ 16, 0, 0, 16 ], "texture": "#plant" }
}
}
]
}

View file

@ -1,5 +1,5 @@
{ {
"parent": "minecraft:block/flower_pot_cross", "parent": "unicopia:block/flower_pot/cross_rotated",
"textures": { "textures": {
"plant": "minecraft:items/feather" "plant": "minecraft:items/feather"
} }

View file

@ -1,5 +1,5 @@
{ {
"parent": "minecraft:block/flower_pot_cross", "parent": "unicopia:block/flower_pot/cross_rotated",
"textures": { "textures": {
"plant": "unicopia:items/staff_meadow_brook" "plant": "unicopia:items/staff_meadow_brook"
} }