Class AliasedBlockItem

All Implemented Interfaces:
ItemConvertible

public class AliasedBlockItem extends BlockItem
Mappings:
Namespace Name
official bud
intermediary net/minecraft/class_1798
named net/minecraft/item/AliasedBlockItem
  • Constructor Details

    • AliasedBlockItem

      public AliasedBlockItem(Block block, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbsi;<init>(Lccy;Lbua$a;)V
      intermediary <init> Lnet/minecraft/class_1747;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/BlockItem;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Gets the translation key of this item.
      Overrides:
      getTranslationKey in class BlockItem
      Mappings:
      Namespace Name Mixin selector
      official a Lbua;a()Ljava/lang/String;
      intermediary method_7876 Lnet/minecraft/class_1792;method_7876()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/item/Item;getTranslationKey()Ljava/lang/String;