custom models for leaves makes them missing texture magenta

https://www.curseforge.com/minecraft/texture-packs/yuushya-foliage-addon as reported by @๐’ฎ๐’ถ๐’น for whom I have couple more questions: - when you break leaves what particles appear? are there any? - they are fine - how do those trees look on map? - it works correctly EDIT: conclusion after more testing: - if missing texture is assigned to some faces of the block, this confuses DH - replacing #missing with a transparent texture in model.json fixes the problem on the resourcepack/mod side - DH should more agressivly ignore missing textures, and if no texture is found it should try to use particle texture
No description
73 Replies
๐’ฎ๐’ถ๐’น
this only happens with DH lod, the leaves and everything else works fine also appears fine on the map
cola98765
cola98765โ€ข3mo ago
I know that it only appreas with DH, I'm tryong to see if using texture tha'ts used for particles would work
๐’ฎ๐’ถ๐’น
Oh alright
cola98765
cola98765โ€ข3mo ago
casue some modded blocks with custom models I remember were still dropping missing texture particles, so what I'm thinking about would not help also just for clarity, I know DH still has problems switching resource packs, you restarted the game after selecting that one?
cola98765
cola98765โ€ข3mo ago
ok jsut trying to gather ifno while I have you and I'm at work
๐’ฎ๐’ถ๐’น
no worries
cola98765
cola98765โ€ข3mo ago
no mods are needed for that resource pack to run I assume?
๐’ฎ๐’ถ๐’น
i mean probably etf and emt
cola98765
cola98765โ€ข3mo ago
? anyway, the pack does not list dependancie on curse, so I assume so
{
"from": [5, -10, -2],
"to": [5, 5, 19],
"rotation": {"angle": 22.5, "axis": "z", "origin": [2, 21, 8]},
"faces": {
"north": {"uv": [0, 0, 0, 16], "texture": "#missing", "tintindex": 0},
"east": {"uv": [13, 7.5, 2.5, 15], "texture": "#0", "tintindex": 0},
"south": {"uv": [0, 0, 0, 16], "texture": "#missing", "tintindex": 0},
"west": {"uv": [13, 7.5, 2.5, 15], "texture": "#0", "tintindex": 0},
"up": {"uv": [0, 0, 16, 0], "rotation": 90, "texture": "#missing", "tintindex": 0},
"down": {"uv": [0, 0, 16, 0], "rotation": 270, "texture": "#missing", "tintindex": 0}
}
},
{
"from": [5, -10, -2],
"to": [5, 5, 19],
"rotation": {"angle": 22.5, "axis": "z", "origin": [2, 21, 8]},
"faces": {
"north": {"uv": [0, 0, 0, 16], "texture": "#missing", "tintindex": 0},
"east": {"uv": [13, 7.5, 2.5, 15], "texture": "#0", "tintindex": 0},
"south": {"uv": [0, 0, 0, 16], "texture": "#missing", "tintindex": 0},
"west": {"uv": [13, 7.5, 2.5, 15], "texture": "#0", "tintindex": 0},
"up": {"uv": [0, 0, 16, 0], "rotation": 90, "texture": "#missing", "tintindex": 0},
"down": {"uv": [0, 0, 16, 0], "rotation": 270, "texture": "#missing", "tintindex": 0}
}
},
looks like both first and "up" textures are "missing"
๐’ฎ๐’ถ๐’น
the blocks aren't cubes that's for sure just inter twined textures
cola98765
cola98765โ€ข3mo ago
this is from model .json file
cola98765
cola98765โ€ข3mo ago
I'm not sure how to read it, but it defines those fancy models
cola98765
cola98765โ€ข3mo ago
cola98765
cola98765โ€ข3mo ago
I changed model of oak leaves to have transparent texture instead of missing worst case DH will interpret it as transparent, best case it'll start working (only oak leaves were changed)
๐’ฎ๐’ถ๐’น
ill try it
cola98765
cola98765โ€ข3mo ago
it's oak after game restart?
๐’ฎ๐’ถ๐’น
wait no you did fix it
๐’ฎ๐’ถ๐’น
oak are the green blocks purple are all other leaves
cola98765
cola98765โ€ข3mo ago
gonna make the same change for other leaves
๐’ฎ๐’ถ๐’น
now they're a very dark shade of green but still not purple
cola98765
cola98765โ€ข3mo ago
should be better for all leaves
๐’ฎ๐’ถ๐’น
why are they so dark? an ideas
cola98765
cola98765โ€ข3mo ago
becasue 2.0.2 assumes "fast" leaves it's a decision made LONG ago 2.0.3 defaults to fancy and there might be a setting for that in the end
๐’ฎ๐’ถ๐’น
but not quite yet alright
cola98765
cola98765โ€ข3mo ago
#announcements there is info aobut that
๐’ฎ๐’ถ๐’น
rather have a dark green than a neon purple 1.20.1 users hehe
cola98765
cola98765โ€ข3mo ago
it works for all versions not that file tho but 2.0.3 in general
๐’ฎ๐’ถ๐’น
wheres the right file? not up yet right
cola98765
cola98765โ€ข3mo ago
[wrong link has been redacted] downlaod form there on the right (still same warning from #announcements apply) conclusion: - if missing texture is assigned to some faces of the block, this confuses DH - replacing #missing with a transparent texture in model.json fixes the problem on the resourcepack/mod side - DH should more agressivly ignore missing textures, and if no texture is found it should try to use particle texture
๐’ฎ๐’ถ๐’น
i downloaded 2.0.2 cant find 2.0.3 for 1.20.1 unless I'm slow
cola98765
cola98765โ€ข3mo ago
link I gave you, on the right side of the page there is donwload button it is the nigthliy-er version of the mod, 2.0.3 with my changes to color avaraging there were however some issues with fabric recently so if it doesn't work then wait some time
๐’ฎ๐’ถ๐’น
this one?
No description
๐’ฎ๐’ถ๐’น
im on forge also 2.0.2 crashes on launch mmh
cola98765
cola98765โ€ข3mo ago
No description
๐’ฎ๐’ถ๐’น
yeah clicked that and it gave me a 2.0.2 file
cola98765
cola98765โ€ข3mo ago
and then you use merged or forge specific (preferably merged) gimme sec it's probably just naming
cola98765
cola98765โ€ข3mo ago
GitLab
build: [1.20.1] (#6622733556) ยท Jobs ยท James Seibel / Distant Horiz...
This is a mod that adds a Level Of Detail (LOD) system to Minecraft. This implementation renders simplified chunks outside of the normal render distance allowing for an...
cola98765
cola98765โ€ข3mo ago
no I looked a the job for different branch
๐’ฎ๐’ถ๐’น
ty I'll let you know if it crashes me
๐’ฎ๐’ถ๐’น
I crash when making a world
๐’ฎ๐’ถ๐’น
I might be an idiot hold on
cola98765
cola98765โ€ข3mo ago
the mod fails to get the save folder? you have connector?
๐’ฎ๐’ถ๐’น
no idea i just crash on making worlds not matter what i do is the mod incompatible with anything?
cola98765
cola98765โ€ข3mo ago
I mean it should not be that different than what you used so far you are using connector to load fabric mods on forge
๐’ฎ๐’ถ๐’น
yeah but it never caused issues before
cola98765
cola98765โ€ข3mo ago
try using fabric specific version of the mod
cola98765
cola98765โ€ข3mo ago
last guy had a problem where it would not render things properly, perhaps there are more problems also \profiles\Elderia this name reminds me of certain custom map, and quite the memories
๐’ฎ๐’ถ๐’น
yup that one map on pmc I remember Eldaria though
cola98765
cola98765โ€ข3mo ago
and I can't read
๐’ฎ๐’ถ๐’น
close enough that it makes sense if it reminded you oo the world is being created with the fabric version let's see I appreciate your dedicated help btw
๐’ฎ๐’ถ๐’น
getting spammed with errors is part of the charm
No description
๐’ฎ๐’ถ๐’น
everything works like a charm
No description
๐’ฎ๐’ถ๐’น
same colored leaves and everything
cola98765
cola98765โ€ข3mo ago
generation is struggling that's why the spam
๐’ฎ๐’ถ๐’น
with terraforged
cola98765
cola98765โ€ข3mo ago
terraforged + connector + fabric version of DH
cola98765
cola98765โ€ข3mo ago
but 2 things are important here - there is a workaround for some resourcepacks - even with such custom leaves, color averaging still works
๐’ฎ๐’ถ๐’น
yeah I need to test it again since they weren't enabled I just crashed aswel let me try with tectonic instead
cola98765
cola98765โ€ข3mo ago
you can also disable distant generation
๐’ฎ๐’ถ๐’น
idk this version keeps crashing when distant gen is on no idea why never happened before
cola98765
cola98765โ€ข3mo ago
idk it's really early and if you don't mind the darker leaves I suggest you keep using what you were using
๐’ฎ๐’ถ๐’น
today or the mod version?
cola98765
cola98765โ€ข3mo ago
mod version only now it's entering proper public testing as you seen in #announcements
๐’ฎ๐’ถ๐’น
Yeah that's fair