|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcpw.mods.fml.common.FMLCommonHandler
public class FMLCommonHandler
The main class for non-obfuscated hook handling code Anything that doesn't require obfuscated or client/server specific code should go in this handler It also contains a reference to the sided handler instance that is valid allowing for common code to access specific properties from the obfuscated world without a direct dependency
Constructor Summary | |
---|---|
FMLCommonHandler()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FMLCommonHandler()
Method Detail |
---|
public void beginLoading(IFMLSidedHandler handler)
public void rescheduleTicks(Side side)
public void tickStart(EnumSet<TickType> ticks, Side side, Object... data)
public void tickEnd(EnumSet<TickType> ticks, Side side, Object... data)
public static FMLCommonHandler instance()
public ModContainer findContainerFor(Object mod)
mod
-
public Logger getFMLLogger()
public Side getSide()
languagePack
- lang
- public Side getEffectiveSide()
public void raiseException(Throwable exception, String message, boolean stopGame)
exception
- message
- stopGame
- public void computeBranding()
string
- public List<String> getBrandings()
public IFMLSidedHandler getSidedDelegate()
public void onPostServerTick()
public void onPostWorldTick(Object world)
public void onPreServerTick()
public void onPreWorldTick(Object world)
public void onWorldLoadTick(World[] worlds)
public void handleServerStarting(MinecraftServer server)
public void handleServerStarted()
public void handleServerStopping()
public MinecraftServer getMinecraftServerInstance()
public void showGuiScreen(Object clientGuiElement)
public Entity spawnEntityIntoClientWorld(EntityRegistry.EntityRegistration registration, EntitySpawnPacket entitySpawnPacket)
public void adjustEntityLocationOnClient(EntitySpawnAdjustmentPacket entitySpawnAdjustmentPacket)
public void onServerStart(DedicatedServer dedicatedServer)
public void onServerStarted()
public void onPreClientTick()
public void onPostClientTick()
public void onRenderTickStart(float timer)
public void onRenderTickEnd(float timer)
public void onPlayerPreTick(EntityPlayer player)
public void onPlayerPostTick(EntityPlayer player)
public void registerCrashCallable(ICrashCallable callable)
public void enhanceCrashReport(CrashReport crashReport)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |