23class BannerBlockActor :
public ::BlockActor {
27 ::ll::TypedStorage<1, 1, bool> mDirtyBounds;
28 ::ll::TypedStorage<1, 1, uchar> mBaseColor;
29 ::ll::TypedStorage<8, 24, ::std::vector<uchar>> mPatterns;
30 ::ll::TypedStorage<8, 24, ::std::vector<uchar>> mColors;
31 ::ll::TypedStorage<4, 4, ::BannerBlockType> mBannerType;
49 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
57 MCAPI
explicit BannerBlockActor(
::BlockPos const& pos);
60 MCFOLD ::BannerBlockType getBannerType()
const;
62 MCAPI ::mce::Color getBaseColor()
const;
65 MCFOLD uchar getBaseColorInt()
const;
68 MCAPI ::mce::Color getColor(
int index)
const;
70 MCAPI uchar getPattern(
int index)
const;
72 MCAPI
int getPatternCount()
const;
81 MCAPI static ::BannerBlockType getBannerType(
::CompoundTag const* tag);
83 MCAPI
static int getBaseColor(
::ItemStack const& item);
86 MCAPI static ::std::string getColors(
::CompoundTag const* tag);
89 MCAPI
static int getPatternCount(
::CompoundTag const* tagElement);
92 MCAPI static ::std::string getPatterns(
::CompoundTag const* tag);
97 MCAPI
static void removeLastPattern(
::ItemStack& instance);
100 MCAPI
static void setBannerDetails(
103 ::std::string
const& patterns,
104 ::std::string
const& colors,
105 ::BannerBlockType bannerType
113 MCAPI
static int const& MAX_PATTERNS();
115 MCAPI static ::std::string
const& TAG_BASE_COLOR();
117 MCAPI static ::std::string
const& TAG_COLOR();
119 MCAPI static ::std::string
const& TAG_PATTERN();
121 MCAPI static ::std::string
const& TAG_PATTERNS();
123 MCAPI static ::std::string
const& TAG_TYPE();
143 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
153 MCAPI
static void** $vftable();
Definition SaveContext.h:5