Class ItemStackMixin

java.lang.Object
dev.thomasglasser.sherdsapi.impl.mixin.ItemStackMixin

public abstract class ItemStackMixin extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract <T extends net.minecraft.world.item.component.TooltipProvider>
    void
    addToTooltip(net.minecraft.core.component.DataComponentType<T> component, net.minecraft.world.item.Item.TooltipContext context, net.minecraft.world.item.component.TooltipDisplay display, Consumer<net.minecraft.network.chat.Component> consumer, net.minecraft.world.item.TooltipFlag flag)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ItemStackMixin

      public ItemStackMixin()
  • Method Details

    • addToTooltip

      public abstract <T extends net.minecraft.world.item.component.TooltipProvider> void addToTooltip(net.minecraft.core.component.DataComponentType<T> component, net.minecraft.world.item.Item.TooltipContext context, net.minecraft.world.item.component.TooltipDisplay display, Consumer<net.minecraft.network.chat.Component> consumer, net.minecraft.world.item.TooltipFlag flag)