| Package | Description |
|---|---|
| com.destroystokyo.paper.event.entity |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Witch |
WitchConsumePotionEvent.getEntity() |
@NotNull Witch |
WitchReadyPotionEvent.getEntity() |
@NotNull Witch |
WitchThrowPotionEvent.getEntity() |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable ItemStack |
WitchReadyPotionEvent.process(@NotNull Witch witch,
@Nullable ItemStack potion)
Fires thee event, returning the desired potion, or air of cancelled
|
| Constructor and Description |
|---|
WitchConsumePotionEvent(@NotNull Witch witch,
@Nullable ItemStack potion) |
WitchReadyPotionEvent(@NotNull Witch witch,
@Nullable ItemStack potion) |
WitchThrowPotionEvent(@NotNull Witch witch,
@NotNull LivingEntity target,
@Nullable ItemStack potion) |
Copyright © 2021. All rights reserved.