Skript icon indicating copy to clipboard operation
Skript copied to clipboard

🚀 Added `%itemtypes% dyed %color%` expression & ExprColorOf Improvements

Open AyhamAl-Ali opened this issue 4 years ago • 3 comments

Description

This PR aims to add a new helpful expression to return itemtypes with colors directly using this pattern %itemtypes% (dyed|with color [of]) %color%

It also comes with some improvements and fixes to ExprColorOf:

  • :heavy_check_mark: Added support to return RGB colors of RGB colored items (see image below)
  • :heavy_check_mark: Fixed color of not working (getting and setting) with potions, maps and leather armor meta
  • :heavy_check_mark: Fixed color of not working (getting and setting) with blocks in MC 1.14+

Quick showcase of this PR's results

image image in the 2nd image the held item is the 2nd hotbar slot and the new given item is the 4th hotbar slot


Target Minecraft Versions: Any (HEX/RGB 1.16+) Requirements: None Related Issues:

  • #5326
  • #5682

AyhamAl-Ali avatar Sep 17 '21 18:09 AyhamAl-Ali

This PR now fixes the issue of grabbing block colors, see #5682 Changers support will be added as well

AyhamAl-Ali avatar May 12 '23 12:05 AyhamAl-Ali

Closing due to 7+ months of inactivity

sovdeeth avatar Apr 07 '24 13:04 sovdeeth

I AM BACK!

AyhamAl-Ali avatar Apr 08 '24 01:04 AyhamAl-Ali