mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
18 lines
No EOL
398 B
PHP
18 lines
No EOL
398 B
PHP
<?php
|
|
|
|
class FenceBlock extends TransparentBlock{
|
|
public function __construct($meta = 0){
|
|
parent::__construct(FENCE, $meta, "Fence");
|
|
$names = [
|
|
0 => "Oak Fence",
|
|
1 => "Spruce Fence",
|
|
2 => "Birch Fence",
|
|
3 => "Jungle Fence",
|
|
4 => "Acacia Fence",
|
|
5 => "Dark Oak Fence"
|
|
];
|
|
$this->name = $names[$this->meta & 0x07];
|
|
$this->isFullBlock = false;
|
|
$this->hardness = 15;
|
|
}
|
|
} |