Skip to content

[BUG, FEATURE REQUEST] GUI sprites support #145

@Vi-Tul

Description

@Vi-Tul

Feature description

Since version 3.0 uses the advanced json format, it would be great to be able to change sprites depending on the GUI.
As I understand, there is already some movement in this direction. F.e. using inspector in villager GUI, it allows to change this textures:

{
  "textures": {
    "minecraft:textures/gui/container/villager.png": "example:path/to/changed/texture.png",
    "minecraft:widget/button": "example:path/to/changed/texture.png",
    "minecraft:container/villager/scroller": "example:path/to/changed/texture.png",
    "minecraft:container/villager/trade_arrow": "example:path/to/changed/texture.png",
    "minecraft:container/villager/experience_bar_background": "example:path/to/changed/texture.png",
    "minecraft:container/villager/experience_bar_current": "example:path/to/changed/texture.png"
  },
}

The issue is that you can't really change them, because it results in a missing textures, hence the BUG in the title
Image

Another usecase could be to independently change sprites in Inventory, Smithing table and Enchanting table GUIs, since in vanilla they are all using sprites from sprites\container\slot and intersect with each other

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlyenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions