mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
14 lines
276 B
PHP
14 lines
276 B
PHP
<?php
|
|
|
|
class RedMushroomSolidBlock extends SolidBlock{
|
|
public function __construct($meta = 0){
|
|
parent::__construct(RED_MUSHROOM_BLOCK, $meta, "Mushroom");
|
|
}
|
|
|
|
public function getDrops(Item $item, Player $player){
|
|
return [
|
|
[RED_MUSHROOM, 0, mt_rand(0, 2)]
|
|
];
|
|
}
|
|
}
|
|
|