mirror of
https://github.com/celisej567/mcpe.git
synced 2025-12-31 17:49:17 +03:00
25 lines
626 B
C++
25 lines
626 B
C++
/********************************************************************
|
|
Minecraft: Pocket Edition - Decompilation Project
|
|
Copyright (C) 2023 iProgramInCpp
|
|
|
|
The following code is licensed under the BSD 1 clause license.
|
|
SPDX-License-Identifier: BSD-1-Clause
|
|
********************************************************************/
|
|
|
|
#include "ObsidianTile.hpp"
|
|
#include "world/level/Level.hpp"
|
|
|
|
ObsidianTile::ObsidianTile(int a, int b, Material* c) : Tile(a, b, c)
|
|
{
|
|
}
|
|
|
|
int ObsidianTile::getResource(int data, Random* random)
|
|
{
|
|
return Tile::obsidian->m_ID;
|
|
}
|
|
|
|
int ObsidianTile::getResourceCount(Random* random)
|
|
{
|
|
return 1;
|
|
}
|