27 ::ll::TypedStorage<4, 4, int> mPotionId;
28 ::ll::TypedStorage<4, 4, ::Potion::PotionType> mPotionType;
29 ::ll::TypedStorage<1, 1, bool> mHasCustomColor;
30 ::ll::TypedStorage<4, 4, int> mCustomColor;
31 ::ll::TypedStorage<8, 1520, ::ItemStack[10]> mItems;
41 virtual ::ItemStack
const& getItem(
int slot)
const ;
44 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
47 virtual ::std::string getName()
const ;
50 virtual int getMaxStackSize()
const ;
53 virtual int getContainerSize()
const ;
59 virtual void stopOpen(
::Player& player) ;
62 virtual ::Container* getContainer() ;
65 virtual ::Container
const* getContainer()
const ;
80 virtual void serverInitItemStackIds(
83 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
87 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
96 MCAPI ::mce::Color getCustomColor()
const;
98 MCAPI ::mce::Color getMixDyeColor();
100 MCAPI ::mce::Color getPotionColor()
const;
102 MCAPI
void mixDyes();
110 MCAPI static ::mce::Color& WATER_COLOR();
116 MCFOLD ::ItemStack
const& $getItem(
int slot)
const;
118 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
120 MCAPI ::std::string $getName()
const;
122 MCFOLD
int $getMaxStackSize()
const;
124 MCFOLD
int $getContainerSize()
const;
128 MCFOLD
void $stopOpen(
::Player& player);
130 MCFOLD ::Container* $getContainer();
132 MCFOLD ::Container
const* $getContainer()
const;
142 MCAPI
void $serverInitItemStackIds(
145 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
148 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
Definition SaveContext.h:5