Interface DyeableItem

All Known Implementing Classes:
DyeableArmorItem, DyeableHorseArmorItem

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

    • hasColor

      default boolean hasColor​(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbmw;a(Lbnv;)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 b Lbmw;b(Lbnv;)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 c Lbmw;c(Lbnv;)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 Lbmw;a(Lbnv;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 Lbmw;a(Lbnv;Ljava/util/List;)Lbnv;
      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;