Interface DyeableItem

All Known Implementing Classes:
DyeableArmorItem, DyeableHorseArmorItem

public interface DyeableItem
Mappings:
Namespace Name
official ccp
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 m_ Lccp;m_: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 n_ Lccp;n_: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 o_ Lccp;o_: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 Lccp;a(Lcdt;)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 d_ Lccp;d_(Lcdt;)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 e_ Lccp;e_(Lcdt;)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 Lccp;a(Lcdt;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 Lccp;a(Lcdt;Ljava/util/List;)Lcdt;
      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;