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