ItemStack.java 文件源码

java
阅读 26 收藏 0 点赞 0 评论 0

项目:DecompiledMinecraft 作者:
/**
 * 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)]);
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号