24class CauldronBlockActor :
public ::BlockActor,
public ::Container {
28 ::ll::TypedStorage<4, 4, int> mPotionId;
29 ::ll::TypedStorage<4, 4, ::Potion::PotionType> mPotionType;
30 ::ll::TypedStorage<1, 1, bool> mHasCustomColor;
31 ::ll::TypedStorage<4, 4, int> mCustomColor;
32 ::ll::TypedStorage<8, 1520, ::ItemStack[10]> mItems;
42 virtual ~CauldronBlockActor() =
default;
44 virtual ::ItemStack
const& getItem(
int index)
const ;
46 virtual void setItem(
int slot,
::ItemStack const& item) ;
48 virtual ::std::string getName()
const ;
50 virtual int getMaxStackSize()
const ;
52 virtual int getContainerSize()
const ;
54 virtual void startOpen(
::Actor&) ;
56 virtual void stopOpen(
::Actor& actor) ;
58 virtual ::Container* getContainer() ;
60 virtual ::Container
const* getContainer()
const ;
70 virtual void serverInitItemStackIds(
73 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
76 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
84 MCAPI
explicit CauldronBlockActor(
::BlockPos const& pos);
86 MCAPI ::mce::Color getCustomColor()
const;
88 MCAPI ::mce::Color getMixDyeColor();
90 MCAPI ::mce::Color getPotionColor()
const;
100 MCAPI static ::mce::Color& WATER_COLOR();
112 MCFOLD ::ItemStack
const& $getItem(
int index)
const;
114 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
116 MCAPI ::std::string $getName()
const;
118 MCFOLD
int $getMaxStackSize()
const;
120 MCFOLD
int $getContainerSize()
const;
122 MCFOLD
void $startOpen(
::Actor&);
124 MCFOLD
void $stopOpen(
::Actor& actor);
126 MCFOLD ::Container* $getContainer();
128 MCFOLD ::Container
const* $getContainer()
const;
138 MCAPI
void $serverInitItemStackIds(
141 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
144 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
154 MCAPI
static void** $vftableForBlockActor();
156 MCAPI
static void** $vftableForContainer();
Definition SaveContext.h:5