public class MinecraftForge
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static EventBus |
EVENT_BUS
The core Forge EventBusses, all events for Forge will be fired on these,
you should use this to register all your listeners.
|
static java.lang.String |
MC_VERSION |
static EventBus |
ORE_GEN_BUS |
static EventBus |
TERRAIN_GEN_BUS |
Constructor and Description |
---|
MinecraftForge() |
Modifier and Type | Method and Description |
---|---|
static void |
addGrassSeed(ItemStack seed,
int weight)
Register a new seed to be dropped when breaking tall grass.
|
static void |
initialize()
Method invoked by FML before any other mods are loaded.
|
public static final EventBus EVENT_BUS
public static final EventBus TERRAIN_GEN_BUS
public static final EventBus ORE_GEN_BUS
public static final java.lang.String MC_VERSION
public static void addGrassSeed(ItemStack seed, int weight)
seed
- The item to drop as a seed.weight
- The relative probability of the seeds,
where wheat seeds are 10.public static void initialize()