CLASS net/minecraft/class_1767 net/minecraft/util/DyeColor COMMENT An enum representing 16 dye colors. FIELD field_16537 signColor I FIELD field_41600 CODEC Lnet/minecraft/class_3542$class_7292; FIELD field_7943 colorComponents [F FIELD field_7948 name Ljava/lang/String; FIELD field_7950 BY_FIREWORK_COLOR Lit/unimi/dsi/fastutil/ints/Int2ObjectOpenHashMap; FIELD field_7956 mapColor Lnet/minecraft/class_3620; FIELD field_7959 VALUES Ljava/util/function/IntFunction; FIELD field_7960 fireworkColor I FIELD field_7965 id I METHOD (Ljava/lang/String;IILjava/lang/String;ILnet/minecraft/class_3620;II)V ARG 3 id ARG 4 name ARG 5 color ARG 6 mapColor ARG 7 fireworkColor ARG 8 signColor METHOD method_16357 getSignColor ()I COMMENT {@return the color used for dyed signs as RGB integer} COMMENT COMMENT

The returned value is between {@code 0} and {@code 0xFFFFFF}. METHOD method_7786 byFireworkColor (I)Lnet/minecraft/class_1767; COMMENT {@return the dye color whose firework color is {@code color}, or {@code null} COMMENT if there is no such color} ARG 0 color METHOD method_7787 getColorComponents ()[F COMMENT {@return the float array containing the red, green and blue components of this dye color} COMMENT COMMENT

Each value of the array is between {@code 0.0} and {@code 255.0} (both inclusive). METHOD method_7789 getId ()I COMMENT {@return the integer ID of the dye color} METHOD method_7790 getFireworkColor ()I COMMENT {@return the color used for colored fireworks as RGB integer} COMMENT COMMENT

The returned value is between {@code 0} and {@code 0xFFFFFF}. METHOD method_7791 byId (I)Lnet/minecraft/class_1767; COMMENT {@return the dye color whose ID is {@code id}} COMMENT COMMENT @apiNote If out-of-range IDs are passed, this returns {@link #WHITE}. ARG 0 id METHOD method_7792 getName ()Ljava/lang/String; COMMENT {@return the name of the dye color} METHOD method_7793 byName (Ljava/lang/String;Lnet/minecraft/class_1767;)Lnet/minecraft/class_1767; COMMENT {@return the dye color whose name is {@code name}, or {@code defaultColor} if COMMENT there is no such color} COMMENT COMMENT @apiNote This returns {@code null} only if {@code defaultColor} is {@code null}. ARG 0 name ARG 1 defaultColor METHOD method_7794 getMapColor ()Lnet/minecraft/class_3620; COMMENT {@return the corresponding map color} METHOD method_7795 (Lnet/minecraft/class_1767;)Ljava/lang/Integer; ARG 0 color METHOD method_7797 (Lnet/minecraft/class_1767;)Lnet/minecraft/class_1767; ARG 0 color