Class PlayerHeadItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class PlayerHeadItem extends VerticallyAttachableBlockItem
Mappings:
Namespace Name
named net/minecraft/item/PlayerHeadItem
intermediary net/minecraft/class_1809
official cvh
  • Constructor Details

    • PlayerHeadItem

      public PlayerHeadItem(Block block, Block wallBlock, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/item/PlayerHeadItem;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lnet/minecraft/item/Item$Settings;)V
      intermediary <init> Lnet/minecraft/class_1809;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_1792$class_1793;)V
      official <init> Lcvh;<init>(Ldfb;Ldfb;Lcum$a;)V
  • Method Details

    • getName

      public Text getName(ItemStack stack)
      Overrides:
      getName in class Item
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/item/Item;getName(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/text/Text;
      intermediary method_7864 Lnet/minecraft/class_1792;method_7864(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2561;
      official o Lcum;o(Lcur;)Lxp;
    • postProcessComponents

      public void postProcessComponents(ItemStack stack)
      Processes the components applied to an item stack of this item.

      This is only used in vanilla to process player head component data.

      Overrides:
      postProcessComponents in class Item
      Mappings:
      Namespace Name Mixin selector
      named postProcessComponents Lnet/minecraft/item/Item;postProcessComponents(Lnet/minecraft/item/ItemStack;)V
      intermediary method_7860 Lnet/minecraft/class_1792;method_7860(Lnet/minecraft/class_1799;)V
      official n Lcum;n(Lcur;)V