當前位置: 首頁>>代碼示例>>Java>>正文


Java FMLInterModComms.sendFunctionMessage方法代碼示例

本文整理匯總了Java中net.minecraftforge.fml.common.event.FMLInterModComms.sendFunctionMessage方法的典型用法代碼示例。如果您正苦於以下問題:Java FMLInterModComms.sendFunctionMessage方法的具體用法?Java FMLInterModComms.sendFunctionMessage怎麽用?Java FMLInterModComms.sendFunctionMessage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在net.minecraftforge.fml.common.event.FMLInterModComms的用法示例。


在下文中一共展示了FMLInterModComms.sendFunctionMessage方法的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: init

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void init() {
	if (registered) {
		return;
	}
	ModLogger.info(Mods.TOP.getName() + " Integation: Enabled");
	registered = true;
	FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "p455w0rd.danknull.integration.TOP$GetTheOneProbe");
}
 
開發者ID:p455w0rd,項目名稱:DankNull,代碼行數:9,代碼來源:TOP.java

示例2: register

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void register()
{
	if (registered)
	{
		return;
	}

	registered = true;

	FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "net.darkmorford.simplechunks.compat.TOPCompat$GetTOP");
}
 
開發者ID:DarkMorford,項目名稱:Simple-Chunks,代碼行數:12,代碼來源:TOPCompat.java

示例3: init

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void init() {
	if (registered) {
		return;
	}
	registered = true;
	FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "p455w0rd.endermanevo.integration.TOP$GetTheOneProbe");
}
 
開發者ID:p455w0rd,項目名稱:EndermanEvolution,代碼行數:8,代碼來源:TOP.java

示例4: register

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void register() {
	if(registered) {
		return;
	}

	registered = true;
	FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "com.lordmau5.ffs.compat.top.TOPCompatibility$GetTheOneProbe");
}
 
開發者ID:Lordmau5,項目名稱:FFS,代碼行數:9,代碼來源:TOPCompatibility.java

示例5: preInit

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public void preInit(FMLPreInitializationEvent event) {

		Config.init();

		Materials.init();
		Fluids.init();
		ItemGroups.init();
		Blocks.init();
		Items.init();
		VillagerTrades.init();

		FMLInterModComms.sendFunctionMessage("orespawn", "api", "com.mcmoddev.orespawn.BaseGemsOreSpawn");

		IntegrationManager.INSTANCE.preInit(event);
	}
 
開發者ID:MinecraftModDevelopmentMods,項目名稱:BaseGems,代碼行數:16,代碼來源:CommonProxy.java

示例6: preInit

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
@Override
public void preInit() {
    FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "me.desht.pneumaticcraft.common.thirdparty.theoneprobe.TOPCallback");
}
 
開發者ID:TeamPneumatic,項目名稱:pnc-repressurized,代碼行數:5,代碼來源:TheOneProbe.java

示例7: register

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void register() {
    if (registered)
        return;
    registered = true;
    FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "maxwell_lt.mobblocker.integration.TOPCompatibility$GetTheOneProbe");
}
 
開發者ID:Maxwell-lt,項目名稱:MobBlocker,代碼行數:7,代碼來源:TOPCompatibility.java

示例8: doInit

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
@Override
protected void doInit(InitPhase phase, ContentHelper helper)
{
    FMLInterModComms.sendFunctionMessage(modId, key, value);
}
 
開發者ID:cubex2,項目名稱:customstuff4,代碼行數:6,代碼來源:IMCFunction.java

示例9: register

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void register() {
	if (registered)
		return;
	registered = true;
	FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "killbait.PrimordialCrops.Compat.TheOneProbe.TOPCompatibility$GetTheOneProbe");
}
 
開發者ID:KillBait,項目名稱:PrimordialCrops,代碼行數:7,代碼來源:TOPCompatibility.java

示例10: init

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void init() {
    if (registered)
        return;
    registered = true;
    FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "exnihiloadscensio.compatibility.theoneprobe.CompatTOP$GetTheOneProbe");
}
 
開發者ID:MikeLydeamore,項目名稱:ExNihiloAdscensio,代碼行數:7,代碼來源:CompatTOP.java

示例11: register

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void register() {
    if (registered)
        return;
    registered = true;
    FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "mcjty.aquamunda.compat.top.TOPCompatibility$GetTheOneProbe");
}
 
開發者ID:McJty,項目名稱:AquaMunda,代碼行數:7,代碼來源:TOPCompatibility.java

示例12: create

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
public static void create() {
  if (Loader.isModLoaded("theoneprobe")) {
    FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "crazypants.enderio.base.integration.top.TOPCompatibility");
  }
}
 
開發者ID:SleepyTrousers,項目名稱:EnderIO,代碼行數:6,代碼來源:TOPUtil.java

示例13: init

import net.minecraftforge.fml.common.event.FMLInterModComms; //導入方法依賴的package包/類
@Mod.EventHandler
public void init(FMLInitializationEvent event)
{
    proxy.init();

    RiftStructure.init();

    NetworkRegistry.INSTANCE.registerGuiHandler(this, guiHandler);

    //FMLInterModComms.sendMessage("waila", "register", "gigaherz.enderRift.plugins.WailaProviders.callbackRegister");

    FMLInterModComms.sendFunctionMessage("theoneprobe", "getTheOneProbe", "gigaherz.enderRift.plugins.TheOneProbeProviders");
}
 
開發者ID:gigaherz,項目名稱:Ender-Rift,代碼行數:14,代碼來源:EnderRiftMod.java


注:本文中的net.minecraftforge.fml.common.event.FMLInterModComms.sendFunctionMessage方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。