LeviLamina
Loading...
Searching...
No Matches
CustomBlockStateVariant.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/BidirectionalUnorderedMap.h"
7#include "mc/world/level/block/states/BlockState.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12class ListTag;
13// clang-format on
14
15class CustomBlockStateVariant : public ::BlockState {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ListTag>> mEnumValues;
20 ::ll::TypedStorage<8, 128, ::BidirectionalUnorderedMap<int, uint64>> mHashIndexMap;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 CustomBlockStateVariant();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void toNBT(::CompoundTag& tag, int val) const /*override*/;
31
32 virtual bool fromNBT(::CompoundTag const& tag, int& outValue) const /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI CustomBlockStateVariant(uint64 id, ::std::string const& name, ::ListTag const& values);
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCAPI void* $ctor(uint64 id, ::std::string const& name, ::ListTag const& values);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCAPI void $toNBT(::CompoundTag& tag, int val) const;
51
52 MCAPI bool $fromNBT(::CompoundTag const& tag, int& outValue) const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition CompoundTag.h:23
static MCAPI void ** $vftable()
Definition ListTag.h:21