minicraft-plus-revived icon indicating copy to clipboard operation
minicraft-plus-revived copied to clipboard

Clothing update

Open BenCheung0422 opened this issue 1 year ago • 0 comments

This depends on #445 This changes the way of dyeing clothes to suit the changes to the color system. Also, a cauldron is added for dyeing clothes, but it can also be reserved the further plans on implementing brewing using cauldron. Changes:

  • Default player shirt color is changed from #333300 to #EFEFEF.
  • Wide range of player shirt color is supported, theoretically full range of 24-bit RGB values.
  • A cauldron furniture is added.
    • Only water and empty buckets can be used for filling water into and taking (undyed) water from a cauldron respectively.
    • Each time adding dyes to a filled cauldron, the color changes with the calculation of the Minecraft leather dyeing algorithm.
    • A cauldron filled with undyed water can remove dyes from clothes and with dyed water can dye the clothes without losing the dyed water when a player interacting a clothing item on it.
  • Old clothing items are replaced by 1 item Clothes.
    • Old recipes of clothes are replaced by 1 replacement recipe: cloth * 5 -> clothes * 1.
    • Old items are converted into a new clothing item with the old RGB value.
  • White tint coloring algorithm has made changes:
    • For every color value having same R, G and B values, tints are applied.
    • Textures associated with white tint (sheep entity, potion item) have been adjusted by adding 1 R and 1 B to pixels having same R, G and B values.

BenCheung0422 avatar Jun 21 '23 11:06 BenCheung0422