net.acomputerdog.BlazeLoader.event
Interface WorldEventHandler

All Superinterfaces:
BLMod, com.mumfrey.liteloader.modconfig.Exposable, com.mumfrey.liteloader.api.Listener, com.mumfrey.liteloader.LiteMod

public interface WorldEventHandler
extends BLMod

Interface for mods that handle world events


Method Summary
 void eventLoadWorld(net.minecraft.client.Minecraft minecraft, net.minecraft.client.multiplayer.WorldClient world, java.lang.String message)
          Called when a world is loaded.
 void eventTickBlocksAndAmbiance(net.minecraft.world.WorldServer server)
          Called when WorldServer.tickBlocksAndAmbiance is called.
 void eventTickServerWorld(net.minecraft.world.WorldServer world)
          Called when a server-side world is ticked.
 void eventUnloadWorld(net.minecraft.client.Minecraft minecraft, net.minecraft.client.multiplayer.WorldClient world, java.lang.String message)
          Called when a world is unloaded.
 void eventWorldChanged(net.minecraft.world.World world)
          Called when a world if changed.
 
Methods inherited from interface net.acomputerdog.BlazeLoader.mod.BLMod
getModDescription, getModId, getName, getNewerVersion, getVersion, isCompatibleWithEnvironment
 
Methods inherited from interface com.mumfrey.liteloader.LiteMod
init, upgradeSettings
 

Method Detail

eventLoadWorld

void eventLoadWorld(net.minecraft.client.Minecraft minecraft,
                    net.minecraft.client.multiplayer.WorldClient world,
                    java.lang.String message)
Called when a world is loaded.

Parameters:
world - The world being loaded.
message - The message displayed to the user on the loading screen.

eventUnloadWorld

void eventUnloadWorld(net.minecraft.client.Minecraft minecraft,
                      net.minecraft.client.multiplayer.WorldClient world,
                      java.lang.String message)
Called when a world is unloaded.

Parameters:
world - The world being unloaded.
message - The message displayed to the user on the loading screen.

eventTickBlocksAndAmbiance

void eventTickBlocksAndAmbiance(net.minecraft.world.WorldServer server)
Called when WorldServer.tickBlocksAndAmbiance is called.

Parameters:
server - The server calling tickBlocksAndAmbiance

eventTickServerWorld

void eventTickServerWorld(net.minecraft.world.WorldServer world)
Called when a server-side world is ticked.

Parameters:
world - The world being ticked.

eventWorldChanged

void eventWorldChanged(net.minecraft.world.World world)
Called when a world if changed. (place/remove block)

Parameters:
world - The world being changed.