31 ::ll::TypedStorage<1, 1, bool> overridePlayerInteract;
32 ::ll::TypedStorage<1, 1, bool> overridePlayerPlacing;
39 ::ll::TypedStorage<8, 24, ::std::vector<::BlockCustomComponentData>> mCustomComponentData;
43 ::std::unordered_map<::std::string, ::BlockCustomComponentsComponentDescription::ComponentOverrides>>
45 ::ll::TypedStorage<1, 1, bool> mIsCustomComponentsV1;
46 ::ll::TypedStorage<1, 1, bool> mHasPlayerInteractEvent;
47 ::ll::TypedStorage<1, 1, bool> mHasPlayerPlacingEvent;
53 virtual ::std::string
const& getName() const ;
57 virtual
bool isNetworkComponent() const ;
59 virtual ::
std::unique_ptr<::
CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const&) const ;
61 virtual
void initializeFromNetwork(::
CompoundTag const& tag, ::cereal::ReflectionCtx const&
ctx) ;
67 MCAPI
void addCustomComponent(
68 ::
std::string_view compName,
69 ::cereal::DynamicValue compData,
70 bool overridePlayerInteract,
71 bool overridePlayerPlacing
78 MCAPI static
void bindType(::cereal::ReflectionCtx&
ctx);
80 MCFOLD static ::
SemVersion getV2ReleaseVersion();
88 MCAPI static ::
std::
string const& NameID();
94 MCAPI ::
std::
string const& $getName() const;
98 MCFOLD
bool $isNetworkComponent() const;
100 MCAPI ::
std::unique_ptr<::
CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const&) const;
102 MCAPI
void $initializeFromNetwork(::
CompoundTag const& tag, ::cereal::ReflectionCtx const&
ctx);