forked from nicholass003/Campfire
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make the cooking campfire work
- Loading branch information
1 parent
008a836
commit 0293869
Showing
7 changed files
with
79 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
/* | ||
* Copyright (c) 2024 - present nicholass003 | ||
* _ _ _ ___ ___ ____ | ||
* (_) | | | | / _ \ / _ \___ \ | ||
* _ __ _ ___| |__ ___ | | __ _ ___ ___| | | | | | |__) | | ||
* | '_ \| |/ __| '_ \ / _ \| |/ _` / __/ __| | | | | | |__ < | ||
* | | | | | (__| | | | (_) | | (_| \__ \__ \ |_| | |_| |__) | | ||
* |_| |_|_|\___|_| |_|\___/|_|\__,_|___/___/\___/ \___/____/ | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* @author nicholass003 | ||
* @link https://github.com/nicholass003/ | ||
* | ||
* | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace nicholass003\campfire\block; | ||
|
||
class SoulCampfire extends Campfire{ | ||
|
||
public function getLightLevel() : int{ | ||
return $this->extinguished ? 0 : 10; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters