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 agt
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 Lagt;a:Laow;
      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 Lain;a(Laip;)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 Lain;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;
    • appendTooltips

      @Environment(CLIENT) public void appendTooltips(ItemStack stack, @Nullable World world, List<String> tooltip, TooltipContext tooltipContext)
      Overrides:
      appendTooltips in class Item
      Mappings:
      Namespace Name Mixin selector
      official a Lain;a(Laip;Lamu;Ljava/util/List;Lakb;)V
      intermediary method_14234 Lnet/minecraft/class_1069;method_14234(Lnet/minecraft/class_1071;Lnet/minecraft/class_1150;Ljava/util/List;Lnet/minecraft/class_3191;)V
      named appendTooltips Lnet/minecraft/item/Item;appendTooltips(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Ljava/util/List;Lnet/minecraft/client/TooltipContext;)V