Question bugged mod sprite

SweetCandy

Greenhorn
Hello, I'm new here and I'm making my own hat mod through Fashion Sense. I already made my pixel art and compiled the arts into one and put them in the mod files, but when I enter the game, the sprite appears in full. I managed to put the sprite on the Farmer from the front, but I can't get the sprite right :( It shows the top sprite and I don't know how to crop it to show only the sprite on the right side. I really appreciate anyone who can help. If you guys need the screenshot, I can send it to help understand better.
 
In hat.json you should have "StartingPosition", "HeadPosition" and "HatSize" which is responsible for the placement of your hat.
for example:
Code:
    "FrontHat": {
    "StartingPosition": {
      "X": 0,
      "Y": 0
    },
    "HeadPosition": {
      "X": 0,
      "Y": 0
    },
    "HatSize": {
      "Width": 16,
      "Length": 16
    }
  },
You can also check Fashion Sense wiki, which has a lot of information on how to create a content pack for FS.
I hope I've been able to help you out a little ˆᵕˆ
 

SweetCandy

Greenhorn
In hat.json you should have "StartingPosition", "HeadPosition" and "HatSize" which is responsible for the placement of your hat.
for example:
Code:
    "FrontHat": {
    "StartingPosition": {
      "X": 0,
      "Y": 0
    },
    "HeadPosition": {
      "X": 0,
      "Y": 0
    },
    "HatSize": {
      "Width": 16,
      "Length": 16
    }
  },
You can also check Fashion Sense wiki, which has a lot of information on how to create a content pack for FS.
I hope I've been able to help you out a little ˆᵕˆ
Thank you so much, but I still can't solve this problem.
The RightAcessory is not in the right position on my rancher and I don't know how to fix it. Just like I said, I managed to put the hat in the right place in FrontAcessory, but not the RightAcessory.
Am I doing something wrong?
1000009505.jpg

1000009506.jpg

Here is my json files
1000009507.jpg
 
I think the problem is because of your "StartingPosition". It's point where is the next side is starting. so to every next you add it's height.
You can try to change the "StartingPosition" like this:

"FrontAccessory": {
"StartingPosition": {
"X": 1,
"Y": 0
},
"RightAccessory": {
"StartingPosition": {
"X": 1,
"Y": 80
},
"BackAccessory": {
"StartingPosition": {
"X": 1,
"Y": 160
},
 

SweetCandy

Greenhorn
I think the problem is because of your "StartingPosition". It's point where is the next side is starting. so to every next you add it's height.
You can try to change the "StartingPosition" like this:

"FrontAccessory": {
"StartingPosition": {
"X": 1,
"Y": 0
},
"RightAccessory": {
"StartingPosition": {
"X": 1,
"Y": 80
},
"BackAccessory": {
"StartingPosition": {
"X": 1,
"Y": 160
},
OMGGG TYSMMMM <33. Because of you I was able to solve it, thank you very much! Now I can finish my mod, which by the way, I will publish on Nexus soon. It is a mod of the Strawberry Shortcake cartoon outfit. If you want to download and test it, I will appreciate it. I hope you like it :3
 
Top