net.minecraft.src.forge
Interface IUseItemFirst
public interface IUseItemFirst
This interface is to be implemented by item classes. It will allow an item
to perform a use before the block is activated.
- See Also:
Item
Method Summary |
boolean |
onItemUseFirst(net.minecraft.src.ItemStack ist,
net.minecraft.src.EntityPlayer player,
net.minecraft.src.World world,
int i,
int j,
int k,
int l)
This is called when the item is used, before the block is activated. |
onItemUseFirst
boolean onItemUseFirst(net.minecraft.src.ItemStack ist,
net.minecraft.src.EntityPlayer player,
net.minecraft.src.World world,
int i,
int j,
int k,
int l)
- This is called when the item is used, before the block is activated.
Stop the computation when return true.