Class SkullItem

All Implemented Interfaces:
ItemConvertible

public class SkullItem extends WallStandingBlockItem
Mappings:
Namespace Name
official cbk
intermediary net/minecraft/class_1809
named net/minecraft/item/SkullItem
  • Field Details

    • SKULL_OWNER_KEY

      public static final String SKULL_OWNER_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcbk;b:Ljava/lang/String;
      intermediary field_30916 Lnet/minecraft/class_1809;field_30916:Ljava/lang/String;
      named SKULL_OWNER_KEY Lnet/minecraft/item/SkullItem;SKULL_OWNER_KEY:Ljava/lang/String;
  • Constructor Details

    • SkullItem

      public SkullItem(Block standingBlock, Block wallBlock, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lccd;<init>(Lcjt;Lcjt;Lcat$a;)V
      intermediary <init> Lnet/minecraft/class_1827;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/WallStandingBlockItem;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/block/Block;Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • getName

      public Text getName(ItemStack stack)
      Overrides:
      getName in class Item
      Mappings:
      Namespace Name Mixin selector
      official m Lcat;m(Lcax;)Lrq;
      intermediary method_7864 Lnet/minecraft/class_1792;method_7864(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2561;
      named getName Lnet/minecraft/item/Item;getName(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/text/Text;
    • postProcessNbt

      public void postProcessNbt(NbtCompound nbt)
      Processes the NBT applied to an item stack of this item.

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

      Overrides:
      postProcessNbt in class Item
      Mappings:
      Namespace Name Mixin selector
      official b Lcat;b(Lpj;)V
      intermediary method_7860 Lnet/minecraft/class_1792;method_7860(Lnet/minecraft/class_2487;)V
      named postProcessNbt Lnet/minecraft/item/Item;postProcessNbt(Lnet/minecraft/nbt/NbtCompound;)V