Skip to content

We should load and index all available textures #2451

@Argmaster

Description

@Argmaster

Description

  • Load and globally index all available item and block textures. Primary reason is to treat assets uniformly. Uniform indexing logic means simpler asset loading code.
  • Move textures next to block/item definitions, instead of a nested textures hierarchy, similarly to how blueprints are handled. We could utilize extension like suffixed eg. .block.png .item.png etc. So the ID spaces are implicit.
  • Inline item definitions in blocks use file names instead of IDs. This should be changed for consistency.

I am primarily concerned with last of the issues, but I think other of the mentioned things can be relevant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enginerefactorshuffle code aroundundecideda final decision has not been made whether or how this enhancement should be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions