Added EndPortalFrame, fixed block names and added new stone blobs in flat

This commit is contained in:
ArkQuark 2023-02-24 17:06:11 +03:00
parent 612e09e0cc
commit 7255fbc3ad
40 changed files with 107 additions and 30 deletions

View file

@ -13,7 +13,7 @@ class CyanFlowerBlock extends FlowableBlock{
8 => "Oxeye Daisy",
];
public function __construct($meta = 0){
parent::__construct(CYAN_FLOWER, $meta, nullsafe(self::$names[$meta], "Poppy"));
parent::__construct(CYAN_FLOWER, $meta, self::$names[$meta & 0x08]);
$this->hardness = 0;
}

View file

@ -9,7 +9,7 @@ class TallGrassBlock extends FlowableBlock{
1 => "Tall Grass",
2 => "Fern",
);
$this->name = $names[$this->meta & 0x03];
$this->name = $names[$this->meta & 0x02];
$this->hardness = 0;
}