public static class BerryEvent.BerryPlanted extends BerryEvent
BerryEvent
subclass event that occurs whenever an berry is
planted in the ground.
Cancelling this event will prevent it from being planted
BerryEvent.BerryPlanted, BerryEvent.BerryReady, BerryEvent.BerryWatered, BerryEvent.PickBerry
Modifier and Type | Field and Description |
---|---|
net.minecraft.entity.player.EntityPlayerMP |
player
The player planting the berry tree
|
berry, pos
Constructor and Description |
---|
BerryPlanted(EnumBerry berry,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayerMP player) |
public final net.minecraft.entity.player.EntityPlayerMP player
public BerryPlanted(EnumBerry berry, net.minecraft.util.math.BlockPos pos, net.minecraft.entity.player.EntityPlayerMP player)