如何在Forge 1.12.1中发送标题

时间:2017-09-13 23:38:05

标签: java minecraft minecraft-forge

我目前向玩家发送游戏的方法是在命令区(包含标题命令)旁边放置一个红石火炬,但即使这样也行不通:

BlockPos blockPos = new BlockPos(675, 236, 457);
IBlockState iBlockState = world.getBlockState(blockPos);
Material material = iBlockState.getMaterial();

world.setBlockState(blockPos, Blocks.REDSTONE_TORCH.getDefaultState(), 1);

0 个答案:

没有答案