Started by
Jamesb013
on
Topic category: Advanced modding
I need to know how to render a large weapon texture like they do in Minefantasy2 and the LOTR mod it can explain it more in detail if you can help me but if I try explain it all in one post it would be about 2000 characters!
It really depends on the version of Minecraft that are you modding for.
If you are using 1.8+ version, it is quite simple. You have to go to MCreator\user\json\models\item and here find .JSON file of your item.
You can see that in the display part of the file structure you can edit position/rotation/scale for example for the third person rendering of the item.
If you want to edit for example first person or GUI, use their specific names:
thirdperson_righthand, thirdperson_lefthand, firstperson_righthand, firstperson_lefthand, gui, head, ground, fixed
And now just mess with the values until you are happy with the look. You can use TheGreyGhost's Item Transform Helper.
If you are using an older version than 1.8, it is harder.
You have to use custom ItemRenderer. Create a class that implements IItemRendIItemRenderer and registers it on init using MinecraftForgeClient.registerItemRenderer(YOUR_ITEM, INSTANCE_OF_YOUR_CLASS);
Here is a rough example of the class: https://pastebin.com/149JeMfi
I am using 1.7.10 unfortunately any possible tips for a beginner? :/
I know you are busy with your own modding but is it possible you could make me a render class that renders 48x48 items and 32x32 items I've been trying for weeks and Im absolutly burnt out. :( Please your the only one who answers my questions is this possible for you to do this for me? Also is there a more easier way to chat with you?
Why with Mcreator 1.7.5- large textures worked without editing the json and the code?
I am currently using 1.7.3 for minecraft 1.7.10 it just renders it as a higher quality texture and not to scale ;/