@@ -0,0 +1,1496 @@
+package info.u_team.u_team_core.intern.command.uteamcore;%0A%0Aimport java.util.*;%0A%0Aimport com.mojang.brigadier.builder.ArgumentBuilder;%0A%0Aimport net.minecraft.command.*;%0Aimport net.minecraft.command.arguments.ResourceLocationArgument;%0Aimport net.minecraft.util.ResourceLocation;%0Aimport net.minecraft.util.math.BlockPos;%0Aimport net.minecraft.world.biome.provider.BiomeProvider;%0Aimport net.minecraft.world.server.ServerWorld;%0Aimport net.minecraftforge.registries.ForgeRegistries;%0A%0Apublic class LocateBiomeSubCommand %7B%0A%09%0A%09public static ArgumentBuilder%3CCommandSource, ?%3E register() %7B%0A%09%09return Commands.literal(%22locatebiome%22) //%0A%09%09%09%09.requires(source -%3E source.hasPermissionLevel(2)) //%0A%09%09%09%09.then(Commands.argument(%22biome%22, ResourceLocationArgument.resourceLocation()) //%0A%09%09%09%09%09%09.suggests((context, builder) -%3E ISuggestionProvider.suggest(ForgeRegistries.BIOMES.getKeys().stream().map(ResourceLocation::toString), builder)) //%0A%09%09%09%09%09%09.executes(context -%3E locateBiome(context.getSource(), context.getArgument(%22biome%22, ResourceLocation.class))));%0A%09%7D%0A%09%0A%09private static int locateBiome(CommandSource source, ResourceLocation biome) %7B%0A%09%09final ServerWorld world = source.getWorld();%0A%09%09final BiomeProvider biomeProvider = world.getChunkProvider().getChunkGenerator().getBiomeProvider();%0A%09%09final Random random = new Random(world.getSeed());%0A%0A%09%09final BlockPos pos = biomeProvider.func_225531_a_(0, world.getSeaLevel(), 0, 256, Arrays.asList(ForgeRegistries.BIOMES.getValue(biome)), random);%0A%0A%09%09%0A%09%09%0A%09%09return 0;%0A%09%7D%0A%09%0A%7D%0A

Add basic location biome command