PlayerBucketEntityEvent
@Deprecated public class PlayerBucketFishEvent extends PlayerBucketEntityEvent
Event.Result
player
Constructor and Description |
---|
PlayerBucketFishEvent(@NotNull Player player,
@NotNull Fish fish,
@NotNull ItemStack waterBucket,
@NotNull ItemStack fishBucket)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Fish |
getEntity()
Deprecated.
Gets the fish involved with this event.
|
@NotNull ItemStack |
getFishBucket()
Deprecated.
|
@NotNull ItemStack |
getWaterBucket()
Deprecated.
|
getEntityBucket, getHandlerList, getHandlers, getOriginalBucket, isCancelled, setCancelled
getPlayer
callEvent, getEventName, isAsynchronous
@NotNull public @NotNull Fish getEntity()
getEntity
in class PlayerBucketEntityEvent
@NotNull @Deprecated public @NotNull ItemStack getWaterBucket()
PlayerBucketEntityEvent.getOriginalBucket()
Material.WATER_BUCKET
.@NotNull @Deprecated public @NotNull ItemStack getFishBucket()
PlayerBucketEntityEvent.getEntityBucket()
Material.PUFFERFISH_BUCKET
.Copyright © 2022. All rights reserved.