Add EOF newlines where missing (bulk) (#1836)

This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
This commit is contained in:
Dylan K. Taylor
2017-12-20 11:56:36 +00:00
committed by GitHub
parent 0ee78d2416
commit 4f8e4f0522
600 changed files with 600 additions and 600 deletions

View File

@ -169,4 +169,4 @@ class PopulationTask extends AsyncTask{
$level->generateChunkCallback($chunk->getX(), $chunk->getZ(), $chunk);
}
}
}
}

View File

@ -192,4 +192,4 @@ abstract class Biome{
public function getRainfall() : float{
return $this->rainfall;
}
}
}

View File

@ -87,4 +87,4 @@ class BiomeSelector{
$biomeId = $this->map[$temperature + ($rainfall << 6)];
return $this->biomes[$biomeId] ?? $this->fallback;
}
}
}

View File

@ -148,4 +148,4 @@ abstract class Noise{
$this->offsetY = $y;
$this->offsetZ = $z;
}
}
}

View File

@ -147,4 +147,4 @@ class Perlin extends Noise{
public function getNoise2D($x, $y){
return $this->getNoise3D($x, $y, 0);
}
}
}

View File

@ -439,4 +439,4 @@ class Simplex extends Perlin{
// Sum up and scale the result to cover the range [-1,1]
return 27.0 * (n0 + n1 + n2 + n3 + n4);
}*/
}
}

View File

@ -266,4 +266,4 @@ class Normal extends Generator{
return new Vector3(127.5, 128, 127.5);
}
}
}

View File

@ -37,4 +37,4 @@ class DesertBiome extends SandyBiome{
public function getName() : string{
return "Desert";
}
}
}

View File

@ -62,4 +62,4 @@ class ForestBiome extends GrassyBiome{
public function getName() : string{
return $this->type === self::TYPE_BIRCH ? "Birch Forest" : "Forest";
}
}
}

View File

@ -37,4 +37,4 @@ abstract class GrassyBiome extends NormalBiome{
BlockFactory::get(Block::DIRT, 0),
]);
}
}
}

View File

@ -44,4 +44,4 @@ class IcePlainsBiome extends SnowyBiome{
public function getName() : string{
return "Ice Plains";
}
}
}

View File

@ -51,4 +51,4 @@ class MountainsBiome extends GrassyBiome{
public function getName() : string{
return "Mountains";
}
}
}

View File

@ -44,4 +44,4 @@ class OceanBiome extends GrassyBiome{
public function getName() : string{
return "Ocean";
}
}
}

View File

@ -44,4 +44,4 @@ class PlainBiome extends GrassyBiome{
public function getName() : string{
return "Plains";
}
}
}

View File

@ -44,4 +44,4 @@ class RiverBiome extends GrassyBiome{
public function getName() : string{
return "River";
}
}
}

View File

@ -37,4 +37,4 @@ abstract class SandyBiome extends NormalBiome{
BlockFactory::get(Block::SANDSTONE, 0)
]);
}
}
}

View File

@ -35,4 +35,4 @@ class SmallMountainsBiome extends MountainsBiome{
public function getName() : string{
return "Small Mountains";
}
}
}

View File

@ -37,4 +37,4 @@ abstract class SnowyBiome extends NormalBiome{
BlockFactory::get(Block::DIRT, 0)
]);
}
}
}

View File

@ -37,4 +37,4 @@ class SwampBiome extends GrassyBiome{
public function getName() : string{
return "Swamp";
}
}
}

View File

@ -50,4 +50,4 @@ class TaigaBiome extends SnowyBiome{
public function getName() : string{
return "Taiga";
}
}
}

View File

@ -84,4 +84,4 @@ class BigTree extends Tree{
}
}
}

View File

@ -46,4 +46,4 @@ class BirchTree extends Tree{
}
parent::placeObject($level, $x, $y, $z, $random);
}
}
}

View File

@ -34,4 +34,4 @@ class JungleTree extends Tree{
$this->type = Wood::JUNGLE;
$this->treeHeight = 8;
}
}
}

View File

@ -40,4 +40,4 @@ class OakTree extends Tree{
$this->treeHeight = $random->nextBoundedInt(3) + 4;
parent::placeObject($level, $x, $y, $z, $random);
}
}
}

View File

@ -98,4 +98,4 @@ class Ore{
}
}
}
}

View File

@ -44,4 +44,4 @@ class OreType{
$this->maxHeight = $maxHeight;
$this->minHeight = $minHeight;
}
}
}

View File

@ -45,4 +45,4 @@ class Pond{
}
}
}

View File

@ -29,4 +29,4 @@ namespace pocketmine\level\generator\object;
abstract class PopulatorObject{
}
}

View File

@ -81,4 +81,4 @@ class SpruceTree extends Tree{
}
}
}

View File

@ -50,4 +50,4 @@ class TallGrass{
}
}
}
}
}

View File

@ -129,4 +129,4 @@ abstract class Tree{
}
}
}
}
}

View File

@ -65,4 +65,4 @@ class GroundCover extends Populator{
}
}
}
}
}

View File

@ -39,4 +39,4 @@ class Mineshaft extends Populator{
}
}
}
}

View File

@ -52,4 +52,4 @@ class Ore extends Populator{
public function setOreTypes(array $types){
$this->oreTypes = $types;
}
}
}

View File

@ -57,4 +57,4 @@ class Pond extends Populator{
public function setLavaSurfaceOdd(int $lavaSurfaceOdd){
$this->lavaSurfaceOdd = $lavaSurfaceOdd;
}
}
}

View File

@ -40,4 +40,4 @@ abstract class Populator{
* @return mixed
*/
abstract public function populate(ChunkManager $level, int $chunkX, int $chunkZ, Random $random);
}
}

View File

@ -71,4 +71,4 @@ class TallGrass extends Populator{
return $y === 0 ? -1 : ++$y;
}
}
}

View File

@ -75,4 +75,4 @@ class Tree extends Populator{
return ++$y;
}
}
}