Class CommonClientEvents.ItemTooltips

java.lang.Object
net.rebel459.unified.impl.client.core.CommonClientEvents.ItemTooltips
Enclosing class:
CommonClientEvents

public static class CommonClientEvents.ItemTooltips extends Object
  • Field Details

  • Method Details

    • passAddDetails

      public static void passAddDetails(EventTiming type, CommonClientEvents.ItemTooltips.TooltipContext client)
    • passAddAttributes

      public static void passAddAttributes(EventTiming type, net.minecraft.world.item.ItemStack stack, Consumer<net.minecraft.network.chat.Component> builder, net.minecraft.world.item.component.TooltipDisplay display, net.minecraft.client.player.LocalPlayer player)
    • passAfterAttributeAdded

      public static void passAfterAttributeAdded(Consumer<net.minecraft.network.chat.Component> builder, net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.component.ItemAttributeModifiers itemModifiers, @Nullable @Nullable net.minecraft.world.entity.player.Player player, net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute> attribute, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
    • passAfterBaseAttributeAdded

      public static void passAfterBaseAttributeAdded(Consumer<net.minecraft.network.chat.Component> builder, net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.component.ItemAttributeModifiers itemModifiers, @Nullable @Nullable net.minecraft.world.entity.player.Player player, net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute> attribute, double displayValue)
    • passInsertLines

      public static void passInsertLines(CommonClientEvents.ItemTooltips.LineContext context)