YATS/Forge Documentation
|
Static Public Member Functions | |
static FMLClientHandler | instance () |
Handles primary communication from hooked code into the system
The FML entry point is beginMinecraftLoading(Minecraft) called from Minecraft
Obfuscated code should focus on this class and other members of the "server" (or "client") code
The actual mod loading is handled at arms length by Loader
It is expected that a similar class will exist for each target environment: Bukkit and Client side.
It should not be directly modified.
void cpw.mods.fml.client.FMLClientHandler.addSpecialModEntries | ( | ArrayList< ModContainer > | mods) |
mods |
void cpw.mods.fml.client.FMLClientHandler.adjustEntityLocationOnClient | ( | EntitySpawnAdjustmentPacket | packet) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading | ( | Minecraft | minecraft) |
Called to start the whole game off
minecraft | The minecraft instance being launched |
void cpw.mods.fml.client.FMLClientHandler.beginServerLoading | ( | MinecraftServer | server) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.callbackIdDifferenceResponse | ( | boolean | response) |
void cpw.mods.fml.client.FMLClientHandler.disconnectIDMismatch | ( | MapDifference< Integer, ItemData > | s, |
NetHandler | toKill, | ||
INetworkManager | mgr | ||
) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.displayGuiScreen | ( | EntityPlayer | player, |
GuiScreen | gui | ||
) |
player | |
gui |
void cpw.mods.fml.client.FMLClientHandler.displayMissingMods | ( | ModMissingPacket | modMissingPacket) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading | ( | ) |
Called a bit later on during initialization to finish loading mods Also initializes key bindings
void cpw.mods.fml.client.FMLClientHandler.finishServerLoading | ( | ) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
List<String> cpw.mods.fml.client.FMLClientHandler.getAdditionalBrandingInformation | ( | ) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
Minecraft cpw.mods.fml.client.FMLClientHandler.getClient | ( | ) |
Get the server instance
byte cpw.mods.fml.client.FMLClientHandler.getClientCompatibilityLevel | ( | ) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
Logger cpw.mods.fml.client.FMLClientHandler.getMinecraftLogger | ( | ) |
Get a handle to the client's logger instance The client actually doesn't have one- so we return null
MinecraftServer cpw.mods.fml.client.FMLClientHandler.getServer | ( | ) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
Side cpw.mods.fml.client.FMLClientHandler.getSide | ( | ) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.haltGame | ( | String | message, |
Throwable | t | ||
) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.handleTinyPacket | ( | NetHandler | handler, |
Packet131MapData | mapData | ||
) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
boolean cpw.mods.fml.client.FMLClientHandler.hasOptifine | ( | ) |
|
static |
boolean cpw.mods.fml.client.FMLClientHandler.isGUIOpen | ( | Class<?extends GuiScreen > | gui) |
Is this GUI type open?
gui | The type of GUI to test for |
boolean cpw.mods.fml.client.FMLClientHandler.isLoading | ( | ) |
If the client is in the midst of loading, we disable saving so that custom settings aren't wiped out
void cpw.mods.fml.client.FMLClientHandler.onInitializationComplete | ( | ) |
void cpw.mods.fml.client.FMLClientHandler.sendPacket | ( | Packet | packet) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.setClientCompatibilityLevel | ( | byte | compatibilityLevel) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
boolean cpw.mods.fml.client.FMLClientHandler.shouldServerShouldBeKilledQuietly | ( | ) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.showGuiScreen | ( | Object | clientGuiElement) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
Entity cpw.mods.fml.client.FMLClientHandler.spawnEntityIntoClientWorld | ( | EntityRegistration | er, |
EntitySpawnPacket | packet | ||
) |
Implements cpw.mods.fml.common.IFMLSidedHandler.
void cpw.mods.fml.client.FMLClientHandler.warnIDMismatch | ( | MapDifference< Integer, ItemData > | idDifferences, |
boolean | mayContinue | ||
) |