右键方块时
判断条件: 右键方块时 检测时间: 释放右键后
函数效果:当右键方块时可使用 itemstack || player || position || world 类方法
player.sendMessage(itemstack.getItemName()) //获取该物品的ID player.openEnderChest() //打开你的末影箱 player.sendMessage(position.x) //返回你的X轴 world.spawnMob(position,"Cow") //生成一头牛
最后更新于4年前
这有帮助吗?