27 enum class PaletteType :
int {
37 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mBlockTypeStatesConversionWarningMutex;
38 ::ll::TypedStorage<8, 16, ::std::set<::std::pair<int, int>>> mBlockTypeStatesConversionWarningSet;
39 ::ll::TypedStorage<8, 24, ::std::vector<::Block const*>> mBlockFromNetworkId;
40 ::ll::TypedStorage<8, 8, ::Level*> mLevel;
50 virtual ~BlockPalette();
52 virtual ::BlockPalette::PaletteType getPaletteType();
54 virtual void appendBlock(
::Block const& blockState);
56 virtual ::Block
const& getBlock(uint
const& networkId)
const;
58 virtual void assignBlockNetworkId(
::Block const& block, uint64 networkId)
const;
64 MCAPI
explicit BlockPalette(
::Level& level);
66 MCAPI ::Block
const& getBlockFromLegacyData(
::NewBlockID id, uint data)
const;
68 MCAPI ::Bedrock::NonOwnerPointer<::IUnknownBlockTypeRegistry>
const getUnknownBlockTypeRegistry()
const;
70 MCAPI
bool shouldWarnFor(
::NewBlockID id, ushort data)
const;
72 MCAPI ::Block
const& switchBlock(
::Block const& oldBlock,
::BlockType const& newBlockType)
const;
78 MCAPI static ::Block
const& convertLegacyBlock(
::BlockID id, ushort data);
84 MCAPI
void* $ctor(
::Level& level);
96 MCFOLD ::BlockPalette::PaletteType $getPaletteType();
98 MCAPI
void $appendBlock(
::Block const& blockState);
100 MCAPI ::Block
const& $getBlock(uint
const& networkId)
const;
102 MCAPI
void $assignBlockNetworkId(
::Block const& block, uint64 networkId)
const;
110 MCAPI
static void** $vftable();