Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leather Armor overlay messed up #1615

Closed
Truongvv10 opened this issue Apr 11, 2022 · 1 comment
Closed

Leather Armor overlay messed up #1615

Truongvv10 opened this issue Apr 11, 2022 · 1 comment
Labels
type: bug Something isn't working
Milestone

Comments

@Truongvv10
Copy link

Truongvv10 commented Apr 11, 2022

Discord tag (optional)

Wassabi#0317

What happened?

I was trying to use to custom armor feature. But after implemented them I realised that leather armor looked totally different from how vanilla leather armor looks like. Basically what I was expecting was that using custom armor feature, leather armor would still look like how it always has in vanilla.

Leather armor with optifine and resource pack looks much darker in color

unknown2

Leather armor using vanilla and resource pack has a weird overlay and not the normal leather one

unknown3

And how it really should look like while using custom armor feature in vanilla or optifine:
unknown

NOTE: Custom armor works, just leather overlay is messed up with colors or weird overlay.

Steps to reproduce the issue

  1. Go to config
  2. Enable vanilla_1_17 and optifine
  3. Enable disable-overwrite-leather-armor-layers-textures

Server version

image

ItemsAdder Version

image

ProtocolLib Version

image

LoneLibs Version

image

LightAPI Version (optional)

No response

LibsDisguises Version (optional)

image

FULL server log

latest.log

Error (optional)

No response

ItemsAdder config.yml

metrics: true
update-checker: true
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
resource-pack:
  hosting:
    no-host:
      enabled: false
    auto-external-host:
      enabled: false
    self-host:
      enabled: true
      server-ip: x.x.x.x
      pack-port: x
    external-host:
      enabled: false
      url: ''
      skip-url-file-type-check___DONT_ASK_HELP_IF_SET_TRUE: false
  apply-on-join: false
  kick-player-on-decline: false
  kick-player-on-fail: false
  delay-ticks: 1
  notify-other-plugins-interfering: true
  title:
    enabled: true
  protect-player:
    black-screen: true
    hide-hud: true
    cancel-movement: true
    lock-player: true
  command:
    usage-cooldown-seconds: 60
  custom-font:
    enabled: false
    name: ipaexg.ttf
    shift: '[0,0]'
    size: 11.0
    oversample: 2.0
  thin-font:
    enabled: false
  zip:
    protect-file-from-unzip:
      enabled: true
      extreme: true
    compress-png-files: true
    compress-json-files: true
    overwrite-vanilla-models: false
    overwrite-vanilla-lang-json: true
    generate-custom-armors-textures:
      vanilla_1_17: true
      optifine: true
    fix_transparent_noteblocks__disable-for-more-performance: true
    ignore-files-ext:
    - db
    - yml
    - xcf
    - html
    disable-overwrite-leather-armor-layers-textures: true
  items:
    CustomModelData-starting-value:
      ALL: 1
      DIAMOND: 11000
config_files:
  lang: en
  dictionaries-lang: en
  extract-default-items: false
  extract-default-resources: false
blocks:
  light-api: false
  fix-glitched-blocks:
    enabled: true
    only-new-chunks: false
    search-also-in-these-biomes:
      enabled: false
      biomes:
      - BEACH
      - BIRCH_FOREST
      - BIRCH_FOREST_HILLS
      - FOREST
      - MOUNTAINS
      - MOUNTAIN_EDGE
      - GRAVELLY_MOUNTAINS
      - PLAINS
      - RIVER
  cancel-break-wrong-tool:
    enabled: true
    send-actionbar: true
  campfire:
    unlit-on-place: false
    allow-any-item: false
  disable-REAL: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_NOTE: false
  disable-REAL_WIRE: true
  disable-FIRE: false
  fix-liquids-flow: true
  fix-floating-blocks: true
items:
  fix-show-attack-and-damage-as-lore: false
  give_death_location_maps: false
  hide-custom-durability-lore: true
liquids:
  enabled: false
