Interface DyeableItem

All Known Implementing Classes:
DyeableArmorItem, DyeableHorseArmorItem

public interface DyeableItem
Mappings:
Namespace Name
official bsx
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 l_ Lbsx;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:
      Mappings:
      Namespace Name Mixin selector
      official m_ Lbsx;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:
      Mappings:
      Namespace Name Mixin selector
      official n_ Lbsx;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 a Lbsx;a(Lbtx;)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_ Lbsx;d_(Lbtx;)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_ Lbsx;e_(Lbtx;)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 Lbsx;a(Lbtx;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 Lbsx;a(Lbtx;Ljava/util/List;)Lbtx;
      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;