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

Biome colors for textures #22

Open
3 tasks
h45h74x opened this issue Sep 19, 2022 · 0 comments
Open
3 tasks

Biome colors for textures #22

h45h74x opened this issue Sep 19, 2022 · 0 comments
Assignees
Labels
Core Issues related to the core mc-source program enhancement New feature or request

Comments

@h45h74x
Copy link
Owner

h45h74x commented Sep 19, 2022

Description:

Add an optional string-based "biome" selector (hierarchically between "String" and "Sides") for textures in the config.yml configuration file. Depending on the value, a different .vmt file (which contains a RGB "color" value to adjust the hue) can be used.

Create a "Biome" datamodel and attach it to the "Block" datamodel. Load the biome data for each block when initially parsing the .schem file

Example:

grass_block:
      texture:
        states:
          default:
            sides:
              side: 
                biome:
                  "minecraft:plains": grass_block_side_plains
                  "minecraft:swamp": grass_block_side_swamp
              top: 
                biome:
                  "minecraft:plains": grass_block_top_plains
                  "minecraft:swamp": grass_block_top_swamp
          snowy:
            sides:
              side: grass_block_side
              top: grass_block_snow

Tasks:

  • Parse block biome data from SS3-compliant schematics
  • Update documentation in Configuration.md
  • Add support for the "biome" selector and retrieve the correct texture based on biome information in Block datamodels via the config handler
@h45h74x h45h74x self-assigned this Sep 19, 2022
@h45h74x h45h74x added enhancement New feature or request Core Issues related to the core mc-source program labels Sep 19, 2022
@h45h74x h45h74x changed the title [Core] Biome colors for textures Biome colors for textures Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Issues related to the core mc-source program enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant