Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
PlayerBucketFillEvent.java
1 package org.bukkit.event.player;
2 
3 import org.bukkit.Material;
4 import org.bukkit.block.Block;
6 import org.bukkit.entity.Player;
9 
10 /**
11  * Called when a player fills a bucket
12  */
14  private static final HandlerList handlers = new HandlerList();
15 
16  public PlayerBucketFillEvent(final Player who, final Block blockClicked, final BlockFace blockFace, final Material bucket, final ItemStack itemInHand) {
17  super(who, blockClicked, blockFace, bucket, itemInHand);
18  }
19 
20  @Override
21  public HandlerList getHandlers() {
22  return handlers;
23  }
24 
25  public static HandlerList getHandlerList() {
26  return handlers;
27  }
28 }