net.minecraftforge.event
Class ForgeEventFactory
java.lang.Object
net.minecraftforge.event.ForgeEventFactory
public class ForgeEventFactory
- extends Object
Method Summary |
static Event.Result |
canEntitySpawn(EntityLiving entity,
World world,
float x,
float y,
float z)
|
static boolean |
doPlayerHarvestCheck(EntityPlayer player,
Block block,
boolean success)
|
static boolean |
doSpecialSpawn(EntityLiving entity,
World world,
float x,
float y,
float z)
|
static float |
getBreakSpeed(EntityPlayer player,
Block block,
int metadata,
float original)
|
static void |
onPlayerDestroyItem(EntityPlayer player,
ItemStack stack)
|
static PlayerInteractEvent |
onPlayerInteract(EntityPlayer player,
PlayerInteractEvent.Action action,
int x,
int y,
int z,
int face)
|
ForgeEventFactory
public ForgeEventFactory()
doPlayerHarvestCheck
public static boolean doPlayerHarvestCheck(EntityPlayer player,
Block block,
boolean success)
getBreakSpeed
public static float getBreakSpeed(EntityPlayer player,
Block block,
int metadata,
float original)
onPlayerInteract
public static PlayerInteractEvent onPlayerInteract(EntityPlayer player,
PlayerInteractEvent.Action action,
int x,
int y,
int z,
int face)
onPlayerDestroyItem
public static void onPlayerDestroyItem(EntityPlayer player,
ItemStack stack)
canEntitySpawn
public static Event.Result canEntitySpawn(EntityLiving entity,
World world,
float x,
float y,
float z)
doSpecialSpawn
public static boolean doSpecialSpawn(EntityLiving entity,
World world,
float x,
float y,
float z)