public static class ApricornEvent.ApricornWatered extends ApricornEvent
ApricornEvent
subclass event fired when an apricorn tree is watered.
Cancelling this event will prevent the watering to affect the tree.
ApricornEvent.ApricornPlanted, ApricornEvent.ApricornReady, ApricornEvent.ApricornWatered, ApricornEvent.GrowthChance, ApricornEvent.PickApricorn
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.player.EntityPlayer |
player
The player watering the apricorn tree
|
TileEntityApricornTree |
tree
The tile entity representing the apricorn tree
|
apricorn, pos
Constructor and Description |
---|
ApricornWatered(EnumApricorns apricorn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player,
TileEntityApricornTree tree) |
public final net.minecraft.entity.player.EntityPlayer player
public final TileEntityApricornTree tree
public ApricornWatered(EnumApricorns apricorn, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.EntityPlayer player, TileEntityApricornTree tree)