Package net.minecraft

Class class_8420<T extends NbtElement>

java.lang.Object
net.minecraft.item.Item
net.minecraft.class_8420<T>
All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class class_8420<T extends NbtElement> extends Item
Mappings:
Namespace Name
official clf
intermediary net/minecraft/class_8420
named net/minecraft/class_8420
  • Field Details

    • field_44192

      private static final String field_44192
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lclf;a:Ljava/lang/String;
      intermediary field_44192 Lnet/minecraft/class_8420;field_44192:Ljava/lang/String;
      named field_44192 Lnet/minecraft/class_8420;field_44192:Ljava/lang/String;
    • field_44193

      private final NbtType<T extends NbtElement> field_44193
      Mappings:
      Namespace Name Mixin selector
      official b Lclf;b:Lrm;
      intermediary field_44193 Lnet/minecraft/class_8420;field_44193:Lnet/minecraft/class_4614;
      named field_44193 Lnet/minecraft/class_8420;field_44193:Lnet/minecraft/nbt/NbtType;
  • Constructor Details

  • Method Details

    • method_50805

      public NbtType<T> method_50805()
      Mappings:
      Namespace Name Mixin selector
      official j Lclf;j()Lrm;
      intermediary method_50805 Lnet/minecraft/class_8420;method_50805()Lnet/minecraft/class_4614;
      named method_50805 Lnet/minecraft/class_8420;method_50805()Lnet/minecraft/nbt/NbtType;
    • method_50804

      @Nullable public T method_50804(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official e Lclf;e(Lcjr;)Lrk;
      intermediary method_50804 Lnet/minecraft/class_8420;method_50804(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2520;
      named method_50804 Lnet/minecraft/class_8420;method_50804(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/nbt/NbtElement;
    • method_50803

      public void method_50803(ItemStack itemStack, T t)
      Mappings:
      Namespace Name Mixin selector
      official a Lclf;a(Lcjr;Lrk;)V
      intermediary method_50803 Lnet/minecraft/class_8420;method_50803(Lnet/minecraft/class_1799;Lnet/minecraft/class_2520;)V
      named method_50803 Lnet/minecraft/class_8420;method_50803(Lnet/minecraft/item/ItemStack;Lnet/minecraft/nbt/NbtElement;)V
    • appendTooltip

      public void appendTooltip(ItemStack stack, @Nullable @Nullable World world, List<Text> tooltip, TooltipContext context)
      Called by the client to append tooltips to an item. Subclasses can override this and add custom tooltips to tooltip list.
      Overrides:
      appendTooltip in class Item
      Parameters:
      tooltip - the list of tooltips to show
      Mappings:
      Namespace Name Mixin selector
      official a Lcjm;a(Lcjr;Lcql;Ljava/util/List;Lcll;)V
      intermediary method_7851 Lnet/minecraft/class_1792;method_7851(Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Ljava/util/List;Lnet/minecraft/class_1836;)V
      named appendTooltip Lnet/minecraft/item/Item;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Ljava/util/List;Lnet/minecraft/client/item/TooltipContext;)V