Nuparu00 I need your help! Large weapon textures rendering

Started by Jamesb013 on Wed, 08/09/2017 - 17:56

Topic category: Advanced modding

Last seen on 23:40, 10. Aug 2019
Joined Dec 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Nuparu00 I need your help! Large weapon textures rendering
Wed, 08/09/2017 - 17:56

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!

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
It really depends on the
Wed, 08/09/2017 - 19:12

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

Last seen on 23:40, 10. Aug 2019
Joined Dec 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I am using 1.7.10…
Wed, 01/03/2018 - 04:23

I am using 1.7.10 unfortunately any possible tips for a beginner? :/

Last seen on 23:40, 10. Aug 2019
Joined Dec 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I know you are busy with…
Fri, 01/12/2018 - 01:57

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? 

 

Last seen on 21:05, 18. Aug 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Why with Mcreator 1.7.5-…
Fri, 01/12/2018 - 21:24

Why with Mcreator 1.7.5- large textures worked without editing the json and the code? 

Last seen on 23:40, 10. Aug 2019
Joined Dec 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I am currently using 1.7.3…
Wed, 01/31/2018 - 18:13

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 ;/