public void getBiomeName(CommandSource source, CommandArguments args) throws CommandException {
args.assertCompletelyParsed();
Player player = (Player) source;
if (!(player.getPhysics().getPosition().getWorld().getGenerator() instanceof BiomeGenerator)) {
throw new CommandException("This map does not appear to have any biome data.");
}
Point pos = player.getPhysics().getPosition();
Biome biome = pos.getWorld().getBiome(pos.getBlockX(), pos.getBlockY(), pos.getBlockZ());
source.sendMessage(plugin.getPrefix() + ChatStyle.GREEN + "Current biome: " + ChatStyle.WHITE + (biome != null ? biome.getName() : "none"));
}