当前位置: 首页>>代码示例>>Java>>正文


Java FMLServerStoppedEvent类代码示例

本文整理汇总了Java中cpw.mods.fml.common.event.FMLServerStoppedEvent的典型用法代码示例。如果您正苦于以下问题:Java FMLServerStoppedEvent类的具体用法?Java FMLServerStoppedEvent怎么用?Java FMLServerStoppedEvent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


FMLServerStoppedEvent类属于cpw.mods.fml.common.event包,在下文中一共展示了FMLServerStoppedEvent类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: OnServerStopped

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
/**
 * This event will be fired after the server stopped
 * Only the ServerSide will receive this event.
 * 
 * @param event
 */
public void OnServerStopped(FMLServerStoppedEvent event)
{
	/*!gen.mod.hook.OnServerStopped*/
	/**/
	
	//TODO:Add your own code here
}
 
开发者ID:manageryzy,项目名称:Minecraft-Forge-Class-Template,代码行数:14,代码来源:ExampleMod.java

示例2: shutdown

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
/**
 * Called when the server is stopped.
 *
 * @param event - the event information
 */
@EventHandler
public void shutdown(FMLServerStoppedEvent event)
{
	LogHelper.info("Stopping MCManager...");

	if(webServerEnabled)
		webServer.stopServer();
	consoleMonitor.stopLogging();

	LogHelper.info("MCManager stopped.");
}
 
开发者ID:cadyyan,项目名称:MCManager,代码行数:17,代码来源:MCManager.java

示例3: unregisterDims

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@EventHandler
public void unregisterDims(FMLServerStoppedEvent var1)
{
    WorldUtil.unregisterPlanets();
    WorldUtil.unregisterSpaceStations();
}
 
开发者ID:4Space,项目名称:4Space-5,代码行数:7,代码来源:GalacticraftCore.java

示例4: unregisterDims

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@EventHandler
  public void unregisterDims(FMLServerStoppedEvent event) {
SpaceLog.severe("Unregister-Dims");
  }
 
开发者ID:4Space,项目名称:4Space-5,代码行数:5,代码来源:SpaceCore.java

示例5: onServerStop

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@EventHandler
public void onServerStop(FMLServerStoppedEvent event)
{
	round.save();
}
 
开发者ID:rodolphito,项目名称:Rival-Rebels-Mod,代码行数:6,代码来源:RivalRebels.java

示例6: serverStop

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@EventHandler
public void serverStop(FMLServerStoppedEvent event) {
	// Shutdown our throttled packet dispatcher
	ServerPacketDispatcher.getInstance().halt();
	ServerPacketDispatcher.shutdown();
}
 
开发者ID:XCompWiz,项目名称:LookingGlass,代码行数:7,代码来源:LookingGlass.java

示例7: serverStopped

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
public void serverStopped(FMLServerStoppedEvent event) {
  generating.clear();
}
 
开发者ID:SleepyTrousers,项目名称:Structures,代码行数:4,代码来源:WorldGenerator.java

示例8: serverStopped

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@EventHandler
public void serverStopped(FMLServerStoppedEvent event) {
  structureGenerator.serverStopped(event);
  structureRegister.serverStopped(event);
}
 
开发者ID:SleepyTrousers,项目名称:Structures,代码行数:6,代码来源:EnderStructures.java

示例9: serverStopped

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
public void serverStopped(FMLServerStoppedEvent event) {
  worldManagers.clear();
  loadedStructures.clear();
}
 
开发者ID:SleepyTrousers,项目名称:Structures,代码行数:5,代码来源:StructureRegister.java

示例10: atServerStopped

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@EventHandler
public void atServerStopped(FMLServerStoppedEvent e)
{

}
 
开发者ID:c-rizz,项目名称:ChunkyPeripherals,代码行数:6,代码来源:ChunkyPeripherals.java

示例11: serverStopped

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@Mod.EventHandler
public void serverStopped(final FMLServerStoppedEvent event) {
}
 
开发者ID:twothe,项目名称:DaVincing,代码行数:4,代码来源:DaVincing.java

示例12: serverStop

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@EventHandler
public void serverStop(FMLServerStoppedEvent event) {

    ThreadBlockChecking.instance().onLeaveWorld();
}
 
开发者ID:amadornes,项目名称:Framez,代码行数:6,代码来源:Framez.java

示例13: onServerStopped

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@Mod.EventHandler
public  void onServerStopped(FMLServerStoppedEvent event)
{
    ChunkLoadHandler.tickets.clear();
}
 
开发者ID:iChun,项目名称:ItFellFromTheSky,代码行数:6,代码来源:ItFellFromTheSky.java

示例14: serverStopped

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@Mod.EventHandler
public void serverStopped(FMLServerStoppedEvent event) {
    if(FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER) {
        TeleportRegistry.clear();
    }
}
 
开发者ID:kieba,项目名称:Framely,代码行数:7,代码来源:Framely.java

示例15: serverStopping

import cpw.mods.fml.common.event.FMLServerStoppedEvent; //导入依赖的package包/类
@EventHandler
public void serverStopping(FMLServerStoppedEvent event) {
	if (worldConfig == null) return;
	config.remove(worldConfig);
	worldConfig = null;
}
 
开发者ID:copygirl,项目名称:AdvHealthOptions,代码行数:7,代码来源:AdvHealthOptions.java


注:本文中的cpw.mods.fml.common.event.FMLServerStoppedEvent类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。