Drdragonfly
Skeletron Prime
That's a nice explanation, I definitely have to try to play around with that.I'd like you to upload your mod if possible, this is definitely a tAPI bug that should not ever happen >.>;
Technically there's 6, and yes there is a way for your gun to appear in a different relation to your character.
item jsons have 2 fields called 'holdoutOffset' and 'holdoutOrigin' , those are the 2 fields you'd want to tamper with.
Offset offsets the item draw position relatively to your character (so adding -4 y would make it draw 4 pixels higher regardless of angle)
origin makes a different point on the texture serve as the anchor (default is [0,1] , which equates to the bottom left corner of the sprite , 0% of the width of the texture and 100% of the texture's height basically) , this is the origin for drawing so setting it any different would result in you holding the item from say, its center , or its bottom , as you wish.
Edit: it should also be mentioned that you can always use the ModItem hook UseStyle(Player player)
Would there be a way to do something similar for holdStyle? (if that is even still a thing)
Last edited: