Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.15.2] Armor Model Not Registering To Armor
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
Somonestolemyusername

[1.15.2] Armor Model Not Registering To Armor

By Somonestolemyusername, January 9 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 9 (edited)

so in my mod I made netherite armor, and the item texture for the chestplate and boots are working except the other pieces, but when i put on the armor the texture in my resources/assets/my_mod/textures/models/armor isint registering to the armor therefore giving me the error texture. how do I fix this?

Edited January 9 by Somonestolemyusername
typo
  • Quote

Share this post


Link to post
Share on other sites

Linky132    1

Linky132

Linky132    1

  • Tree Puncher
  • Linky132
  • Members
  • 1
  • 27 posts
Posted January 9

Well, not that I'm an expert, but I think the textures are supposed to be under "resources/assets/modid/textures/item". Obviously replace "modid" with your modid. I could be wrong, though.

  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 9 (edited)

no that's for the item , I mean when i put on as in the actual model as in when you wear the armor in game and you go in F5 mode and you see armor on you other than error texture

Edited January 9 by Somonestolemyusername
  • Quote

Share this post


Link to post
Share on other sites

Linky132    1

Linky132

Linky132    1

  • Tree Puncher
  • Linky132
  • Members
  • 1
  • 27 posts
Posted January 9

Oh, well the "textures" package still wants to be under assets, although that may not be your problem.

  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 9 (edited)

wait it is under assets and mod id my bad but for some reaso n the texture dont work

Edited January 9 by Somonestolemyusername
  • Quote

Share this post


Link to post
Share on other sites

Linky132    1

Linky132

Linky132    1

  • Tree Puncher
  • Linky132
  • Members
  • 1
  • 27 posts
Posted January 9

Oh, okay, could you post your code, please?

  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 9

sure let me just upload it to github

  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 9

ok give it a few min its uploading to github

  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 9

ok here it got uploaded https://github.com/ben10101010/my_mod

  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 9 (edited)

hello? why hasent anyone replied?

Edited January 9 by Somonestolemyusername
  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 10

Hello? noone has helped me for the last 20 hours and i think that other person stole my code

  • Quote

Share this post


Link to post
Share on other sites

ChampionAsh5357    160

ChampionAsh5357

ChampionAsh5357    160

  • World Shaper
  • ChampionAsh5357
  • Members
  • 160
  • 1019 posts
Posted January 10
5 hours ago, Somonestolemyusername said:

Hello? noone has helped me for the last 20 hours and i think that other person stole my code

You do realize that no one is obligated to help and that bumping a thread every day doesn't change the outcome. Also, presumptions about if he stole your code are pointless as yours is ARR.

 

Now as for the actual problem, it's looking for 'pink_layer_1/2' as that is name supplied to the armor type, not 'netherite'.

  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted January 12

thx it worked, also my pickaxe texture isint working and the item texture for the armor

  • Quote

Share this post


Link to post
Share on other sites

Linky132    1

Linky132

Linky132    1

  • Tree Puncher
  • Linky132
  • Members
  • 1
  • 27 posts
Posted January 14

Sorry I didn't reply sooner, I was busy. I'm glad you got the problem sorted out. I had a look at the code, but I can't find the new problem, sorry.

 

Oh, and I didn't steal your code, don't worry. Although, I couldn't have used it, since like ChampionAsh said, your code is All Rights Reserved by default.

  • Quote

Share this post


Link to post
Share on other sites

ChampionAsh5357    160

ChampionAsh5357

ChampionAsh5357    160

  • World Shaper
  • ChampionAsh5357
  • Members
  • 160
  • 1019 posts
Posted January 14
On 1/12/2021 at 4:28 PM, Somonestolemyusername said:

thx it worked, also my pickaxe texture isint working and the item texture for the armor

Pickaxe model isn't json, your item model is still an 'item' not an 'armor'.

  • Quote

Share this post


Link to post
Share on other sites

Somonestolemyusername    0

Somonestolemyusername

Somonestolemyusername    0

  • Stone Miner
  • Somonestolemyusername
  • Members
  • 0
  • 68 posts
Posted Friday at 07:34 PM (edited)

ik i separately put that in the items section

Edited Friday at 07:34 PM by Somonestolemyusername
  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Woodside
      [1.15.2] Render as 2D icon in GUI, 3D model in hand

      By Woodside · Posted 11 minutes ago

      In the BakedModel class in SeparatePerspectiveModel, I changed func_230044_c_()/isSideLit() to return always false. That fixed the lighting issue with the GUI icon, but I cannot tell if it had any effect on the 3D model or not. It doesn't seem to have.
    • juggler
      Modded server stall on startup

      By juggler · Posted 26 minutes ago

      I'm very sorry this was entirely user error and something else on my network was causing me to think that the server was not starting but actually it was running and waiting for client connections but clients weren't seeing it.   I'll close this issue and again sorry for the confusion.
    • diesieben07
      game launch fail

      By diesieben07 · Posted 1 hour ago

      User was banned for piracy. Buy the game.
    • C0nnieD
      game launch fail

      By C0nnieD · Posted 1 hour ago

    • diesieben07
      [1.16.4] what difference between custom slots and EquipmentSlotType

      By diesieben07 · Posted 2 hours ago

      LazyOptional is just that: An optional value that is computed lazily.   No, you need to create a combined IItemHandler by using CombinedInvWrapper. This should not happen inside getCapability, you should create this handler and the LazyOptional once (in your class' constructor) and then just return the value in getCapability.
  • Topics

    • Woodside
      16
      [1.15.2] Render as 2D icon in GUI, 3D model in hand

      By Woodside
      Started Sunday at 08:26 PM

    • juggler
      1
      Modded server stall on startup

      By juggler
      Started 2 hours ago

    • C0nnieD
      13
      game launch fail

      By C0nnieD
      Started 4 hours ago

    • Klarks
      18
      [1.16.4] what difference between custom slots and EquipmentSlotType

      By Klarks
      Started 10 hours ago

    • rennmaus
      1
      gradlew build file too small (forge 1.12.2)

      By rennmaus
      Started 4 hours ago

  • Who's Online (See full list)

    • BastouP
    • thorstenschwager
    • Pavel1ewq
    • zOnlyKroks
    • JayXclusive
    • Witherking25
    • C0nnieD
    • JDLogic
    • Buecher_wurm
    • Klarks
    • Godis_apan
    • FloweyTF
    • JTRX
    • Moomallowz
    • squidlex
    • juggler
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.15.2] Armor Model Not Registering To Armor
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community