Class AliasedBlockItem

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

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

    • AliasedBlockItem

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

    • getTranslationKey

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