Interface DyeableItem

All Known Implementing Classes:
DyeableArmorItem, DyeableHorseArmorItem

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

    • COLOR_KEY

      static final String COLOR_KEY
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official l_ Lbpp;l_: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official m_ Lbpp;m_: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official n_ Lbpp;n_: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 c_ Lbpp;c_(Lbqp;)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_ Lbpp;d_(Lbqp;)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_ Lbpp;e_(Lbqp;)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 Lbpp;a(Lbqp;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 Lbpp;a(Lbqp;Ljava/util/List;)Lbqp;
      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;