Interface DyeableItem

All Known Implementing Classes:
DyeableArmorItem, DyeableHorseArmorItem

public interface DyeableItem
Mappings:
Namespace Name
official cer
intermediary net/minecraft/class_1768
named net/minecraft/item/DyeableItem
  • Field Details

    • COLOR_KEY

      static final String COLOR_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official o_ Lcer;o_:Ljava/lang/String;
      intermediary field_30873 Lnet/minecraft/class_1768;field_30873:Ljava/lang/String;
      named COLOR_KEY Lnet/minecraft/item/DyeableItem;COLOR_KEY:Ljava/lang/String;
    • DISPLAY_KEY

      static final String DISPLAY_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official p_ Lcer;p_:Ljava/lang/String;
      intermediary field_30871 Lnet/minecraft/class_1768;field_30871:Ljava/lang/String;
      named DISPLAY_KEY Lnet/minecraft/item/DyeableItem;DISPLAY_KEY:Ljava/lang/String;
    • DEFAULT_COLOR

      static final int DEFAULT_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official q_ Lcer;q_:I
      intermediary field_30872 Lnet/minecraft/class_1768;field_30872:I
      named DEFAULT_COLOR Lnet/minecraft/item/DyeableItem;DEFAULT_COLOR:I
  • Method Details

    • hasColor

      default boolean hasColor(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lcer;a(Lcfz;)Z
      intermediary method_7801 Lnet/minecraft/class_1768;method_7801(Lnet/minecraft/class_1799;)Z
      named hasColor Lnet/minecraft/item/DyeableItem;hasColor(Lnet/minecraft/item/ItemStack;)Z
    • getColor

      default int getColor(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official e_ Lcer;e_(Lcfz;)I
      intermediary method_7800 Lnet/minecraft/class_1768;method_7800(Lnet/minecraft/class_1799;)I
      named getColor Lnet/minecraft/item/DyeableItem;getColor(Lnet/minecraft/item/ItemStack;)I
    • removeColor

      default void removeColor(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official f_ Lcer;f_(Lcfz;)V
      intermediary method_7798 Lnet/minecraft/class_1768;method_7798(Lnet/minecraft/class_1799;)V
      named removeColor Lnet/minecraft/item/DyeableItem;removeColor(Lnet/minecraft/item/ItemStack;)V
    • setColor

      default void setColor(ItemStack stack, int color)
      Mappings:
      Namespace Name Mixin selector
      official a Lcer;a(Lcfz;I)V
      intermediary method_7799 Lnet/minecraft/class_1768;method_7799(Lnet/minecraft/class_1799;I)V
      named setColor Lnet/minecraft/item/DyeableItem;setColor(Lnet/minecraft/item/ItemStack;I)V
    • blendAndSetColor

      static ItemStack blendAndSetColor(ItemStack stack, List<DyeItem> colors)
      Mappings:
      Namespace Name Mixin selector
      official a Lcer;a(Lcfz;Ljava/util/List;)Lcfz;
      intermediary method_19261 Lnet/minecraft/class_1768;method_19261(Lnet/minecraft/class_1799;Ljava/util/List;)Lnet/minecraft/class_1799;
      named blendAndSetColor Lnet/minecraft/item/DyeableItem;blendAndSetColor(Lnet/minecraft/item/ItemStack;Ljava/util/List;)Lnet/minecraft/item/ItemStack;