Package net.minecraft

Class class_3056

java.lang.Object
net.minecraft.item.Item
net.minecraft.class_3056

public class class_3056 extends Item
Mappings:
Namespace Name
official adn
intermediary net/minecraft/class_3056
named net/minecraft/class_3056
  • Field Details

    • field_15107

      private final Block field_15107
      Mappings:
      Namespace Name Mixin selector
      official a Ladn;a:Lalu;
      intermediary field_15107 Lnet/minecraft/class_3056;field_15107:Lnet/minecraft/class_197;
      named field_15107 Lnet/minecraft/class_3056;field_15107:Lnet/minecraft/block/Block;
  • Constructor Details

    • class_3056

      public class_3056(Block block)
  • Method Details

    • getTranslationKey

      public String getTranslationKey(ItemStack stack)
      Overrides:
      getTranslationKey in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Lafj;)Ljava/lang/String;
      intermediary method_3371 Lnet/minecraft/class_1069;method_3371(Lnet/minecraft/class_1071;)Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/item/Item;getTranslationKey(Lnet/minecraft/item/ItemStack;)Ljava/lang/String;
    • getTranslationKey

      public String getTranslationKey()
      Returns the translation key of the current Item
      Overrides:
      getTranslationKey in class Item
      Returns:
      Translation key
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a()Ljava/lang/String;
      intermediary method_3342 Lnet/minecraft/class_1069;method_3342()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/item/Item;getTranslationKey()Ljava/lang/String;
    • appendTooltip

      @Environment(CLIENT) public void appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced)
      Overrides:
      appendTooltip in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Lafj;Laay;Ljava/util/List;Z)V
      intermediary method_3352 Lnet/minecraft/class_1069;method_3352(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;Ljava/util/List;Z)V
      named appendTooltip Lnet/minecraft/item/Item;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;Z)V