public class SaplingGrowTreeEvent extends WorldEvent
pos
contains the coordinates of the growing sapling. rand
contains an instance of Random for use. Cancelable
.Event.HasResult
MinecraftForge#TERRAIN_GEN_BUS
.WorldEvent.CreateSpawnPosition, WorldEvent.Load, WorldEvent.PotentialSpawns, WorldEvent.Save, WorldEvent.Unload
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
BlockPos |
pos |
java.util.Random |
rand |
world
Constructor and Description |
---|
SaplingGrowTreeEvent(World world,
java.util.Random rand,
BlockPos pos) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup