net.acomputerdog.BlazeLoader.event
Class EventHandler

java.lang.Object
  extended by net.acomputerdog.BlazeLoader.event.EventHandler

public class EventHandler
extends java.lang.Object

Distributes game events to mods


Field Summary
static java.util.List<BlockEventHandler> blockEventHandlers
           
static java.util.List<ClientEventHandler> clientEventHandlers
           
static java.util.List<GenericEventHandler> genericEventHandlers
           
static java.util.List<InventoryEventHandler> inventoryEventHandlers
           
static java.util.List<NetworkEventHandler> networkEventHandlers
           
static java.util.List<OverrideEventHandler> overrideEventHandlers
           
static java.util.List<PlayerEventHandler> playerEventHandlers
           
static java.util.List<ProfilerEventHandler> profilerEventHandlers
           
static java.util.List<TickEventHandler> tickEventHandlers
           
static java.util.List<WorldEventHandler> worldEventHandlers
           
 
Constructor Summary
EventHandler()
           
 
Method Summary
static void eventClientJoinGame(net.minecraft.network.INetHandler netHandler, net.minecraft.network.play.server.S01PacketJoinGame loginPacket)
           
static void eventClientPlayerDeath()
           
static void eventClientReceiveCustomPayload(net.minecraft.client.network.NetHandlerPlayClient handler, net.minecraft.network.play.server.S3FPacketCustomPayload packet)
           
static void eventDisplayGuiScreen(com.mumfrey.liteloader.transformers.event.EventInfo<net.minecraft.client.Minecraft> event, net.minecraft.client.gui.GuiScreen gui)
           
static void eventEnd()
           
static void eventEndSection(com.mumfrey.liteloader.transformers.event.EventInfo<net.minecraft.profiler.Profiler> event)
           
static void eventLoadWorld(com.mumfrey.liteloader.transformers.event.EventInfo<net.minecraft.client.Minecraft> event, net.minecraft.client.multiplayer.WorldClient world, java.lang.String message)
           
static void eventPlayerLogin(net.minecraft.entity.player.EntityPlayerMP player)
           
static boolean eventPlayerLoginAttempt(java.lang.String username, boolean isAllowed)
           
static void eventPlayerLogout(net.minecraft.entity.player.EntityPlayerMP player)
           
static void eventPlayerSpawn(net.minecraft.entity.player.EntityPlayerMP oldPlayer, net.minecraft.entity.player.EntityPlayerMP newPlayer, int dimension, boolean causedByDeath)
          Deprecated. 
static void eventServerReceiveCustomPayload(net.minecraft.network.NetHandlerPlayServer handler, net.minecraft.network.play.client.C17PacketCustomPayload packet)
           
static void eventStart()
           
static void eventStartSection(com.mumfrey.liteloader.transformers.event.EventInfo<net.minecraft.profiler.Profiler> event, java.lang.String name)
           
static void eventTick()
           
static void eventTickBlocksAndAmbiance(net.minecraft.world.WorldServer server)
           
static void eventTickServerWorld(net.minecraft.world.WorldServer world)
           
static void eventWorldChanged(net.minecraft.world.World world)
           
static void overrideAddEntityToTracker(net.minecraft.entity.EntityTracker tracker, net.minecraft.entity.Entity entity)
           
static net.minecraft.network.play.server.S0EPacketSpawnObject overrideCreateSpawnPacket(net.minecraft.entity.Entity myEntity)
           
static void overrideOnContainerOpen(net.minecraft.client.entity.EntityClientPlayerMP player, net.minecraft.network.play.server.S2DPacketOpenWindow packet)
           
