public class ForgeEventFactory extends Object
Constructor and Description |
---|
ForgeEventFactory() |
Modifier and Type | Method and Description |
---|---|
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 int |
getMaxSpawnPackSize(EntityLiving entity) |
static List |
getPotentialSpawns(WorldServer world,
EnumCreatureType type,
int x,
int y,
int z,
List oldList) |
static void |
onPlayerDestroyItem(EntityPlayer player,
ItemStack stack) |
static PlayerInteractEvent |
onPlayerInteract(EntityPlayer player,
PlayerInteractEvent.Action action,
int x,
int y,
int z,
int face) |
public static boolean doPlayerHarvestCheck(EntityPlayer player, Block block, boolean success)
public static float getBreakSpeed(EntityPlayer player, Block block, int metadata, float original)
public static PlayerInteractEvent onPlayerInteract(EntityPlayer player, PlayerInteractEvent.Action action, int x, int y, int z, int face)
public static void onPlayerDestroyItem(EntityPlayer player, ItemStack stack)
public static Event.Result canEntitySpawn(EntityLiving entity, World world, float x, float y, float z)
public static boolean doSpecialSpawn(EntityLiving entity, World world, float x, float y, float z)
public static List getPotentialSpawns(WorldServer world, EnumCreatureType type, int x, int y, int z, List oldList)
public static int getMaxSpawnPackSize(EntityLiving entity)