public class SaplingGrowTreeEvent extends WorldEvent
BlockSapling#generateTree(World, BlockPos, IBlockState, Random).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.UnloadEvent.HasResult, Event.Result| コンストラクタと説明 |
|---|
SaplingGrowTreeEvent(IWorld world,
java.util.Random rand,
BlockPos pos) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
BlockPos |
getPos() |
java.util.Random |
getRand() |
getWorldgetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup