Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockEntityComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace SharedTypes::v1_26_20::BlockDefinition {
6
8public:
9 // BlockEntityComponent inner types declare
10 // clang-format off
11 struct ContainerData;
12 // clang-format on
13
14 // BlockEntityComponent inner types define
16 public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<1, 1, uchar> mSlotCount;
20 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mTitle;
21 // NOLINTEND
22
23 public:
24 // static variables
25 // NOLINTBEGIN
26 MCNAPI static ::std::string_view const& SlotCountId();
27
28 MCNAPI static ::std::string_view const& TitleId();
29 // NOLINTEND
30 };
31
32public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<1, 1, bool> mDynamicProperties;
36 ::ll::TypedStorage<
37 8,
38 56,
39 ::std::optional<::SharedTypes::v1_26_20::BlockDefinition::BlockEntityComponent::ContainerData>>
40 mContainer;
41 // NOLINTEND
42
43public:
44 // static variables
45 // NOLINTBEGIN
46 MCNAPI static ::std::string_view const& ContainerId();
47
48 MCNAPI static ::std::string_view const& DynamicPropertiesId();
49
50 MCNAPI static ::std::string_view const& NameId();
51 // NOLINTEND
52};
53
54} // namespace SharedTypes::v1_26_20::BlockDefinition
static MCAPI ::std::string_view const & DynamicPropertiesId()
static MCAPI ::std::string_view const & NameId()
static MCAPI ::std::string_view const & ContainerId()