Class DyeItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.DyeItem

public class DyeItem extends Item
Mappings:
Namespace Name
official aen
intermediary net/minecraft/class_1056
named net/minecraft/item/DyeItem
  • Field Details

    • COLORS

      public static final int[] COLORS
      Mappings:
      Namespace Name Mixin selector
      official a Laen;a:[I
      intermediary field_4197 Lnet/minecraft/class_1056;field_4197:[I
      named COLORS Lnet/minecraft/item/DyeItem;COLORS:[I
  • Constructor Details

    • DyeItem

      public DyeItem()
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafh;<init>()V
      intermediary <init> Lnet/minecraft/class_1069;<init>()V
      named <init> Lnet/minecraft/item/Item;<init>()V
  • Method Details

    • getTranslationKey

      public String getTranslationKey(ItemStack stack)
      Overrides:
      getTranslationKey in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Lafj;)Ljava/lang/String;
      intermediary method_3371 Lnet/minecraft/class_1069;method_3371(Lnet/minecraft/class_1071;)Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/item/Item;getTranslationKey(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;
    • use

      public ActionResult use(PlayerEntity player, World world, BlockPos pos, Hand hand, Direction direction, float x, float y, float z)
      Overrides:
      use in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Laay;Lajs;Lco;Lri;Lcv;FFF)Lrk;
      intermediary method_3355 Lnet/minecraft/class_1069;method_3355(Lnet/minecraft/class_988;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Lnet/minecraft/class_2962;
      named use Lnet/minecraft/item/Item;use(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Lnet/minecraft/util/ActionResult;
    • fertilize

      public static boolean fertilize(ItemStack stack, World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Laen;a(Lafj;Lajs;Lco;)Z
      intermediary method_11281 Lnet/minecraft/class_1056;method_11281(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Z
      named fertilize Lnet/minecraft/item/DyeItem;fertilize(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • spawnParticles

      @Environment(CLIENT) public static void spawnParticles(World world, BlockPos pos, int i)
      Mappings:
      Namespace Name Mixin selector
      official a Laen;a(Lajs;Lco;I)V
      intermediary method_11280 Lnet/minecraft/class_1056;method_11280(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;I)V
      named spawnParticles Lnet/minecraft/item/DyeItem;spawnParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)V
    • method_3353

      public boolean method_3353(ItemStack itemStack, PlayerEntity playerEntity, LivingEntity livingEntity, Hand hand)
      Overrides:
      method_3353 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Lafj;Laay;Lsw;Lri;)Z
      intermediary method_3353 Lnet/minecraft/class_1069;method_3353(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Lnet/minecraft/class_1699;Lnet/minecraft/class_2961;)Z
      named method_3353 Lnet/minecraft/item/Item;method_3353(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/Hand;)Z
    • method_13648

      @Environment(CLIENT) public void method_13648(Item item, ItemGroup itemGroup, DefaultedList<ItemStack> defaultedList)
      Overrides:
      method_13648 in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Lafh;Laej;Ldd;)V
      intermediary method_13648 Lnet/minecraft/class_1069;method_13648(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Lnet/minecraft/class_3114;)V
      named method_13648 Lnet/minecraft/item/Item;method_13648(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Lnet/minecraft/util/collection/DefaultedList;)V