public class EventHookContainerClass
extends java.lang.Object
| 构造器和说明 |
|---|
EventHookContainerClass() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
entityAttacked(net.minecraftforge.event.entity.living.LivingAttackEvent event)
The key is the @ForgeSubscribe annotation and the cast of the Event you put in as argument.
|
void |
onSleepyTime(net.minecraftforge.event.entity.player.PlayerSleepInBedEvent event)
To make sure you understand: You can mash together any events in a single class!
|
void |
PlayerLoggedInEvent(cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent event) |
void |
ServerConnectionFromClientEvent(cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent event) |
public void entityAttacked(net.minecraftforge.event.entity.living.LivingAttackEvent event)
public void onSleepyTime(net.minecraftforge.event.entity.player.PlayerSleepInBedEvent event)
public void PlayerLoggedInEvent(cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent event)
public void ServerConnectionFromClientEvent(cpw.mods.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent event)