mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Split Mushroom Stem away from other mushroom variants
mushroom stem (and all-sided stem) are unique blocks, which don't drop anything and which don't stack with other shroom variants when block-picked. They also get mapped to the same block when placed, and there's no distinction between red mushroom stem and brown mushroom stem.
This commit is contained in:
@ -37,10 +37,6 @@ class RedMushroomBlock extends Opaque{
|
||||
*/
|
||||
protected $rotationData = 0;
|
||||
|
||||
public function __construct(BlockIdentifier $idInfo, string $name, ?BlockBreakInfo $breakInfo = null){
|
||||
parent::__construct($idInfo, $name, $breakInfo ?? new BlockBreakInfo(0.2, BlockToolType::AXE));
|
||||
}
|
||||
|
||||
protected function writeStateToMeta() : int{
|
||||
return $this->rotationData;
|
||||
}
|
||||
|
Reference in New Issue
Block a user