public class Pixelmon
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
canSendOutPokemon
Whether players can send out Pokémon.
|
static net.minecraftforge.eventbus.api.IEventBus |
EVENT_BUS |
static boolean |
freeze
Whether Pokémon are frozen and unmoving in the world.
|
static Pixelmon |
instance |
static boolean |
LOG_BATTLE_SCREEN_MODE |
static boolean |
LOG_PACKETS |
static org.apache.logging.log4j.Logger |
LOGGER |
static java.io.File |
modDirectory |
static java.lang.String |
MODID |
static java.lang.String |
NAME |
static SimpleChannel |
network |
static java.util.concurrent.ExecutorService |
POOL |
static CommonProxy |
proxy |
static java.lang.String |
VERSION |
Constructor and Description |
---|
Pixelmon() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getVersion() |
static void |
init(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
Handles pre-initialization of Pixelmon.
|
static boolean |
isClient() |
static boolean |
isDevEnvironment() |
void |
onRegisterCommands(net.minecraftforge.event.RegisterCommandsEvent event)
The register commands event is used for registering the commands to the client/server
|
void |
onServerAboutToStart(net.minecraftforge.fml.event.server.FMLServerAboutToStartEvent event) |
void |
onServerStart(net.minecraftforge.fml.event.server.FMLServerStartedEvent event)
The server start event currently used for:
* Starting the Tracking Spawners (if a plugin hasn't registered it's own)
* Linking the sounds
|
void |
onServerStopping(net.minecraftforge.fml.event.server.FMLServerStoppingEvent event) |
static void |
postInit(net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent event)
Handles post-initialization for Pixelmon aspects.
|
public static final java.lang.String MODID
public static final java.lang.String NAME
public static final java.lang.String VERSION
public static final net.minecraftforge.eventbus.api.IEventBus EVENT_BUS
public static final org.apache.logging.log4j.Logger LOGGER
public static final java.util.concurrent.ExecutorService POOL
public static final boolean LOG_PACKETS
public static final boolean LOG_BATTLE_SCREEN_MODE
public static Pixelmon instance
public static CommonProxy proxy
public static java.io.File modDirectory
public static SimpleChannel network
public static boolean freeze
public static boolean canSendOutPokemon
public static void init(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event)
event
- The pre-initialization event that triggered this method.public static void postInit(net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent event)
event
- The post-initialization event that triggered this method.public void onServerAboutToStart(net.minecraftforge.fml.event.server.FMLServerAboutToStartEvent event)
public void onRegisterCommands(net.minecraftforge.event.RegisterCommandsEvent event)
event
- The command register event provided by Forgepublic void onServerStart(net.minecraftforge.fml.event.server.FMLServerStartedEvent event)
event
- Server start event provided by Forgepublic void onServerStopping(net.minecraftforge.fml.event.server.FMLServerStoppingEvent event)
public static java.lang.String getVersion()
public static boolean isClient()
public static boolean isDevEnvironment()