User Tools

Site Tools


tutorial:biome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:biome [2019/07/03 22:01]
valoeghese fix inline thing
tutorial:biome [2019/07/14 21:47] (current)
valoeghese fix incorrect code :tiny_potato:
Line 117: Line 117:
 To make the player able to spawn in the biome, we will use another method from the fabric-biomes api module: To make the player able to spawn in the biome, we will use another method from the fabric-biomes api module:
  
-<code java [enable_line_numbers="​true"]>+<code java [enable_line_numbers="​false"]>
 FabricBiomes.addSpawnBiome(TutorialBiomes.MY_BIOME);​ FabricBiomes.addSpawnBiome(TutorialBiomes.MY_BIOME);​
 </​code>​ </​code>​
Line 132: Line 132:
  
 <code java [enable_line_numbers="​false"​]>​ <code java [enable_line_numbers="​false"​]>​
-OverworldBiomes.setRiverBiome(OverworldClimate.TEMPERATE, ​TutorialBiomes.MY_BIOME);​+OverworldBiomes.setRiverBiome(TutorialBiomes.MY_BIOME, null);
 </​code>​ </​code>​
  
tutorial/biome.1562191261.txt.gz ยท Last modified: 2019/07/03 22:01 by valoeghese