static net.minecraft.client.particle.EntityFX overrideSpawnParticle(java.lang.String name, net.minecraft.world.World world, double x, double y, double z, double p1, double p2, double p3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockEventHandlers

public static final java.util.List<BlockEventHandler> blockEventHandlers

clientEventHandlers

public static final java.util.List<ClientEventHandler> clientEventHandlers

genericEventHandlers

public static final java.util.List<GenericEventHandler> genericEventHandlers

inventoryEventHandlers

public static final java.util.List<InventoryEventHandler> inventoryEventHandlers

overrideEventHandlers

public static final java.util.List<OverrideEventHandler> overrideEventHandlers

playerEventHandlers

public static final java.util.List<PlayerEventHandler> playerEventHandlers

profilerEventHandlers

public static final java.util.List<ProfilerEventHandler> profilerEventHandlers

tickEventHandlers

public static final java.util.List<TickEventHandler> tickEventHandlers

worldEventHandlers

public static final java.util.List<WorldEventHandler> worldEventHandlers

networkEventHandlers

public static final java.util.List<NetworkEventHandler> networkEventHandlers
Constructor Detail

EventHandler

public EventHandler()
Method Detail

eventTick

public static void eventTick()

eventDisplayGuiScreen

public static void eventDisplayGuiScreen(com.mumfrey.liteloader.transformers.event.EventInfo<net.minecraft.client.Minecraft> event,
                                         net.minecraft.client.gui.GuiScreen gui)

overrideOnContainerOpen

public static void overrideOnContainerOpen(net.minecraft.client.entity.EntityClientPlayerMP player,
                                           net.minecraft.network.play.server.S2DPacketOpenWindow packet)

eventStartSection

public static void eventStartSection(com.mumfrey.liteloader.transformers.event.EventInfo<net.minecraft.profiler.Profiler> event,
                                     java.lang.String name)

eventEndSection

public static void eventEndSection(com.mumfrey.liteloader.transformers.event.EventInfo<net.minecraft.profiler.Profiler> event)

eventLoadWorld

public static void eventLoadWorld(com.mumfrey.liteloader.transformers.event.EventInfo<net.minecraft.client.Minecraft> event,
                                  net.minecraft.client.multiplayer.WorldClient world,
                                  java.lang.String message)

eventClientJoinGame

public static void eventClientJoinGame(net.minecraft.network.INetHandler netHandler,
                                       net.minecraft.network.play.server.S01PacketJoinGame loginPacket)

eventPlayerLogin

public static void eventPlayerLogin(net.minecraft.entity.player.EntityPlayerMP player)

eventPlayerLogout

public static void eventPlayerLogout(net.minecraft.entity.player.EntityPlayerMP player)

eventPlayerSpawn

@Deprecated
public static void eventPlayerSpawn(net.minecraft.entity.player.EntityPlayerMP oldPlayer,
                                               net.minecraft.entity.player.EntityPlayerMP newPlayer,
                                               int dimension,
                                               boolean causedByDeath)
Deprecated. 


eventClientPlayerDeath

public static void eventClientPlayerDeath()

eventTickServerWorld

public static void eventTickServerWorld(net.minecraft.world.WorldServer world)

overrideCreateSpawnPacket

public static net.minecraft.network.play.server.S0EPacketSpawnObject overrideCreateSpawnPacket(net.minecraft.entity.Entity myEntity)

eventTickBlocksAndAmbiance

public static void eventTickBlocksAndAmbiance(net.minecraft.world.WorldServer server)

eventPlayerLoginAttempt

public static boolean eventPlayerLoginAttempt(java.lang.String username,
                                              boolean isAllowed)

overrideAddEntityToTracker

public static void overrideAddEntityToTracker(net.minecraft.entity.EntityTracker tracker,
                                              net.minecraft.entity.Entity entity)

overrideSpawnParticle

public static net.minecraft.client.particle.EntityFX overrideSpawnParticle(java.lang.String name,
                                                                           net.minecraft.world.World world,
                                                                           double x,
                                                                           double y,
                                                                           double z,
                                                                           double p1,
                                                                           double p2,
                                                                           double p3)

eventClientReceiveCustomPayload

public static void eventClientReceiveCustomPayload(net.minecraft.client.network.NetHandlerPlayClient handler,
                                                   net.minecraft.network.play.server.S3FPacketCustomPayload packet)

eventServerReceiveCustomPayload

public static void eventServerReceiveCustomPayload(net.minecraft.network.NetHandlerPlayServer handler,
                                                   net.minecraft.network.play.client.C17PacketCustomPayload packet)

eventStart

public static void eventStart()

eventEnd

public static void eventEnd()

eventWorldChanged

public static void eventWorldChanged(net.minecraft.world.World world)