Skip to content

Commit

Permalink
Add parts list
Browse files Browse the repository at this point in the history
  • Loading branch information
PassTheMayo committed Sep 8, 2024
1 parent f79bc6b commit 16fa0fd
Showing 1 changed file with 95 additions and 0 deletions.
95 changes: 95 additions & 0 deletions parts.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,101 @@ var (
LeftArmOverlayBackRegular image.Rectangle = image.Rect(60, 52, 64, 64)
// LeftArmOverlayBackSlim is the back side of the left arm overlay for slim skin models
LeftArmOverlayBackSlim image.Rectangle = image.Rect(59, 52, 62, 64)
// PartsList is a list of all part coordinates of a Minecraft skin
PartsList map[string]image.Rectangle = map[string]image.Rectangle{
"HeadTop": HeadTop,
"HeadBottom": HeadBottom,
"HeadRight": HeadRight,
"HeadFront": HeadFront,
"HeadLeft": HeadLeft,
"HeadBack": HeadBack,
"HeadOverlayTop": HeadOverlayTop,
"HeadOverlayBottom": HeadOverlayBottom,
"HeadOverlayRight": HeadOverlayRight,
"HeadOverlayFront": HeadOverlayFront,
"HeadOverlayLeft": HeadOverlayLeft,
"HeadOverlayBack": HeadOverlayBack,
"RightLegTop": RightLegTop,
"RightLegBottom": RightLegBottom,
"RightLegRight": RightLegRight,
"RightLegFront": RightLegFront,
"RightLegLeft": RightLegLeft,
"RightLegBack": RightLegBack,
"TorsoTop": TorsoTop,
"TorsoBottom": TorsoBottom,
"TorsoRight": TorsoRight,
"TorsoFront": TorsoFront,
"TorsoLeft": TorsoLeft,
"TorsoBack": TorsoBack,
"RightArmTopRegular": RightArmTopRegular,
"RightArmTopSlim": RightArmTopSlim,
"RightArmBottomRegular": RightArmBottomRegular,
"RightArmBottomSlim": RightArmBottomSlim,
"RightArmRight": RightArmRight,
"RightArmFrontRegular": RightArmFrontRegular,
"RightArmFrontSlim": RightArmFrontSlim,
"RightArmLeftRegular": RightArmLeftRegular,
"RightArmLeftSlim": RightArmLeftSlim,
"RightArmBackRegular": RightArmBackRegular,
"RightArmBackSlim": RightArmBackSlim,
"LeftLegTop": LeftLegTop,
"LeftLegBottom": LeftLegBottom,
"LeftLegRight": LeftLegRight,
"LeftLegFront": LeftLegFront,
"LeftLegLeft": LeftLegLeft,
"LeftLegBack": LeftLegBack,
"LeftArmTopRegular": LeftArmTopRegular,
"LeftArmTopSlim": LeftArmTopSlim,
"LeftArmBottomRegular": LeftArmBottomRegular,
"LeftArmBottomSlim": LeftArmBottomSlim,
"LeftArmRight": LeftArmRight,
"LeftArmFrontRegular": LeftArmFrontRegular,
"LeftArmFrontSlim": LeftArmFrontSlim,
"LeftArmLeftRegular": LeftArmLeftRegular,
"LeftArmLeftSlim": LeftArmLeftSlim,
"LeftArmBackRegular": LeftArmBackRegular,
"LeftArmBackSlim": LeftArmBackSlim,
"RightLegOverlayTop": RightLegOverlayTop,
"RightLegOverlayBottom": RightLegOverlayBottom,
"RightLegOverlayRight": RightLegOverlayRight,
"RightLegOverlayFront": RightLegOverlayFront,
"RightLegOverlayLeft": RightLegOverlayLeft,
"RightLegOverlayBack": RightLegOverlayBack,
"TorsoOverlayTop": TorsoOverlayTop,
"TorsoOverlayBottom": TorsoOverlayBottom,
"TorsoOverlayRight": TorsoOverlayRight,
"TorsoOverlayFront": TorsoOverlayFront,
"TorsoOverlayLeft": TorsoOverlayLeft,
"TorsoOverlayBack": TorsoOverlayBack,
"RightArmOverlayTopRegular": RightArmOverlayTopRegular,
"RightArmOverlayTopSlim": RightArmOverlayTopSlim,
"RightArmOverlayBottomRegular": RightArmOverlayBottomRegular,
"RightArmOverlayBottomSlim": RightArmOverlayBottomSlim,
"RightArmOverlayRight": RightArmOverlayRight,
"RightArmOverlayFrontRegular": RightArmOverlayFrontRegular,
"RightArmOverlayFrontSlim": RightArmOverlayFrontSlim,
"RightArmOverlayLeftRegular": RightArmOverlayLeftRegular,
"RightArmOverlayLeftSlim": RightArmOverlayLeftSlim,
"RightArmOverlayBackRegular": RightArmOverlayBackRegular,
"RightArmOverlayBackSlim": RightArmOverlayBackSlim,
"LeftLegOverlayTop": LeftLegOverlayTop,
"LeftLegOverlayBottom": LeftLegOverlayBottom,
"LeftLegOverlayRight": LeftLegOverlayRight,
"LeftLegOverlayFront": LeftLegOverlayFront,
"LeftLegOverlayLeft": LeftLegOverlayLeft,
"LeftLegOverlayBack": LeftLegOverlayBack,
"LeftArmOverlayTopRegular": LeftArmOverlayTopRegular,
"LeftArmOverlayTopSlim": LeftArmOverlayTopSlim,
"LeftArmOverlayBottomRegular": LeftArmOverlayBottomRegular,
"LeftArmOverlayBottomSlim": LeftArmOverlayBottomSlim,
"LeftArmOverlayRight": LeftArmOverlayRight,
"LeftArmOverlayFrontRegular": LeftArmOverlayFrontRegular,
"LeftArmOverlayFrontSlim": LeftArmOverlayFrontSlim,
"LeftArmOverlayLeftRegular": LeftArmOverlayLeftRegular,
"LeftArmOverlayLeftSlim": LeftArmOverlayLeftSlim,
"LeftArmOverlayBackRegular": LeftArmOverlayBackRegular,
"LeftArmOverlayBackSlim": LeftArmOverlayBackSlim,
}
)

// GetRightArmTop returns the top of a right arm based on if the skin is slim or not
Expand Down

0 comments on commit 16fa0fd

Please sign in to comment.