public abstract class BerryEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Modifier and Type | Class and Description |
---|---|
static class |
BerryEvent.BerryPlanted
BerryEvent subclass event that occurs whenever an berry is
planted in the ground. |
static class |
BerryEvent.BerryReady
BerryEvent subclass event fired whenever an berry tree moves to
the final stage of growth where an berry can be harvested. |
static class |
BerryEvent.BerryWatered
ApricornEvent subclass event fired when an berry tree is watered. |
static class |
BerryEvent.PickBerry
BerryEvent subclass event which fires when an berry is being
picked by a player. |
Modifier and Type | Field and Description |
---|---|
EnumBerry |
berry
The type of berry
|
net.minecraft.util.math.BlockPos |
pos
The location of the berry tree's bottom-most block
|
Modifier | Constructor and Description |
---|---|
protected |
BerryEvent(EnumBerry berry,
net.minecraft.util.math.BlockPos pos) |