// This Header is auto generated by BDSLiteLoader Toolchain #pragma once #define AUTO_GENERATED #include "../Global.h" #define BEFORE_EXTRA class BlockLegacy; #include #undef BEFORE_EXTRA class BlockPalette { #define AFTER_EXTRA public: std::mutex mLegacyBlockStatesConversionWarningMutex; std::set> mLegacyBlockStatesConversionWarningSet; std::map mNameLookup; std::mapmBlockFromSerId; std::vectormBlockFromRuntimeId; Level *mLevel; #undef AFTER_EXTRA #ifndef DISABLE_CONSTRUCTOR_PREVENTION_BLOCKPALETTE public: class BlockPalette& operator=(class BlockPalette const &) = delete; BlockPalette(class BlockPalette const &) = delete; BlockPalette() = delete; #endif public: #ifdef ENABLE_VIRTUAL_FAKESYMBOL_BLOCKPALETTE #endif MCAPI BlockPalette(struct BlockPalette::ConstructorToken); MCAPI class Block const & getBlock(class CompoundTag const &) const; MCAPI class Block const & getBlock(unsigned int const &) const; MCAPI class Block const & getBlockFromLegacyData(struct NewBlockID, unsigned int) const; MCAPI class BlockLegacy const * getBlockLegacy(std::string const &) const; MCAPI void initFromBlockDefinitions(); MCAPI class Block const & switchBlock(class Block const &, class BlockLegacy const &) const; MCAPI ~BlockPalette(); //private: MCAPI bool shouldWarnFor(struct NewBlockID, unsigned short) const; private: };