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>
A builder for creating a
ShownInTooltip data component.-
Method Summary
Modifier and TypeMethodDescriptionshowInTooltip(boolean showInTooltip) Sets if the data component should be shown in the item's tooltip.
-
Method Details
-
showInTooltip
Sets if the data component should be shown in the item's tooltip.- Parameters:
showInTooltip-trueto show in the tooltip- Returns:
- the builder for chaining
- See Also:
-