* Split the models and block definitions into two folders * Gave some models more generic names
87 lines
1.9 KiB
Lua
87 lines
1.9 KiB
Lua
--
|
|
-- Cube model with extra inner faces that pop out of the model.
|
|
-- Useful for making bushy leaves.
|
|
-- Texture order is: cube textures, pop textures.
|
|
--
|
|
|
|
zeus.register_blockmodel("default:leaflike", {
|
|
{
|
|
face = "left",
|
|
tex = 1,
|
|
points = {
|
|
0, 0, 0, 0, 1,
|
|
0, 0, 1, 1, 1,
|
|
0, 1, 1, 1, 0,
|
|
0, 1, 0, 0, 0
|
|
}
|
|
}, {
|
|
face = "right",
|
|
tex = 1,
|
|
points = {
|
|
1, 1, 1, 1, 0,
|
|
1, 0, 1, 1, 1,
|
|
1, 0, 0, 0, 1,
|
|
1, 1, 0, 0, 0
|
|
}
|
|
}, {
|
|
face = "top",
|
|
tex = 1,
|
|
points = {
|
|
0, 1, 0, 0, 0,
|
|
0, 1, 1, 0, 1,
|
|
1, 1, 1, 1, 1,
|
|
1, 1, 0, 1, 0
|
|
}
|
|
}, {
|
|
face = "bottom",
|
|
tex = 1,
|
|
points = {
|
|
0, 0, 0, 0, 0,
|
|
1, 0, 0, 1, 0,
|
|
1, 0, 1, 1, 1,
|
|
0, 0, 1, 0, 1
|
|
}
|
|
}, {
|
|
face = "front",
|
|
tex = 1,
|
|
points = {
|
|
0, 0, 1, 0, 1,
|
|
1, 0, 1, 1, 1,
|
|
1, 1, 1, 1, 0,
|
|
0, 1, 1, 0, 0
|
|
}
|
|
}, {
|
|
face = "back",
|
|
tex = 1,
|
|
points = {
|
|
0, 0, 0, 0, 1,
|
|
0, 1, 0, 0, 0,
|
|
1, 1, 0, 1, 0,
|
|
1, 0, 0, 1, 1
|
|
}
|
|
}, {
|
|
face = "nocull",
|
|
tex = 2,
|
|
points = {
|
|
-0.31, 1.30, -0.3, 0, 0,
|
|
-0.31, -0.30, -0.31, 0, 1,
|
|
1.3, -0.30, 1.3, 1, 1,
|
|
1.3, 1.30, 1.29, 1, 0,
|
|
|
|
1.3, -0.30, 1.3, 1, 1,
|
|
-0.31, -0.30, -0.31, 0, 1,
|
|
-0.31, 1.30, -0.3, 0, 0,
|
|
1.3, 1.30, 1.29, 1, 0,
|
|
|
|
-0.31, 1.30, 1.29, 0, 0,
|
|
-0.31, -0.30, 1.3, 0, 1,
|
|
1.3, -0.30, -0.31, 1, 1,
|
|
1.3, 1.30, -0.3, 1, 0,
|
|
|
|
1.3, -0.30, -0.31, 1, 1,
|
|
-0.31, -0.30, 1.3, 0, 1,
|
|
-0.31, 1.30, 1.29, 0, 0,
|
|
1.3, 1.30, -0.3, 1, 0
|
|
}
|
|
}
|
|
}) |