mirror of
https://github.com/celisej567/mcpe.git
synced 2025-12-31 17:49:17 +03:00
* Added biome colour and grass side tint options * Moved GrassColor and FoliageColor to client/renderer/ * * Fix some build issues. * * Add the new files to the CMakeLists.txt --------- Co-authored-by: iProgramInCpp <iprogramincpp@gmail.com>
27 lines
827 B
C++
27 lines
827 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
|
|
********************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include "common/Utils.hpp"
|
|
#include "world/level/Material.hpp"
|
|
#include "world/level/levelgen/biome/BiomeSource.hpp"
|
|
|
|
class LevelSource
|
|
{
|
|
public:
|
|
virtual ~LevelSource();
|
|
virtual TileID getTile(int x, int y, int z) = 0;
|
|
virtual float getBrightness(int x, int y, int z) = 0;
|
|
virtual int getData(int x, int y, int z) = 0;
|
|
virtual Material* getMaterial(int x, int y, int z) = 0;
|
|
virtual bool isSolidTile(int x, int y, int z) = 0;
|
|
virtual BiomeSource* getBiomeSource() = 0;
|
|
};
|
|
|