Make head models use a cleaner texture format

sadly they can't use the original mob textures as those do not follow
a uniform pattern
This commit is contained in:
cora 2023-04-20 15:27:15 +02:00
parent 156bdb2ae8
commit 37ea816654
8 changed files with 52 additions and 51 deletions

View File

@ -53,6 +53,7 @@ mcl_heads.deftemplate_floor = {
mcl_heads.deftemplate_ceiling = table.copy(mcl_heads.deftemplate_floor)
mcl_heads.deftemplate_ceiling.mesh = "mcl_heads_ceiling.obj"
mcl_heads.deftemplate_ceiling.groups.not_in_creative_inventory = 1
mcl_heads.deftemplate_ceiling.selection_box = {
type = "fixed",
fixed = mcl_heads.CEILING_BOX,
@ -186,7 +187,7 @@ function mcl_heads.register_head(head_def)
_doc_items_longdesc = head_def.longdesc,
-- The head textures are based off the textures of an actual mob.
tiles = { head_def.texture },
tiles = { head_def.texture.."^[transformR180" },
drop = name,
_mcl_armor_mob_range_mob = head_def.range_mob,

View File

@ -2,36 +2,36 @@
# www.blender.org
mtllib mcl_heads_ceiling.mtl
o Cube.002
v -0.250000 0.012510 0.250000
v -0.250000 0.512510 0.250000
v -0.250000 0.512510 -0.250000
v -0.250000 0.012510 -0.250000
v 0.250000 0.512510 -0.250000
v 0.250000 0.012510 -0.250000
v 0.250000 0.512510 0.250000
v 0.250000 0.012510 0.250000
vt 0.875000 0.500000
vt 0.875000 0.750000
vt 0.750000 0.750000
vt 0.750000 0.500000
vt 0.625000 0.750000
vt 0.625000 0.500000
vt 0.500000 0.750000
vt 0.500000 0.500000
vt 1.000000 0.500000
vt 1.000000 0.750000
vt 0.875000 0.750000
vt 0.875000 1.000000
vt 0.750000 1.000000
vt 0.750000 0.750000
vt 0.750000 1.000000
vt 0.625000 1.000000
vn -1.0000 0.0000 0.0000
vn 0.0000 0.0000 -1.0000
vn 1.0000 -0.0000 0.0000
vn 0.0000 -0.0000 1.0000
vn -0.0000 -1.0000 -0.0000
vn 0.0000 1.0000 0.0000
v 0.251092 0.499452 0.250000
v 0.249999 -0.000546 0.250000
v 0.249999 -0.000546 -0.250000
v 0.251092 0.499452 -0.250000
v -0.249999 0.000546 -0.250000
v -0.248906 0.500545 -0.250000
v -0.249999 0.000546 0.250000
v -0.248906 0.500545 0.250000
vt 0.249915 0.996263
vt 0.249915 0.496094
vt 0.500000 0.496094
vt 0.500000 0.996263
vt 0.750085 0.496094
vt 0.750085 0.996263
vt 1.000169 0.496094
vt 1.000169 0.996263
vt -0.000169 0.996263
vt -0.000169 0.496094
vt 0.249915 0.496094
vt 0.249915 -0.004075
vt 0.500000 -0.004075
vt 0.500000 0.496094
vt 0.500000 -0.004075
vt 0.750085 -0.004075
vn 1.0000 -0.0022 0.0000
vn -0.0000 -0.0000 -1.0000
vn -1.0000 0.0022 -0.0000
vn 0.0000 0.0000 1.0000
vn 0.0022 1.0000 0.0000
vn -0.0022 -1.0000 0.0000
usemtl Material.002
s 1
f 1/1/1 2/2/1 3/3/1 4/4/1

View File

@ -1,36 +1,36 @@
# Blender v3.4.1 OBJ File: ''
# www.blender.org
mtllib untitled.mtl
mtllib mcl_heads_floor.mtl
o Cube.002
v -0.250000 -0.500000 0.250000
v -0.250000 0.000000 0.250000
v -0.250000 -0.000000 0.250000
v -0.250000 0.000000 -0.250000
v -0.250000 -0.500000 -0.250000
v 0.250000 0.000000 -0.250000
v 0.250000 -0.500000 -0.250000
v 0.250000 -0.000000 0.250000
v 0.250000 -0.500000 0.250000
vt 0.875000 0.500000
vt 0.875000 0.750000
vt 0.750000 0.750000
vt 0.750000 0.500000
vt 0.625000 0.750000
vt 0.625000 0.500000
vt 0.500000 0.750000
vt 0.500000 0.500000
vt 1.000000 0.500000
vt 1.000000 0.750000
vt 0.875000 0.750000
vt 0.875000 1.000000
vt 0.750000 1.000000
vt 0.750000 0.750000
vt 0.750000 1.000000
vt 0.625000 1.000000
vn -1.0000 0.0000 0.0000
vt 0.750085 -0.004075
vt 0.750085 0.496094
vt 0.500000 0.496094
vt 0.500000 -0.004075
vt 0.249915 0.496094
vt 0.249915 -0.004075
vt -0.000169 0.496094
vt -0.000169 -0.004075
vt 1.000169 -0.004075
vt 1.000169 0.496094
vt 0.750085 0.496094
vt 0.750085 0.996263
vt 0.500000 0.996263
vt 0.500000 0.496094
vt 0.500000 0.996263
vt 0.249915 0.996263
vn -1.0000 -0.0000 0.0000
vn 0.0000 0.0000 -1.0000
vn 1.0000 -0.0000 0.0000
vn 0.0000 -0.0000 1.0000
vn -0.0000 -1.0000 0.0000
vn 0.0000 -1.0000 0.0000
vn 0.0000 1.0000 0.0000
usemtl Material.002
s 1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 382 B

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B

After

Width:  |  Height:  |  Size: 309 B