Interface ShownInTooltip.Builder<B>

Type Parameters:
B - builder type
All Known Subinterfaces:
DyedItemColor.Builder, ItemAdventurePredicate.Builder, ItemArmorTrim.Builder, ItemAttributeModifiers.Builder, ItemEnchantments.Builder, JukeboxPlayable.Builder, Unbreakable.Builder
Enclosing interface:
ShownInTooltip<T>

@Experimental @NonExtendable public static interface ShownInTooltip.Builder<B>
A builder for creating a ShownInTooltip data component.
  • Method Summary

    Modifier and Type
    Method
    Description
    showInTooltip(boolean showInTooltip)
    Sets if the data component should be shown in the item's tooltip.
  • Method Details

    • showInTooltip

      @Contract(value="_ -> this", mutates="this") B showInTooltip(boolean showInTooltip)
      Sets if the data component should be shown in the item's tooltip.
      Parameters:
      showInTooltip - true to show in the tooltip
      Returns:
      the builder for chaining
      See Also: