-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add Crimson Nylium and Warped Nylium blocks #6481
base: stable
Are you sure you want to change the base?
Conversation
|
||
class RedMushroom extends Flowable{ | ||
use StaticSupportTrait; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apply only minimal change, this is unrelated to the PR "add Crimson Nylium".
Open an other PR if you want to change that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't resolved, you still add the use of StaticSupportTrait
Bonemeal logic is missing. Also, this PR should target |
There is no block available for bone meal spreading, roots and fungus is missing |
Roots are implemented. https://github.com/pmmp/PocketMine-MP/blob/stable/src/block/NetherRoots.php |
class NetherGrass{ | ||
public static function growGrass(ChunkManager $world, Vector3 $pos, Random $random, int $count = 8, int $radius = 5) : void{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As there is no nether generator, I don't see the point of including a single function in a new class in the generator objects.
|
||
class RedMushroom extends Flowable{ | ||
use StaticSupportTrait; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't resolved, you still add the use of StaticSupportTrait
$world = $this->position->getWorld(); | ||
if($item instanceof Fertilizer){ | ||
$item->pop(); | ||
NetherGrass::growGrass($world, $this->position, new Random(mt_rand()), 8, 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the point of integrating all the logic into a specific function that's only used once?
Introduction
Crimson Nylium
andWarped Nylium
blocks addedTests
I tested this PR by doing the following (tick all that apply):
tests/phpunit
folder)