public class BucketHandler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<net.minecraft.block.Block,net.minecraft.item.Item> |
buckets
The map that will map the fluid block to the respective bucket that is capable
to hold the fluid of that block.
|
| Modifier and Type | Method and Description |
|---|---|
static BucketHandler |
getInstance()
Get the unique instance.
|
void |
onBucketFill(net.minecraftforge.event.entity.player.FillBucketEvent event)
Called when player right clicks with an empty bucket on a fluid block.
|
public java.util.Map<net.minecraft.block.Block,net.minecraft.item.Item> buckets
public static BucketHandler getInstance()
public void onBucketFill(net.minecraftforge.event.entity.player.FillBucketEvent event)
event - The Forge event required for this.