Skip to content

Conversation

DragonDev1906
Copy link

  • Add optional data value
  • Made the Alpha value optional and default to 255

This allows searching for wool colors in the StructureOverlay (and other things) as requested in #1767

Example Config:

StructureOverlay(structures=list([
    (((0, 0, 0, 66), (0, -1, 0, 35, wool_data)), color)
    for wool_data, color in enumerate([
        (255,255,255),      # White
        (255,170,0),        # Orange
        (255,0,255),        # Magenta
        (128,128,255),      # Light Blue
        (255,255,0),        # Yellow
        (192,255,0),        # Lime
        (255,100,162),      # Pink
        (90,90,90),         # Gray
        (160,160,160),      # Light Gray
        (44,171,255),       # Cyan
        (0,0,255),          # Blue
        (255,0,255),        # Purple
        (0,255,0),          # Green
        (160,70,0),         # Brown
        (255,0,0),          # Red
        (0,0,0),            # Black
    ])
]))

2020-07-12_15:17:38

- Add optional data value
- Made the Alpha value optional and default to 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant