接口的使用
org.bukkit.WorldBorder
使用WorldBorder的程序包
-
org.bukkit中WorldBorder的使用
返回WorldBorder的org.bukkit中的方法修饰符和类型方法说明static @NotNull WorldBorderBukkit.createWorldBorder()创建一个虚拟世界边界.Server.createWorldBorder()Create a new virtualWorldBorder.World.getWorldBorder()获取这个世界的世界边界对象。 -
org.bukkit.entity中WorldBorder的使用
返回WorldBorder的org.bukkit.entity中的方法修饰符和类型方法说明Player.getWorldBorder()Gets theWorldBordervisible to this Player, or null if viewing the world's world border.参数类型为WorldBorder的org.bukkit.entity中的方法修饰符和类型方法说明voidPlayer.setWorldBorder(@Nullable WorldBorder border) Sets theWorldBordervisible to this Player.