Package com.pixelmonmod.pixelmon
Class Pixelmon
java.lang.Object
com.pixelmonmod.pixelmon.Pixelmon
Main class for Pixelmon.
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
Whether players can send out Pokémon.static final net.minecraftforge.eventbus.api.IEventBus
static boolean
Whether Pokémon are frozen and unmoving in the world.static Pixelmon
static final boolean
static final boolean
static final org.slf4j.Logger
static File
static final String
static final String
static final int
static net.minecraftforge.network.SimpleChannel
static final ExecutorService
static CommonProxy
static final Random
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static void
init
(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event) Handles pre-initialization of Pixelmon.static boolean
isClient()
static boolean
void
onRegisterCommands
(net.minecraftforge.event.RegisterCommandsEvent event) The register commands event is used for registering the commands to the client/servervoid
onServerAboutToStart
(net.minecraftforge.event.server.ServerAboutToStartEvent event) void
onServerStart
(net.minecraftforge.event.server.ServerStartedEvent event) The server start event currently used for: * Starting the Tracking Spawners (if a plugin hasn't registered it's own) * Linking the soundsvoid
onServerStopping
(net.minecraftforge.event.server.ServerStoppingEvent event) static void
postInit
(net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent event) Handles post-initialization for Pixelmon aspects.
-
Field Details
-
MODID
- See Also:
-
NAME
- See Also:
-
NET_VERSION
public static final int NET_VERSION- See Also:
-
VERSION
- See Also:
-
EVENT_BUS
public static final net.minecraftforge.eventbus.api.IEventBus EVENT_BUS -
LOGGER
public static final org.slf4j.Logger LOGGER -
POOL
-
LOG_PACKETS
public static final boolean LOG_PACKETS -
LOG_BATTLE_SCREEN_MODE
public static final boolean LOG_BATTLE_SCREEN_MODE -
random
-
instance
-
proxy
-
modDirectory
-
network
public static net.minecraftforge.network.SimpleChannel network -
freeze
public static boolean freezeWhether Pokémon are frozen and unmoving in the world. -
canSendOutPokemon
public static boolean canSendOutPokemonWhether players can send out Pokémon.
-
-
Constructor Details
-
Pixelmon
public Pixelmon()
-
-
Method Details
-
init
public static void init(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event) Handles pre-initialization of Pixelmon.- Parameters:
event
- The pre-initialization event that triggered this method.
-
postInit
public static void postInit(net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent event) Handles post-initialization for Pixelmon aspects.- Parameters:
event
- The post-initialization event that triggered this method.
-
onServerAboutToStart
public void onServerAboutToStart(net.minecraftforge.event.server.ServerAboutToStartEvent event) -
onRegisterCommands
public void onRegisterCommands(net.minecraftforge.event.RegisterCommandsEvent event) The register commands event is used for registering the commands to the client/server- Parameters:
event
- The command register event provided by Forge
-
onServerStart
public void onServerStart(net.minecraftforge.event.server.ServerStartedEvent event) The server start event currently used for: * Starting the Tracking Spawners (if a plugin hasn't registered it's own) * Linking the sounds- Parameters:
event
- Server start event provided by Forge
-
onServerStopping
public void onServerStopping(net.minecraftforge.event.server.ServerStoppingEvent event) -
getVersion
-
isClient
public static boolean isClient() -
isDevEnvironment
public static boolean isDevEnvironment()
-