Small javadoc fixes

This commit is contained in:
paulevsGitch 2021-08-14 16:48:55 +03:00
parent f28c3e0594
commit 410ff87c88
2 changed files with 3 additions and 2 deletions

View file

@ -95,7 +95,7 @@ public class BiomeAPI {
* @param biome {@link BCLBiome}
* @return {@link BCLBiome}
*/
public static void registerNetherBiome(BCLBiome biome) {
public static BCLBiome registerNetherBiome(BCLBiome biome) {
registerBiome(biome);
NETHER_BIOME_PICKER.addBiome(biome);
Random random = new Random(biome.getID().hashCode());
@ -108,6 +108,7 @@ public class BiomeAPI {
);
ResourceKey<Biome> key = BuiltinRegistries.BIOME.getResourceKey(biome.getBiome()).get();
InternalBiomeData.addNetherBiome(key, parameters);
return biome;
}
/**

View file

@ -18,7 +18,7 @@ import java.io.File;
* This message is sent once a player enters the world. It initiates a sequence of Messages that will sync files between both
* client and server.
* <table>
* <caption></caption>
* <caption>Description</caption>
* <tr>
* <th>Server</th>
* <th></th>