public static class ApricornEvent.ApricornPlanted extends ApricornEvent
ApricornEvent
subclass event that occurs whenever an apricorn is planted in the ground.
Cancelling this event will prevent it from being planted
ApricornEvent.ApricornPlanted, ApricornEvent.ApricornReady, ApricornEvent.ApricornWatered, ApricornEvent.GrowthChance, ApricornEvent.PickApricorn
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.player.EntityPlayerMP |
player
The player planting the apricorn tree
|
apricorn, pos
Constructor and Description |
---|
ApricornPlanted(EnumApricorns apricorn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayerMP player) |
public final net.minecraft.entity.player.EntityPlayerMP player
public ApricornPlanted(EnumApricorns apricorn, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.EntityPlayerMP player)