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 ::ItemStack
const& getItem(
int slot)
const ;
45 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
48 virtual ::std::string getName()
const ;
51 virtual int getMaxStackSize()
const ;
54 virtual int getContainerSize()
const ;
60 virtual void stopOpen(
::Player& player) ;
63 virtual ::Container* getContainer() ;
66 virtual ::Container
const* getContainer()
const ;
81 virtual void serverInitItemStackIds(
84 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
88 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
99 MCAPI ::mce::Color getCustomColor()
const;
101 MCAPI ::mce::Color getMixDyeColor();
103 MCAPI ::mce::Color getPotionColor()
const;
105 MCAPI
void mixDyes();
113 MCAPI static ::mce::Color& WATER_COLOR();
131 MCFOLD ::ItemStack
const& $getItem(
int slot)
const;
133 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
135 MCAPI ::std::string $getName()
const;
137 MCFOLD
int $getMaxStackSize()
const;
139 MCFOLD
int $getContainerSize()
const;
143 MCFOLD
void $stopOpen(
::Player& player);
145 MCFOLD ::Container* $getContainer();
147 MCFOLD ::Container
const* $getContainer()
const;
157 MCAPI
void $serverInitItemStackIds(
160 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
163 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
171 MCAPI
static void** $vftableForBlockActor();
173 MCAPI
static void** $vftableForContainer();
Definition SaveContext.h:5