From 920fd82b6ea4513b5c9a1509c85ec851f1547274 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Sun, 14 May 2017 20:13:15 +0200 Subject: [PATCH] Changing file headers --- plugin.yml | 5 ++++- processingLoots.json | 1 - src/Ad5001/BetterGen/Main.php | 5 ++++- src/Ad5001/BetterGen/biome/BetterDesert.php | 5 ++++- src/Ad5001/BetterGen/biome/BetterForest.php | 5 ++++- src/Ad5001/BetterGen/biome/BetterIcePlains.php | 5 ++++- src/Ad5001/BetterGen/biome/BetterMesa.php | 5 ++++- src/Ad5001/BetterGen/biome/BetterMesaPlains.php | 5 ++++- src/Ad5001/BetterGen/biome/BetterRiver.php | 5 ++++- src/Ad5001/BetterGen/biome/Mountainable.php | 5 ++++- .../BetterGen/generator/BetterBiomeSelector.php | 7 +++++-- src/Ad5001/BetterGen/generator/BetterNormal.php | 7 +++++-- src/Ad5001/BetterGen/loot/LootTable.php | 5 ++++- src/Ad5001/BetterGen/populator/AmountPopulator.php | 3 ++- src/Ad5001/BetterGen/populator/BushPopulator.php | 5 ++++- src/Ad5001/BetterGen/populator/CactusPopulator.php | 5 ++++- src/Ad5001/BetterGen/populator/CavePopulator.php | 5 ++++- src/Ad5001/BetterGen/populator/DeadbushPopulator.php | 5 ++++- .../BetterGen/populator/FallenTreePopulator.php | 5 ++++- .../BetterGen/populator/FloatingIslandPopulator.php | 5 ++++- src/Ad5001/BetterGen/populator/IglooPopulator.php | 3 ++- src/Ad5001/BetterGen/populator/LakePopulator.php | 5 ++++- .../BetterGen/populator/MineshaftPopulator.php | 7 +++++-- src/Ad5001/BetterGen/populator/RavinePopulator.php | 5 ++++- .../BetterGen/populator/SugarCanePopulator.php | 12 ++++++++---- src/Ad5001/BetterGen/populator/TemplePopulator.php | 5 ++++- src/Ad5001/BetterGen/populator/TreePopulator.php | 5 ++++- src/Ad5001/BetterGen/populator/WellPopulator.php | 5 ++++- src/Ad5001/BetterGen/structure/Bush.php | 5 ++++- src/Ad5001/BetterGen/structure/Cactus.php | 5 ++++- src/Ad5001/BetterGen/structure/FallenTree.php | 5 ++++- src/Ad5001/BetterGen/structure/Igloo.php | 5 ++++- src/Ad5001/BetterGen/structure/SakuraTree.php | 5 ++++- src/Ad5001/BetterGen/structure/SugarCane.php | 5 ++++- src/Ad5001/BetterGen/structure/Temple.php | 5 ++++- src/Ad5001/BetterGen/structure/Well.php | 5 ++++- src/Ad5001/BetterGen/utils/BuildingUtils.php | 5 ++++- src/Ad5001/BetterGen/utils/CommonUtils.php | 5 ++++- 38 files changed, 151 insertions(+), 44 deletions(-) delete mode 100644 processingLoots.json diff --git a/plugin.yml b/plugin.yml index 03e96c0..66e6294 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,4 +1,5 @@ --- + # ____ __ __ ____ # /\ _`\ /\ \__ /\ \__ /\ _`\ # \ \ \L\ \ __ \ \ ,_\\ \ ,_\ __ _ __ \ \ \L\_\ __ ___ @@ -7,8 +8,10 @@ # \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ # \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ # Tomorrow's pocketmine generator. -# @author Ad5001 +# @category World Generator +# @api 3.0.0 # @link https://github.com/Ad5001/BetterGen +# @version 1.1 name: BetterGen author: Ad5001 main: Ad5001\BetterGen\Main diff --git a/processingLoots.json b/processingLoots.json deleted file mode 100644 index 0637a08..0000000 --- a/processingLoots.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/src/Ad5001/BetterGen/Main.php b/src/Ad5001/BetterGen/Main.php index 4c0ded0..701b98e 100644 --- a/src/Ad5001/BetterGen/Main.php +++ b/src/Ad5001/BetterGen/Main.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen; diff --git a/src/Ad5001/BetterGen/biome/BetterDesert.php b/src/Ad5001/BetterGen/biome/BetterDesert.php index 8a17e9b..2657c10 100644 --- a/src/Ad5001/BetterGen/biome/BetterDesert.php +++ b/src/Ad5001/BetterGen/biome/BetterDesert.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\biome; diff --git a/src/Ad5001/BetterGen/biome/BetterForest.php b/src/Ad5001/BetterGen/biome/BetterForest.php index 3d5a00e..ebc9d04 100644 --- a/src/Ad5001/BetterGen/biome/BetterForest.php +++ b/src/Ad5001/BetterGen/biome/BetterForest.php @@ -9,8 +9,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\biome; diff --git a/src/Ad5001/BetterGen/biome/BetterIcePlains.php b/src/Ad5001/BetterGen/biome/BetterIcePlains.php index 75454a6..e3e6092 100644 --- a/src/Ad5001/BetterGen/biome/BetterIcePlains.php +++ b/src/Ad5001/BetterGen/biome/BetterIcePlains.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\biome; diff --git a/src/Ad5001/BetterGen/biome/BetterMesa.php b/src/Ad5001/BetterGen/biome/BetterMesa.php index 0fce38f..5a9d52e 100644 --- a/src/Ad5001/BetterGen/biome/BetterMesa.php +++ b/src/Ad5001/BetterGen/biome/BetterMesa.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\biome; diff --git a/src/Ad5001/BetterGen/biome/BetterMesaPlains.php b/src/Ad5001/BetterGen/biome/BetterMesaPlains.php index 179ec34..3f82ea2 100644 --- a/src/Ad5001/BetterGen/biome/BetterMesaPlains.php +++ b/src/Ad5001/BetterGen/biome/BetterMesaPlains.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\biome; diff --git a/src/Ad5001/BetterGen/biome/BetterRiver.php b/src/Ad5001/BetterGen/biome/BetterRiver.php index 7b6dabc..07b79e0 100644 --- a/src/Ad5001/BetterGen/biome/BetterRiver.php +++ b/src/Ad5001/BetterGen/biome/BetterRiver.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\biome; diff --git a/src/Ad5001/BetterGen/biome/Mountainable.php b/src/Ad5001/BetterGen/biome/Mountainable.php index f2175a0..8a66aa5 100644 --- a/src/Ad5001/BetterGen/biome/Mountainable.php +++ b/src/Ad5001/BetterGen/biome/Mountainable.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\biome; diff --git a/src/Ad5001/BetterGen/generator/BetterBiomeSelector.php b/src/Ad5001/BetterGen/generator/BetterBiomeSelector.php index 7a11f2a..87158ba 100644 --- a/src/Ad5001/BetterGen/generator/BetterBiomeSelector.php +++ b/src/Ad5001/BetterGen/generator/BetterBiomeSelector.php @@ -8,9 +8,12 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen -*/ + * @category World Generator + * @api 3.0.0 + * @version 1.1 + */ namespace Ad5001\BetterGen\generator; use pocketmine\level\generator\biome\Biome; diff --git a/src/Ad5001/BetterGen/generator/BetterNormal.php b/src/Ad5001/BetterGen/generator/BetterNormal.php index 2752377..faac011 100644 --- a/src/Ad5001/BetterGen/generator/BetterNormal.php +++ b/src/Ad5001/BetterGen/generator/BetterNormal.php @@ -8,9 +8,12 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen -*/ + * @category World Generator + * @api 3.0.0 + * @version 1.1 + */ namespace Ad5001\BetterGen\generator; diff --git a/src/Ad5001/BetterGen/loot/LootTable.php b/src/Ad5001/BetterGen/loot/LootTable.php index 24c0cdf..2317c47 100644 --- a/src/Ad5001/BetterGen/loot/LootTable.php +++ b/src/Ad5001/BetterGen/loot/LootTable.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\loot; diff --git a/src/Ad5001/BetterGen/populator/AmountPopulator.php b/src/Ad5001/BetterGen/populator/AmountPopulator.php index aee3766..c7a39de 100644 --- a/src/Ad5001/BetterGen/populator/AmountPopulator.php +++ b/src/Ad5001/BetterGen/populator/AmountPopulator.php @@ -8,8 +8,9 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/BushPopulator.php b/src/Ad5001/BetterGen/populator/BushPopulator.php index c1363cb..bf04c16 100644 --- a/src/Ad5001/BetterGen/populator/BushPopulator.php +++ b/src/Ad5001/BetterGen/populator/BushPopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/CactusPopulator.php b/src/Ad5001/BetterGen/populator/CactusPopulator.php index 8475210..d0fc579 100644 --- a/src/Ad5001/BetterGen/populator/CactusPopulator.php +++ b/src/Ad5001/BetterGen/populator/CactusPopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ diff --git a/src/Ad5001/BetterGen/populator/CavePopulator.php b/src/Ad5001/BetterGen/populator/CavePopulator.php index 6234aad..0d4f352 100644 --- a/src/Ad5001/BetterGen/populator/CavePopulator.php +++ b/src/Ad5001/BetterGen/populator/CavePopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/DeadbushPopulator.php b/src/Ad5001/BetterGen/populator/DeadbushPopulator.php index 555fd06..02b5079 100644 --- a/src/Ad5001/BetterGen/populator/DeadbushPopulator.php +++ b/src/Ad5001/BetterGen/populator/DeadbushPopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/FallenTreePopulator.php b/src/Ad5001/BetterGen/populator/FallenTreePopulator.php index 20e0947..79f8d4a 100644 --- a/src/Ad5001/BetterGen/populator/FallenTreePopulator.php +++ b/src/Ad5001/BetterGen/populator/FallenTreePopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/FloatingIslandPopulator.php b/src/Ad5001/BetterGen/populator/FloatingIslandPopulator.php index 21e5a9c..db26a32 100644 --- a/src/Ad5001/BetterGen/populator/FloatingIslandPopulator.php +++ b/src/Ad5001/BetterGen/populator/FloatingIslandPopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/IglooPopulator.php b/src/Ad5001/BetterGen/populator/IglooPopulator.php index 6d91bf7..4e6a0af 100644 --- a/src/Ad5001/BetterGen/populator/IglooPopulator.php +++ b/src/Ad5001/BetterGen/populator/IglooPopulator.php @@ -8,8 +8,9 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/LakePopulator.php b/src/Ad5001/BetterGen/populator/LakePopulator.php index f05c826..1713f51 100644 --- a/src/Ad5001/BetterGen/populator/LakePopulator.php +++ b/src/Ad5001/BetterGen/populator/LakePopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/MineshaftPopulator.php b/src/Ad5001/BetterGen/populator/MineshaftPopulator.php index 4963e3c..d936d07 100644 --- a/src/Ad5001/BetterGen/populator/MineshaftPopulator.php +++ b/src/Ad5001/BetterGen/populator/MineshaftPopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; @@ -80,7 +83,7 @@ class MineshaftPopulator extends AmountPopulator { * @param Random $random */ public function generateMineshaftPart(int $x, int $y, int $z, int $dir, Random $random) { - if ($this->maxPath -- < 1 || $y >= $level->getChunk(($x - ($x % 16)) / 16, ($z - ($z % 16)) / 16)->getHighestBlockAt($x % 16, $z % 16) - 10) + if ($this->maxPath -- < 1 || $y >= $this->level->getChunk(($x - ($x % 16)) / 16, ($z - ($z % 16)) / 16)->getHighestBlockAt($x % 16, $z % 16) - 10) return; $type = $random->nextBoundedInt(3); $level = $this->level; diff --git a/src/Ad5001/BetterGen/populator/RavinePopulator.php b/src/Ad5001/BetterGen/populator/RavinePopulator.php index c7bcbcd..277ba7f 100644 --- a/src/Ad5001/BetterGen/populator/RavinePopulator.php +++ b/src/Ad5001/BetterGen/populator/RavinePopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/SugarCanePopulator.php b/src/Ad5001/BetterGen/populator/SugarCanePopulator.php index 13518ae..4ee7947 100644 --- a/src/Ad5001/BetterGen/populator/SugarCanePopulator.php +++ b/src/Ad5001/BetterGen/populator/SugarCanePopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; @@ -23,7 +26,7 @@ use pocketmine\utils\Random; class SugarCanePopulator extends AmountPopulator { /** @var ChunkManager */ protected $level; - /* + /** * Constructs the class */ public function __construct() { @@ -31,7 +34,7 @@ class SugarCanePopulator extends AmountPopulator { $this->setRandomAmount(2); } - /* + /** * Populate the chunk * @param $level pocketmine\level\ChunkManager * @param $chunkX int @@ -52,10 +55,11 @@ class SugarCanePopulator extends AmountPopulator { } } - /* + /** * Gets the top block (y) on an x and z axes * @param $x int * @param $z int + * @return int */ protected function getHighestWorkableBlock($x, $z) { for($y = Level::Y_MAX - 1; $y >= 0; -- $y) { diff --git a/src/Ad5001/BetterGen/populator/TemplePopulator.php b/src/Ad5001/BetterGen/populator/TemplePopulator.php index 05295f5..4507297 100644 --- a/src/Ad5001/BetterGen/populator/TemplePopulator.php +++ b/src/Ad5001/BetterGen/populator/TemplePopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/TreePopulator.php b/src/Ad5001/BetterGen/populator/TreePopulator.php index 7ff5fb3..5db081e 100644 --- a/src/Ad5001/BetterGen/populator/TreePopulator.php +++ b/src/Ad5001/BetterGen/populator/TreePopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/populator/WellPopulator.php b/src/Ad5001/BetterGen/populator/WellPopulator.php index 5f265c3..f412e4d 100644 --- a/src/Ad5001/BetterGen/populator/WellPopulator.php +++ b/src/Ad5001/BetterGen/populator/WellPopulator.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\populator; diff --git a/src/Ad5001/BetterGen/structure/Bush.php b/src/Ad5001/BetterGen/structure/Bush.php index b713a31..b73f92a 100644 --- a/src/Ad5001/BetterGen/structure/Bush.php +++ b/src/Ad5001/BetterGen/structure/Bush.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\structure; diff --git a/src/Ad5001/BetterGen/structure/Cactus.php b/src/Ad5001/BetterGen/structure/Cactus.php index c31f0d9..c718c95 100644 --- a/src/Ad5001/BetterGen/structure/Cactus.php +++ b/src/Ad5001/BetterGen/structure/Cactus.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\structure; diff --git a/src/Ad5001/BetterGen/structure/FallenTree.php b/src/Ad5001/BetterGen/structure/FallenTree.php index 1f84ab9..adf93ae 100644 --- a/src/Ad5001/BetterGen/structure/FallenTree.php +++ b/src/Ad5001/BetterGen/structure/FallenTree.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\structure; diff --git a/src/Ad5001/BetterGen/structure/Igloo.php b/src/Ad5001/BetterGen/structure/Igloo.php index c9e5354..cf72d6f 100644 --- a/src/Ad5001/BetterGen/structure/Igloo.php +++ b/src/Ad5001/BetterGen/structure/Igloo.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\structure; diff --git a/src/Ad5001/BetterGen/structure/SakuraTree.php b/src/Ad5001/BetterGen/structure/SakuraTree.php index 5e32046..3135e7f 100644 --- a/src/Ad5001/BetterGen/structure/SakuraTree.php +++ b/src/Ad5001/BetterGen/structure/SakuraTree.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\structure; diff --git a/src/Ad5001/BetterGen/structure/SugarCane.php b/src/Ad5001/BetterGen/structure/SugarCane.php index 33d7210..95ebff2 100644 --- a/src/Ad5001/BetterGen/structure/SugarCane.php +++ b/src/Ad5001/BetterGen/structure/SugarCane.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ diff --git a/src/Ad5001/BetterGen/structure/Temple.php b/src/Ad5001/BetterGen/structure/Temple.php index 35516ba..f840689 100644 --- a/src/Ad5001/BetterGen/structure/Temple.php +++ b/src/Ad5001/BetterGen/structure/Temple.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\structure; diff --git a/src/Ad5001/BetterGen/structure/Well.php b/src/Ad5001/BetterGen/structure/Well.php index db28fc3..ef82a7c 100644 --- a/src/Ad5001/BetterGen/structure/Well.php +++ b/src/Ad5001/BetterGen/structure/Well.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ diff --git a/src/Ad5001/BetterGen/utils/BuildingUtils.php b/src/Ad5001/BetterGen/utils/BuildingUtils.php index b80db85..4841cc3 100644 --- a/src/Ad5001/BetterGen/utils/BuildingUtils.php +++ b/src/Ad5001/BetterGen/utils/BuildingUtils.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\utils; diff --git a/src/Ad5001/BetterGen/utils/CommonUtils.php b/src/Ad5001/BetterGen/utils/CommonUtils.php index 13af710..efa375d 100644 --- a/src/Ad5001/BetterGen/utils/CommonUtils.php +++ b/src/Ad5001/BetterGen/utils/CommonUtils.php @@ -8,8 +8,11 @@ * \ \____/\ \____\ \ \__\ \ \__\\ \____\\ \_\ \ \____/\ \____\\ \_\ \_\ * \/___/ \/____/ \/__/ \/__/ \/____/ \/_/ \/___/ \/____/ \/_/\/_/ * Tomorrow's pocketmine generator. - * @author Ad5001 + * @author Ad5001 , XenialDan * @link https://github.com/Ad5001/BetterGen + * @category World Generator + * @api 3.0.0 + * @version 1.1 */ namespace Ad5001\BetterGen\utils;