Class AliasedBlockItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class AliasedBlockItem extends BlockItem
Mappings:
Namespace Name
official cje
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> Lcgy;<init>(Lcsv;Lcja$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 Lcja;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;