[SOLVED] Upscaling 2d Item Sizes

Started by Alec Cature on

Topic category: Help with modding (Java Edition)

Last seen on 02:41, 8. May 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] Upscaling 2d Item Sizes
Fri, 12/01/2023 - 06:12 (edited)

Hey all, I'm having trouble with upscaling my items to be bigger than the normal 16x16 sprite size. I've made the texture 32x32 and I've tried attaching custom .json arguments to it to double the size so the pixel ratio is the same as an item that's 16x16, however anything that I do fails to accomplish this. I've even gone as far as locking the code of the item itself and editing the .json of it directly.

Below are a couple examples of all the different things I've already tried, all of which gave me either a missing texture with the correct doubled size desired, or made the item completely invisible altogether.

I have a feeling it's having trouble selecting the texture I made hence is why the missing texture keeps appearing, but I've tried so much to identify the exact texture file but nothing seems to have worked thus far. The name of the texture I assigned to the item is 'wooden_battleaxe' and the in-game item is identified as 'descension:wooden_battleaxe' when using f3+h.

https://imgur.com/a/KfpkJDd
https://imgur.com/a/dK2reA0
https://imgur.com/a/7M0Lknn
https://imgur.com/a/JheyWWo

Edited by Alec Cature on Fri, 12/01/2023 - 06:12
Last seen on 02:41, 8. May 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fixed my issue! Not sure how…
Thu, 11/30/2023 - 04:17

Fixed my issue! Not sure how exactly it works now compared to before, but here is the code for anyone else who may have the issue. You will obviously have to replace some things with your own preferred dimensions and names.
 

https://pastebin.com/sn3D4rtk