public class ModLoaderClientHelper extends Object implements IModLoaderSidedHelper
Constructor and Description |
---|
ModLoaderClientHelper(Minecraft client) |
Modifier and Type | Method and Description |
---|---|
boolean |
clientConnectionClosed(INetworkManager manager,
BaseModProxy mod) |
void |
clientConnectionOpened(NetHandler netClientHandler,
INetworkManager manager,
BaseModProxy mod) |
void |
finishModLoading(ModLoaderModContainer mc) |
Object |
getClientGui(BaseModProxy mod,
EntityPlayer player,
int ID,
int x,
int y,
int z) |
static void |
handleFinishLoadingFor(ModLoaderModContainer mc,
Minecraft game) |
static int |
obtainBlockModelIdFor(BaseMod mod,
boolean inventoryRenderer) |
static void |
registerKeyBinding(BaseModProxy mod,
KeyBinding keyHandler,
boolean allowRepeat) |
void |
sendClientPacket(BaseModProxy mod,
Packet250CustomPayload packet) |
Entity |
spawnEntity(BaseModProxy mod,
EntitySpawnPacket input,
EntityRegistry.EntityRegistration er) |
public ModLoaderClientHelper(Minecraft client)
public static int obtainBlockModelIdFor(BaseMod mod, boolean inventoryRenderer)
public static void handleFinishLoadingFor(ModLoaderModContainer mc, Minecraft game)
public void finishModLoading(ModLoaderModContainer mc)
finishModLoading
in interface IModLoaderSidedHelper
public static void registerKeyBinding(BaseModProxy mod, KeyBinding keyHandler, boolean allowRepeat)
public Object getClientGui(BaseModProxy mod, EntityPlayer player, int ID, int x, int y, int z)
getClientGui
in interface IModLoaderSidedHelper
public Entity spawnEntity(BaseModProxy mod, EntitySpawnPacket input, EntityRegistry.EntityRegistration er)
spawnEntity
in interface IModLoaderSidedHelper
public void sendClientPacket(BaseModProxy mod, Packet250CustomPayload packet)
sendClientPacket
in interface IModLoaderSidedHelper
public void clientConnectionOpened(NetHandler netClientHandler, INetworkManager manager, BaseModProxy mod)
clientConnectionOpened
in interface IModLoaderSidedHelper
public boolean clientConnectionClosed(INetworkManager manager, BaseModProxy mod)
clientConnectionClosed
in interface IModLoaderSidedHelper