Methods
Modifier and Type |
Method and Description |
void |
addModToResourcePack(ModContainer container) |
void |
adjustEntityLocationOnClient(EntitySpawnAdjustmentPacket entitySpawnAdjustmentPacket) |
void |
beginLoading(IFMLSidedHandler handler) |
void |
computeBranding() |
void |
disconnectIDMismatch(com.google.common.collect.MapDifference<Integer,ItemData> serverDifference,
NetHandler toKill,
INetworkManager network) |
void |
enhanceCrashReport(CrashReport crashReport,
CrashReportCategory category) |
ModContainer |
findContainerFor(Object mod)
Find the container that associates with the supplied mod object
|
List<String> |
getBrandings() |
String |
getCurrentLanguage() |
Side |
getEffectiveSide()
Return the effective side for the context in the game.
|
Logger |
getFMLLogger()
Get the forge mod loader logging instance (goes to the forgemodloader log file)
|
MinecraftServer |
getMinecraftServerInstance() |
String |
getModName() |
Side |
getSide() |
IFMLSidedHandler |
getSidedDelegate() |
boolean |
handleServerAboutToStart(MinecraftServer server) |
void |
handleServerStarted() |
boolean |
handleServerStarting(MinecraftServer server) |
void |
handleServerStopped() |
void |
handleServerStopping() |
void |
handleTinyPacket(NetHandler handler,
Packet131MapData mapData) |
void |
handleWorldDataLoad(SaveHandler handler,
WorldInfo worldInfo,
NBTTagCompound tagCompound) |
void |
handleWorldDataSave(SaveHandler handler,
WorldInfo worldInfo,
NBTTagCompound tagCompound) |
static FMLCommonHandler |
instance() |
void |
onPlayerPostTick(EntityPlayer player) |
void |
onPlayerPreTick(EntityPlayer player) |
void |
onPostClientTick() |
void |
onPostServerTick() |
void |
onPostWorldTick(Object world)
Every tick just after world and other ticks occur
|
void |
onPreClientTick() |
void |
onPreServerTick() |
void |
onPreWorldTick(Object world)
Every tick just before world and other ticks occur
|
void |
onRenderTickEnd(float timer) |
void |
onRenderTickStart(float timer) |
void |
onServerStart(DedicatedServer dedicatedServer) |
void |
onServerStarted() |
void |
onWorldLoadTick(World[] worlds) |
void |
raiseException(Throwable exception,
String message,
boolean stopGame)
Raise an exception
|
void |
registerCrashCallable(ICrashCallable callable) |
void |
rescheduleTicks(Side side) |
boolean |
shouldServerBeKilledQuietly() |
void |
showGuiScreen(Object clientGuiElement) |
Entity |
spawnEntityIntoClientWorld(EntityRegistry.EntityRegistration registration,
EntitySpawnPacket entitySpawnPacket) |
void |
tickEnd(EnumSet<TickType> ticks,
Side side,
Object... data) |
void |
tickStart(EnumSet<TickType> ticks,
Side side,
Object... data) |
void |
updateResourcePackList() |