/**
* Called when a Block is destroyed using this ItemStack
*/
public void onBlockDestroyed(World worldIn, Block blockIn, BlockPos pos, EntityPlayer playerIn)
{
boolean flag = this.item.onBlockDestroyed(this, worldIn, blockIn, pos, playerIn);
if (flag)
{
playerIn.triggerAchievement(StatList.objectUseStats[Item.getIdFromItem(this.item)]);
}
}
ItemStack.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:DecompiledMinecraft
作者:
评论列表
文章目录