BlockTalismanCrafter.java 文件源码

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

项目:Talismans2 作者:
@Override
public boolean onBlockActivated(World world, BlockPos pos,
        IBlockState state, EntityPlayer entity, EnumFacing side,
        float x, float y, float z) 
{
    int X = (int) x;
    int Y = (int) y;
    int Z = (int) z;

    if (!world.isRemote) 
    {
        FMLNetworkHandler.openGui(entity, Talismans2.instance, 0, world, X,Y, Z);
        System.out.print("OPEN GUI MAYBE");
    }

    return true;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号