mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Adding new blocks
This commit is contained in:
parent
37bbfe2d81
commit
4a861c0f5d
11 changed files with 135 additions and 6 deletions
12
src/material/block/solid/MonsterSpawnerBlock.php
Normal file
12
src/material/block/solid/MonsterSpawnerBlock.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
class MonsterSpawnerBlock extends SolidBlock{
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(MONSTER_SPAWNER, $meta, "Monster Spawner");
|
||||
$this->hardness = 5;
|
||||
}
|
||||
|
||||
public function getDrops(Item $item, Player $player){
|
||||
return [];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue