the whole game

This commit is contained in:
2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

36
src/world/level/LevelSource.h Executable file
View File

@@ -0,0 +1,36 @@
#ifndef NET_MINECRAFT_WORLD_LEVEL__LevelSource_H__
#define NET_MINECRAFT_WORLD_LEVEL__LevelSource_H__
//package net.minecraft.world.level;
/*
class BiomeSource;
class TileEntity;
*/
class Material;
class Biome;
class LevelSource
{
public:
virtual ~LevelSource() {}
virtual int getTile(int x, int y, int z) = 0;
virtual bool isEmptyTile(int x, int y, int z) = 0;
//virtual TileEntity* getTileEntity(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 const Material* getMaterial(int xx, int i, int zz) = 0;
virtual bool isSolidRenderTile(int x, int i, int z) = 0;
virtual bool isSolidBlockingTile(int x, int i, int z) = 0;
//virtual BiomeSource* getBiomeSource() = 0;
virtual Biome* getBiome(int x, int z) = 0;
};
#endif /*NET_MINECRAFT_WORLD_LEVEL__LevelSource_H__*/