LeviLamina
Loading...
Searching...
No Matches
IVanillaMainBlockActorComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/actor/BlockActorType.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockActor;
11class BlockSource;
12class CompoundTag;
13class Container;
14class LevelChunk;
15namespace Bedrock::Safety { class RedactableString; }
16// clang-format on
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ::BlockActor& getBlockActor() = 0;
23
24 virtual ::BlockActorType getBlockActorType() const = 0;
25
26 virtual ::Container* getContainer() = 0;
27
28 virtual ::Container const* getContainer() const = 0;
29
30 virtual void eraseLootTable() = 0;
31
32 virtual ::std::string getName() const = 0;
33
34 virtual ::std::string getImmersiveReaderText(::BlockSource& region) = 0;
35
36 virtual bool canRenderCustomName() const = 0;
37
38 virtual bool hasCustomName() const = 0;
39
40 virtual ::Bedrock::Safety::RedactableString const& getCustomName() const = 0;
41
42 virtual void setCustomName(::Bedrock::Safety::RedactableString const& name) = 0;
43
44 virtual bool isCustomNameSaved() const = 0;
45
46 virtual ::Bedrock::Safety::RedactableString getDisplayName() const = 0;
47
48 virtual bool hasFilteredNameTag() const = 0;
49
50 virtual ::std::string getFilteredNameTag() const = 0;
51
52 virtual void setFilteredNameTag(::std::string const& filteredName) = 0;
53
54 virtual ::std::vector<::std::string> getUgcStrings(::CompoundTag const& tag) const = 0;
55
56 virtual ::std::vector<::std::string> getFilteredUgcStrings(::CompoundTag const& tag) const = 0;
57
58 virtual void setUgcStrings(::CompoundTag& tag, ::std::vector<::std::string> const& list) const = 0;
59
60 virtual void setFilteredUgcStrings(::CompoundTag& tag, ::std::vector<::std::string> const& list) const = 0;
61
62 virtual bool validateData(::CompoundTag const& tag) const = 0;
63
64 virtual void fixupOnLoad(::LevelChunk& lc) = 0;
65
66 virtual void setChanged() = 0;
67
68 virtual bool isChanged() const = 0;
69
70 virtual void onChanged(::BlockSource& region) = 0;
71
72 virtual void _setCanRenderCustomName(bool value) = 0;
73
74 virtual void _setCustomNameSaved(bool saveCustomName) = 0;
75 // NOLINTEND
76};
Definition RedactableString.h:10
Definition BlockActor.h:29
Definition BlockSource.h:71
Definition CompoundTag.h:18
Definition Container.h:35
Definition IVanillaMainBlockActorComponent.h:18
Definition LevelChunk.h:77