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

Add a visual representation of the material set tree #42

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/Modpacks/Materials-and-Elements/Material-Icon-Sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,37 @@ GTCEuStartupEvents.registry('gtceu:material_icon_set', event => {
.parent('shiny')
})
```

## Available Icon Set Hierarchy

Icon sets may define only a specific subset of icons.
In case an icon set doesn't contain a specific icon for an item, the respective icon from its parent will be used.

The root icon set is `DULL`

```mermaid
graph BT
METALLIC --> DULL
MAGNETIC --> METALLIC
SHINY --> METALLIC
BRIGHT --> SHINY
DIAMOND --> SHINY
EMERALD --> DIAMOND
GEM_HORIZONTAL --> EMERALD
GEM_VERTICAL --> EMERALD
RUBY --> EMERALD
OPAL --> RUBY
GLASS --> RUBY
NETHERSTAR --> GLASS
FINE --> DULL
SAND --> FINE
WOOD --> FINE
ROUGH --> FINE
FLINT --> ROUGH
LIGNITE --> ROUGH
QUARTZ --> ROUGH
CERTUS --> QUARTZ
LAPIS --> QUARTZ
FLUID --> DULL
RADIOACTIVE --> METALLIC
```
6 changes: 5 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ markdown_extensions:
- admonition
- attr_list
- md_in_html
- pymdownx.superfences
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.details
- pymdownx.highlight
- pymdownx.inlinehilite
Expand Down