mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-05 03:43:40 +00:00
57 lines
2.3 KiB
C++
57 lines
2.3 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "../Global.h"
|
|
|
|
#define BEFORE_EXTRA
|
|
// Include Headers or Declare Types Here
|
|
enum VanillaBiomeTypes;
|
|
|
|
#undef BEFORE_EXTRA
|
|
|
|
class Biome {
|
|
|
|
#define AFTER_EXTRA
|
|
// Add Member There
|
|
public:
|
|
enum BiomeTempCategory;
|
|
LIAPI int getId() const;
|
|
LIAPI std::string const& getName() const;
|
|
LIAPI static Biome* fromId(int id);
|
|
LIAPI static Biome* fromName(std::string const& name);
|
|
LIAPI static std::vector<Biome*> getBiomesByType(VanillaBiomeTypes type);
|
|
|
|
#undef AFTER_EXTRA
|
|
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOME
|
|
public:
|
|
class Biome& operator=(class Biome const &) = delete;
|
|
Biome(class Biome const &) = delete;
|
|
Biome() = delete;
|
|
#endif
|
|
|
|
public:
|
|
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOME
|
|
#endif
|
|
MCAPI Biome(int);
|
|
MCAPI class Biome & addTag(class HashedString, class TagRegistry<struct IDType<struct BiomeTagIDType>, struct IDType<struct BiomeTagSetIDType>> &);
|
|
MCAPI enum VanillaBiomeTypes getBiomeType() const;
|
|
MCAPI int getFoliageColor(class BlockPos const &) const;
|
|
MCAPI int getMapFoliageColor(class BlockPos const &) const;
|
|
MCAPI int getMapGrassColor(class BlockPos const &) const;
|
|
MCAPI float getTemperature(class BlockSource const &, class BlockPos const &) const;
|
|
MCAPI enum Biome::BiomeTempCategory getTemperatureCategory() const;
|
|
MCAPI float getTemperatureWorldGen(class BlockPos const &) const;
|
|
MCAPI bool hasTag(struct IDType<struct BiomeTagIDType> const &, class TagRegistry<struct IDType<struct BiomeTagIDType>, struct IDType<struct BiomeTagSetIDType>> const &) const;
|
|
MCAPI bool hasTag(class WellKnownTagID const &) const;
|
|
MCAPI bool isHumid() const;
|
|
MCAPI class Biome & setColor(int);
|
|
MCAPI class Biome & setColor(int, bool);
|
|
MCAPI class Biome & setMapWaterColor(int);
|
|
MCAPI void writePacketData(class CompoundTag &, class TagRegistry<struct IDType<struct BiomeTagIDType>, struct IDType<struct BiomeTagSetIDType>> &);
|
|
MCAPI static class Color const DEFAULT_FOG_COLOR;
|
|
MCAPI static class Color const DEFAULT_UNDERWATER_COLOR;
|
|
MCAPI static class Color const DEFAULT_WATER_COLOR;
|
|
MCAPI static struct BiomeHeight const HEIGHTS_DEFAULT;
|
|
MCAPI static float const RAIN_TEMP_THRESHOLD;
|
|
|
|
}; |