Class ItemColors

java.lang.Object
net.minecraft.client.color.item.ItemColors

@Environment(CLIENT) public class ItemColors extends Object
Mappings:
Namespace Name
official dwi
intermediary net/minecraft/class_325
named net/minecraft/client/color/item/ItemColors
  • Field Details

    • field_32165

      private static final int field_32165
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Ldwi;a:I
      intermediary field_32165 Lnet/minecraft/class_325;field_32165:I
      named field_32165 Lnet/minecraft/client/color/item/ItemColors;field_32165:I
    • providers

      private final IdList<ItemColorProvider> providers
      Mappings:
      Namespace Name Mixin selector
      official b Ldwi;b:Lgq;
      intermediary field_1996 Lnet/minecraft/class_325;field_1996:Lnet/minecraft/class_2361;
      named providers Lnet/minecraft/client/color/item/ItemColors;providers:Lnet/minecraft/util/collection/IdList;
  • Constructor Details

    • ItemColors

      public ItemColors()
  • Method Details

    • create

      public static ItemColors create(BlockColors blockColors)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwi;a(Ldwe;)Ldwi;
      intermediary method_1706 Lnet/minecraft/class_325;method_1706(Lnet/minecraft/class_324;)Lnet/minecraft/class_325;
      named create Lnet/minecraft/client/color/item/ItemColors;create(Lnet/minecraft/client/color/block/BlockColors;)Lnet/minecraft/client/color/item/ItemColors;
    • getColorMultiplier

      public int getColorMultiplier(ItemStack item, int tintIndex)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwi;a(Lbqp;I)I
      intermediary method_1704 Lnet/minecraft/class_325;method_1704(Lnet/minecraft/class_1799;I)I
      named getColorMultiplier Lnet/minecraft/client/color/item/ItemColors;getColorMultiplier(Lnet/minecraft/item/ItemStack;I)I
    • register

      public void register(ItemColorProvider mapper, ItemConvertible[] items)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwi;a(Ldwh;[Lbwo;)V
      intermediary method_1708 Lnet/minecraft/class_325;method_1708(Lnet/minecraft/class_326;[Lnet/minecraft/class_1935;)V
      named register Lnet/minecraft/client/color/item/ItemColors;register(Lnet/minecraft/client/color/item/ItemColorProvider;[Lnet/minecraft/item/ItemConvertible;)V