public static class OreGenEvent.GenerateMinable extends OreGenEvent
type
contains the enum value for the Ore attempting to be generated.generator
contains the WorldGenerator generating this ore. Cancelable
.Event.HasResult
MinecraftForge#ORE_GEN_BUS
.Modifier and Type | Class and Description |
---|---|
static class |
OreGenEvent.GenerateMinable.EventType |
OreGenEvent.GenerateMinable, OreGenEvent.Post, OreGenEvent.Pre
Event.HasResult, Event.Result
Constructor and Description |
---|
GenerateMinable(World world,
java.util.Random rand,
WorldGenerator generator,
BlockPos pos,
OreGenEvent.GenerateMinable.EventType type) |
Modifier and Type | Method and Description |
---|---|
WorldGenerator |
getGenerator() |
OreGenEvent.GenerateMinable.EventType |
getType() |
getPos, getRand, getWorld
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public GenerateMinable(World world, java.util.Random rand, WorldGenerator generator, BlockPos pos, OreGenEvent.GenerateMinable.EventType type)
public OreGenEvent.GenerateMinable.EventType getType()
public WorldGenerator getGenerator()