Added stripped logs (incomplete)

this isn't practical to fully implement right now due to limitations
imposed by the legacy shitfest system we're using. To make stripped
dynamic, we would need to switch the IDs _and_ variant info dynamically,
and I have no idea what bizarre side effects that might have.
This commit is contained in:
Dylan K. Taylor
2021-04-27 20:35:51 +01:00
parent ed80490234
commit 11263909ab
5 changed files with 54 additions and 3 deletions

View File

@ -27,4 +27,8 @@ use pocketmine\block\utils\PillarRotationInMetadataTrait;
class Log extends Wood{
use PillarRotationInMetadataTrait;
protected function getAxisMetaShift() : int{
return $this->isStripped() ? 0 : 2;
}
}