TeamTwilight / twilightforest

Twilight Forest repository
Other
667 stars 196 forks source link

Missing textures with ressouce pack with custom models #2031

Closed LiderKonmils closed 5 months ago

LiderKonmils commented 5 months ago

NeoForge Version

47.1.104

Twilight Forest Version

4.3.2145

Client Log

No response

Crash Report (if applicable)

No response

Steps to Reproduce

1.Install Twilight forest and every required dependencies 2.install a ressource pack that change the "model" of the leaves (exemple: DokuCraft) 3.Watch the leaves

What You Expected

Normal leaves

What Happened Instead

Missing textures

Additional Details

/!\FIRST THING, I FOUND A TEMPORARY FIX AND SAW THAT THE PROBLEM REMAINS IN THE LAST VERSION EVEN IF I DON'T USE THE LAST ONE/!\

I found that in the files of the mod, leaves of Twilight oak, canopy tree, mangrove and rainbow oak are using vanilla texture from assets/minecraft/textures/block. I'v tried to add the textures in minecraft/textures/block in another resource pack, but nothing was repaired. The only fix that i found (that i think that should be basic in the pack) is going to assets/twilightforest/models/block and changing the "textures: all: minecraft:block/[wood]_leaves" by "textures: all: twilightforest:/block/[wood]_leaves" for all four leaves files and manually adding the [wood]_leaves files to assets/twilightforest/textures/blocks.

BEFORE FIX 2024-04-23_12 34 56 AFTER FIX 2024-04-23_12 45 19

BEFORE FIX Twilightforest 2 AFTER FIX Twilightforest 1 Twilightforest 3

What i'm asking for, is stoping to use the vanilla files for any blocks and adding them directly in the twilightforest folder. Like that, any ressource pack that use custom models should'nt (in theory) break textures anymore.

Also, if you agree to use this temporary fix as a final fix, it could also be great to fix the 1.20.1 version, since i' pretty sure a lot of people like me will downgrade to it since it's the last version where Forge and NeoForge are still compatible (that's the only reason i'm not in 1.20.4... anymore).

Please Read and Confirm The Following

Tamaized commented 5 months ago

Redistributing vanilla textures in our jar file is a huge no no. There's legal issues with that.

LiderKonmils commented 5 months ago

In that case can you create new texture for thoses leaves instead of using vanilla one?

LiderKonmils commented 5 months ago

Or modify the vanilla one enough to avoid thoses legal issues?

Tamaized commented 5 months ago

No that's not how copyright works.

Tamaized commented 5 months ago

If we want to use vanilla textures we should be allowed to. If it breaks with another mod/resourcepack then that's the entire point of additional resource packs to begin with, to fix these types of issues.

AriaElidove commented 5 months ago

I cannot reproduce this bug, so I don't know how you broke it. Either way, it's not TF at fault.

Using "Clarity 1.20" Resource Pack, Forge 47.2.0, and TF 4.3.2145 : image