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} * @param biome {@link BCLBiome}
* @return {@link BCLBiome} * @return {@link BCLBiome}
*/ */
public static void registerNetherBiome(BCLBiome biome) { public static BCLBiome registerNetherBiome(BCLBiome biome) {
registerBiome(biome); registerBiome(biome);
NETHER_BIOME_PICKER.addBiome(biome); NETHER_BIOME_PICKER.addBiome(biome);
Random random = new Random(biome.getID().hashCode()); Random random = new Random(biome.getID().hashCode());
@ -108,6 +108,7 @@ public class BiomeAPI {
); );
ResourceKey<Biome> key = BuiltinRegistries.BIOME.getResourceKey(biome.getBiome()).get(); ResourceKey<Biome> key = BuiltinRegistries.BIOME.getResourceKey(biome.getBiome()).get();
InternalBiomeData.addNetherBiome(key, parameters); 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 * 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. * client and server.
* <table> * <table>
* <caption></caption> * <caption>Description</caption>
* <tr> * <tr>
* <th>Server</th> * <th>Server</th>
* <th></th> * <th></th>