3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/platform/threading/Mutex.h"
28 enum class PaletteType :
int {
36 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mLegacyBlockStatesConversionWarningMutex;
37 ::ll::TypedStorage<8, 16, ::std::set<::std::pair<int, int>>> mLegacyBlockStatesConversionWarningSet;
38 ::ll::TypedStorage<8, 24, ::std::vector<::Block const*>> mBlockFromNetworkId;
39 ::ll::TypedStorage<8, 8, ::Level*> mLevel;
53 virtual ::BlockPalette::PaletteType getPaletteType();
56 virtual void appendBlock(
::Block const& blockState);
59 virtual ::Block
const& getBlock(uint
const& networkId)
const;
62 virtual void assignBlockNetworkId(
::Block const& block, uint64 networkId)
const;
102 MCNAPI ::Block
const&
$getBlock(uint
const& networkId)
const;
Definition BlockLegacy.h:88
Definition BlockPalette.h:18
MCAPI BlockPalette(::Level &level)
MCAPI::BlockPalette::PaletteType $getPaletteType()
MCAPI void * $ctor(::BlockPalette::ConstructorToken)
MCAPI void * $ctor(::Level &level)
static MCAPI void ** $vftable()
MCAPI BlockPalette(::BlockPalette::ConstructorToken)
MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry > const getUnknownBlockTypeRegistry() const
MCAPI::Block const & getBlockFromLegacyData(::NewBlockID id, uint data) const
MCAPI bool shouldWarnFor(::NewBlockID id, ushort data) const
MCAPI::Block const & switchBlock(::Block const &oldBlock, ::BlockLegacy const &newBlockType) const
MCAPI void $assignBlockNetworkId(::Block const &block, uint64 networkId) const
MCAPI void $appendBlock(::Block const &blockState)
MCAPI::Block const & $getBlock(uint const &networkId) const
Definition IUnknownBlockTypeRegistry.h:14
Definition BlockPalette.h:26
Definition NewBlockID.h:8