Globox1997 / MedievalWeapons

https://modrinth.com/mod/medievalweapons
https://www.curseforge.com/minecraft/mc-mods/medievalweapons
MIT License
9 stars 12 forks source link

Assist Creating Custom resource packs #13

Closed Merith-TK closed 2 years ago

Merith-TK commented 3 years ago

So my server we are trying to have modded weapons have custom textures for lore, but we cant see to successfully modify the resources, could you make a guide for this?

Globox1997 commented 3 years ago

It is basically done like with vanilla just another path https://minecraft.fandom.com/wiki/Tutorials/Creating_a_resource_pack :) This mod adds entities for some weapons like the big axe (staff of healing, mace, francisca, javelin, lance and thalleous sword) which can't get changed with a ressource pack or at least not the ingame held item, all other weapons can get changed.

Merith-TK commented 3 years ago

Why does it use entities? im curious

Globox1997 commented 3 years ago

To correct my self: only the javelin and the francisca are using entities because you can throw them just as the trident in your world. The other items I mentioned have custom hardcoded models because their inventory items differ to the handheld item

Merith-TK commented 3 years ago

Is there a way you could make it easier to modify the models for texture packs.

On Mon, May 31, 2021, 1:25 AM Globox_Z @.***> wrote:

To correct my self: only the javelin and the francisca are using entities because you can throw them just as the trident in your world. The other items I mentioned have custom hardcoded models because their inventory items differ to the handheld item

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Globox1997/MedievalWeapons/issues/13#issuecomment-851311170, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPQOXT4DDLPGZQS6RWCVX3TQNBYPANCNFSM45XES3GQ .

Globox1997 commented 3 years ago

I tried to but it's not too easy to get done and since the mod goal is to represent the songs of war series it does already a pretty good job with the textures/models. Another side effect is messing around with the renderer mechanic can break shader compat

Skeithh commented 2 years ago

Are there plans to perhaps still add the ability to do this? While we love the base textures, just like person that opened this ticket- we often use items from the mod as mechanic bases for lore-related weapons. Right now if we want to have anything fancy mechanics-wise we're unfortunately just limited to having a longsword for every lore weapon.

Merith-TK commented 2 years ago

hmm... why not include BlockBench Model files for the textures and models?

Globox1997 commented 2 years ago

Yes, tried another time but I can't get it to work, if some of you guys have coding knowledge and can help, I appreciate it a lot :)

Globox1997 commented 2 years ago

So I gave it a third shot and now I got a solution :) In the next update you will be able to change all textures and don't have to use models

Globox1997 commented 2 years ago

So this is now possible with the latest update :) I'm generating models on runtime now but those can get overridden by resource packs.