Package | Description |
---|---|
org.bukkit.potion |
Classes to represent various
potion
properties and manipulation. |
Modifier and Type | Method and Description |
---|---|
@NotNull Potion |
Potion.extend()
Deprecated.
Chain this to the constructor to extend the potion's duration.
|
static @NotNull Potion |
Potion.fromDamage(int damage)
Deprecated.
Gets the potion from its damage value.
|
static @NotNull Potion |
Potion.fromItemStack(@NotNull ItemStack item)
Deprecated.
|
@NotNull Potion |
Potion.splash()
Deprecated.
Chain this to the constructor to make the potion a splash potion.
|
Copyright © 2021. All rights reserved.