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