Uses of Interface
io.papermc.paper.datacomponent.item.PotionContents.Builder
-
Uses of PotionContents.Builder in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionPotionContents.Builder.addCustomEffect
(PotionEffect effect) Adds a custom effect instance to this builder.PotionContents.Builder.addCustomEffects
(List<PotionEffect> effects) Adds custom effect instances to this builder.PotionContents.Builder.customColor
(@Nullable Color color) Sets the color override for this builder.PotionContents.Builder.customName
(@Nullable String name) Sets the suffix to the translation key of the potion item.PotionContents.Builder.potion
(@Nullable PotionType type) Sets the potion type for this builder.static PotionContents.Builder
PotionContents.potionContents()