Class DiscFragmentItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.DiscFragmentItem
All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class DiscFragmentItem extends Item
Mappings:
Namespace Name
official cek
intermediary net/minecraft/class_7409
named net/minecraft/item/DiscFragmentItem
  • Constructor Details

    • DiscFragmentItem

      public DiscFragmentItem(Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcfu;<init>(Lcfu$a;)V
      intermediary <init> Lnet/minecraft/class_1792;<init>(Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/Item;<init>(Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • 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 Lcfu;a(Lcfz;Lcmm;Ljava/util/List;Lchq;)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
    • getDescription

      public MutableText getDescription()
      Mappings:
      Namespace Name Mixin selector
      official d Lcek;d()Ltj;
      intermediary method_43408 Lnet/minecraft/class_7409;method_43408()Lnet/minecraft/class_5250;
      named getDescription Lnet/minecraft/item/DiscFragmentItem;getDescription()Lnet/minecraft/text/MutableText;