LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/BiomeRegistry.hpp
2022-09-21 19:47:03 +08:00

47 lines
1.6 KiB
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#include "Json.hpp"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class BiomeRegistry {
#define AFTER_EXTRA
// Add Member There
public:
struct BiomeParent {
BiomeParent() = delete;
BiomeParent(BiomeParent const&) = delete;
BiomeParent(BiomeParent const&&) = delete;
};
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_BIOMEREGISTRY
public:
class BiomeRegistry& operator=(class BiomeRegistry const &) = delete;
BiomeRegistry(class BiomeRegistry const &) = delete;
BiomeRegistry() = delete;
#endif
public:
/*0*/ virtual class OwnerPtrT<struct EntityRegistryRefTraits> & getEntityRegistry();
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_BIOMEREGISTRY
#endif
MCAPI void forEachBiome(class std::function<void (class Biome &)>) const;
MCAPI class Biome * lookupByName(std::string const &) const;
MCAPI class Biome & registerBiome(std::string const &);
//private:
MCAPI bool _addToInheritanceTree(class InheritanceTree<struct BiomeRegistry::BiomeParent> &, std::string const &, class Json::Value &&);
MCAPI class InheritanceTree<struct BiomeRegistry::BiomeParent> _buildInheritanceTree(class ResourcePackManager &);
MCAPI void _initTagRegistry();
MCAPI bool _loadSingleBiome(class ResourcePackManager &, class InheritanceTree<struct BiomeRegistry::BiomeParent> &, std::string const &);
MCAPI void _mergeDataInheritance(class Json::Value &, class InheritanceTree<struct BiomeRegistry::BiomeParent> &, struct BiomeRegistry::BiomeParent const &);
private:
};