huds:
  enabled: false
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
font_images:
  chat:
    enabled: true
    doublecheck-permission__disable-for-more-performance: true
    add-hover-suggestion: true
  command:
    enabled: false
    commandblocks: true
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: false
  book:
    enabled: false
  anvil:
    enabled: false
  inventory-title:
    enabled: false
  tab-header-footer:
    enabled: false
  vault-prefix-suffix:
    enabled: false
    update-every-ticks: 1200
  scoreboard-teams:
    enabled: false
    update-every-ticks: 3600
  player-display-name:
    enabled: false
    update-every-ticks: 1200
  replace-in-customitems-name-and-lore: true
effects:
  hide-scoreboard-numbers: false
  text-effects:
    enabled: true
    replace-in-customitems-name-and-lore: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: false
    anvil:
      enabled: true
    tab-header-footer:
      enabled: false
entities:
  max-furniture-vehicles-per-chunk: 32
  allow-removing-old-furnitures_2_3_11: false
  custom-entitites:
    enabled: true
    interval-rendering-packets-ticks: 1
    emotes: true
recipes:
  hide-vanilla-unrecognized-recipe-errors: true
  custom-recipes:
    unlock:
      all-on-join: false
      on-pickup:
        any: false
        ingredients: false
  remove-vanilla-recipes:
    enabled: true
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
  fix-packet-too-large-kick: false
debug:
  items:
    log-files-loading: false
    log-items-loading: false
    log-items-loading-disabled: false
    log-font-images-loading: false
    log-huds-loading: false
    log-attribute-modifiers-loading: false
    log-warnings: false
    log-loots-loading: false
    log-loots-loading-disabled: false
    log-armors-loading: false
  recipes:
    log-recipes-loading: false
    log-recipes-loading-disabled: false
    log-recipes-removed-vanilla: false
    log-fix-packet-too-large: false
  resource-pack:
    log-extract-default-resources: false
    log-not-extract-default-resources-already-exist: false
  blocks:
    log-save: false
    log-save-on-unload: false
    log-mined-unknown-blocks: true
  worlds-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  trees-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  surface-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  player-stats:
    log-save: false
  performance:
    loading-ms: true
  huds:
    log-triggers: false
  other:
    log-dictionaries-loading: false
    log-liquids-loading: false
    log-minecraft_lang_overwrite-loading: false
  categories:
    log-total-loaded: true
    log-single-loaded: false
    log-single-loaded-overwrite: false
    log-single-skip: false
  entities:
    log-files-loading: false
    log-entities-loading: false
    log-entities-loading-disabled: false
loots:
  allow-loots-drop-from-spawners-using-silk-touch: false

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

yes1
yes2
yes3

@Truongvv10 Truongvv10 added the type: bug Something isn't working label Apr 11, 2022
@LoneDev6 LoneDev6 modified the milestones: 3.1.2, 3.1.3 Apr 20, 2022
@LoneDev6 LoneDev6 modified the milestones: 3.1.5, 3.2.1 Jun 4, 2022
@LoneDev6
Copy link
Collaborator

LoneDev6 commented Jun 15, 2022

I fixed the color issue. Now colors will be 100% accurate.

Also: In the next update you will be able to set this option in config.yml of ItemsAdder, then run /iazip again.
disable-overwrite-leather-armor-layers-textures: true
This option completely disables the "metallic" texture you see, which is used whenever a leather armor has custom color (brown will always use the leather texture, even if you don't enable the disable-overwrite-leather-armor-layers-textures option).

Note: if you enable the option and create a custom armor using ItemsAdder and you don't manually make a texture for the armor it will be shown as the leather vanilla armor.
This won't happen if you use Optifine tho. It will happen only on vanilla Minecraft.

Notes:

"Metallic" texture

image

This texture is applied to any leather armor which has custom color. This is used by ItemsAdder to make custom colored armor which look like metallic, example: Ruby armor, Bronze armor.
This is useful to avoid using too many textures to just change color.
This sadly may not be good on some server because this behaviour applies also to armors colored by players and by other plugins, not only custom armors made with ItemsAdder.
You can disable this behaviour by setting disable-overwrite-leather-armor-layers-textures: true, this will make any armor (which has no custom armor_rendering specified) to use the default leather texture.

Leather texture

image

This texture is used if the color of the armor is brown (the default leather armor).

@LoneDev6 LoneDev6 modified the milestones: 3.2.1, 3.2.0b Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants