net.minecraft.src.forge
Class ForgeHooks
java.lang.Object
net.minecraft.src.forge.ForgeHooks
public class ForgeHooks
- extends java.lang.Object
|
Method Summary |
static float |
blockStrength(net.minecraft.src.Block bl,
net.minecraft.src.EntityPlayer player,
int md)
|
static boolean |
canHarvestBlock(net.minecraft.src.Block bl,
net.minecraft.src.EntityPlayer player,
int md)
|
static boolean |
isToolEffective(net.minecraft.src.ItemStack ist,
net.minecraft.src.Block bl,
int md)
|
static void |
onDestroyCurrentItem(net.minecraft.src.EntityPlayer player,
net.minecraft.src.ItemStack orig)
|
static void |
onTakenFromCrafting(net.minecraft.src.EntityPlayer player,
net.minecraft.src.ItemStack ist,
net.minecraft.src.IInventory craftMatrix)
|
static net.minecraft.src.EnumStatus |
sleepInBedAt(net.minecraft.src.EntityPlayer player,
int i,
int j,
int k)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
majorVersion
public static final int majorVersion
- See Also:
- Constant Field Values
minorVersion
public static final int minorVersion
- See Also:
- Constant Field Values
revisionVersion
public static final int revisionVersion
- See Also:
- Constant Field Values
ForgeHooks
public ForgeHooks()
onTakenFromCrafting
public static void onTakenFromCrafting(net.minecraft.src.EntityPlayer player,
net.minecraft.src.ItemStack ist,
net.minecraft.src.IInventory craftMatrix)
onDestroyCurrentItem
public static void onDestroyCurrentItem(net.minecraft.src.EntityPlayer player,
net.minecraft.src.ItemStack orig)
sleepInBedAt
public static net.minecraft.src.EnumStatus sleepInBedAt(net.minecraft.src.EntityPlayer player,
int i,
int j,
int k)
canHarvestBlock
public static boolean canHarvestBlock(net.minecraft.src.Block bl,
net.minecraft.src.EntityPlayer player,
int md)
blockStrength
public static float blockStrength(net.minecraft.src.Block bl,
net.minecraft.src.EntityPlayer player,
int md)
isToolEffective
public static boolean isToolEffective(net.minecraft.src.ItemStack ist,
net.minecraft.src.Block bl,
int md)