getDescription, getDisplayName, getId, getModGuiClass, getResourceLocation, getSortingPriority, getVersion, init, initAssets, isCompatibleWithModVersion, isDisableable, isRequiredOnClient, isRequiredOnServer, postInit, preInitvoid startWorld(java.io.File worldFile,
WorldInfo info)
IWorld from a specified File and WorldInfo
and puts the player into it
worldFile - The world's directoryinfo - The world infovoid joinWorld(DataSet playerSet, WorldInfo info, DynamicRegistryInfo regInfo)
IWorld with a specified DataSet storing the player information,
a WorldInfo and a specified NameToIndexInfo storing the mapping of tiles
to their ids on disk.
playerSet - The player datainfo - The world infovoid quitWorld()
IWorld
void openIngameMenu()
Gui
void scheduleAction(IAction action)
IAction to be executed next tick
IPacket as
it prevents concurrent modificationaction - The action to be executedint getGuiScale()
int getWorldScale()
double getWidthInWorld()
getWorldScale()double getHeightInWorld()
getWorldScale()double getWidthInGui()
getGuiScale()double getHeightInGui()
getGuiScale()float getMouseInGuiX()
Mouse when applying getGuiScale()float getMouseInGuiY()
Mouse when applying getGuiScale()IDataManager getDataManager()
IDataManager containing the game location and save locationsAbstractEntityPlayer getPlayer()
AbstractEntityPlayer of null if there is noneIGuiManager getGuiManager()
IGuiManager of the game that can be used to open GuiIInteractionManager getInteractionManager()
IInteractionManager of the gameIChatLog getChatLog()
IChatLog that can be used to send and query chat messagesIAssetManager getAssetManager()
IAssetManager that can be used to get and modify game assetsIParticleManager getParticleManager()
IParticleManager of the gamejava.util.UUID getUniqueId()
UUID of the game and its AbstractEntityPlayerboolean isDebug()
boolean isLightDebug()
boolean isForegroundDebug()
boolean isBackgroundDebug()
boolean isItemInfoDebug()
boolean isChunkBorderDebug()
int getTpsAverage()
Constants.TARGET_TPS over the last secondint getFpsAverage()
Settings.targetFps over the last secondjava.net.URLClassLoader getClassLoader()
ClassLoader used to load vanilla game and IMod classesvoid setFullscreen(boolean fullscreen)
int getTotalTicks()
IPlayerDesign getPlayerDesign()
boolean isDedicatedServer()
void setUniqueId(java.util.UUID id)
org.newdawn.slick.Input getInput()
void exit()
IToaster getToaster()