Class Pixelmon

java.lang.Object
com.pixelmonmod.pixelmon.Pixelmon

public class Pixelmon extends Object
Main class for Pixelmon.
  • Field Details

    • MODID

      public static final String MODID
      See Also:
    • NAME

      public static final String NAME
      See Also:
    • NET_VERSION

      public static final int NET_VERSION
      See Also:
    • VERSION

      public static final String VERSION
      See Also:
    • EVENT_BUS

      public static final net.minecraftforge.eventbus.api.IEventBus EVENT_BUS
    • LOGGER

      public static final org.slf4j.Logger LOGGER
    • POOL

      public static final ExecutorService POOL
    • LOG_PACKETS

      public static final boolean LOG_PACKETS
    • LOG_BATTLE_SCREEN_MODE

      public static final boolean LOG_BATTLE_SCREEN_MODE
    • random

      public static final Random random
    • instance

      public static Pixelmon instance
    • proxy

      public static CommonProxy proxy
    • modDirectory

      public static File modDirectory
    • network

      public static net.minecraftforge.network.SimpleChannel network
    • freeze

      public static boolean freeze
      Whether Pokémon are frozen and unmoving in the world.
    • canSendOutPokemon

      public static boolean canSendOutPokemon
      Whether 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

      public static String getVersion()
    • isClient

      public static boolean isClient()
    • isDevEnvironment

      public static boolean isDevEnvironment()