public static class BerryEvent.BerryWatered extends BerryEvent
ApricornEvent
subclass event fired when an berry tree is watered.
Cancelling this event will prevent the watering to affect the tree.
BerryEvent.BerryPlanted, BerryEvent.BerryReady, BerryEvent.BerryWatered, BerryEvent.PickBerry
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.player.EntityPlayer |
player
The player watering this berry tree
|
berry, pos
Constructor and Description |
---|
BerryWatered(net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
EnumBerry type) |
public final net.minecraft.entity.player.EntityPlayer player
public BerryWatered(net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.EntityPlayer player, EnumBerry type)