net.minecraftforge.event.terraingen

## Class OreGenEvent

- java.lang.Object
- - net.minecraftforge.event.Event
  - - net.minecraftforge.event.terraingen.OreGenEvent

- Direct Known Subclasses:
    OreGenEvent.GenerateMinable, OreGenEvent.Post, OreGenEvent.Pre

      public class OreGenEvent
      extends Event

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `OreGenEvent.GenerateMinable` This event is fired when an ore is generated in a chunk.
    `static class` | `OreGenEvent.Post`
    `static class` | `OreGenEvent.Pre`

    - ### Nested classes/interfaces inherited from class net.minecraftforge.event.Event

      `Event.HasResult, Event.Result`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `Random` | `rand`
    `World` | `world`
    `int` | `worldX`
    `int` | `worldZ`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `OreGenEvent(World world, Random rand, int worldX, int worldZ)`

  - ### Method Summary

    - ### Methods inherited from class net.minecraftforge.event.Event

      `getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### world

          public final World world

    - #### rand

          public final Random rand

    - #### worldX

          public final int worldX

    - #### worldZ

          public final int worldZ

  - ### Constructor Detail

    - #### OreGenEvent

          public OreGenEvent(World world,
                     Random rand,
                     int worldX,
                     int worldZ)