mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
14 lines
No EOL
252 B
PHP
14 lines
No EOL
252 B
PHP
<?php
|
|
|
|
class SandBlock extends FallableBlock{
|
|
public function __construct($meta = 0){
|
|
parent::__construct(SAND, $meta, "Sand");
|
|
$names = [
|
|
0 => "Sand",
|
|
1 => "Red Sand"
|
|
];
|
|
$this->name = $names[$this->meta];
|
|
$this->hardness = 2.5;
|
|
}
|
|
|
|
} |