public class OreGenEvent extends Event
Event
as its parameter, the method will
receive every child event of this class.world
contains the world this event is occurring in.rand
contains an instance of random that can be used in this event.pos
contains the coordinates of the chunk position currently being populated with ores.MinecraftForge#ORE_GEN_BUS
.Modifier and Type | Class and Description |
---|---|
static class |
OreGenEvent.GenerateMinable
GenerateMinable is fired when a mineable block is generated in a chunk.
|
static class |
OreGenEvent.Post
OreGenEvent.Post is fired just after a chunk is populated with ores.
|
static class |
OreGenEvent.Pre
OreGenEvent.Pre is fired just before a chunk is populated with ores.
|
Event.HasResult, Event.Result
Constructor and Description |
---|
OreGenEvent(World world,
java.util.Random rand,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
getPos() |
java.util.Random |
getRand() |
World |
getWorld() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup