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;
46 virtual ::ItemStack
const& getItem(
int slot)
const ;
49 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
52 virtual ::std::string getName()
const ;
55 virtual int getMaxStackSize()
const ;
58 virtual int getContainerSize()
const ;
61 virtual void startOpen(
::Actor&) ;
64 virtual void stopOpen(
::Actor& actor) ;
67 virtual ::Container* getContainer() ;
70 virtual ::Container
const* getContainer()
const ;
85 virtual void serverInitItemStackIds(
88 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
92 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
103 MCAPI ::mce::Color getCustomColor()
const;
105 MCAPI ::mce::Color getMixDyeColor();
107 MCAPI ::mce::Color getPotionColor()
const;
109 MCAPI
void mixDyes();
117 MCAPI static ::mce::Color& WATER_COLOR();
129 MCFOLD ::ItemStack
const& $getItem(
int slot)
const;
131 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
133 MCAPI ::std::string $getName()
const;
135 MCFOLD
int $getMaxStackSize()
const;
137 MCFOLD
int $getContainerSize()
const;
139 MCFOLD
void $startOpen(
::Actor&);
141 MCFOLD
void $stopOpen(
::Actor& actor);
143 MCFOLD ::Container* $getContainer();
145 MCFOLD ::Container
const* $getContainer()
const;
155 MCAPI
void $serverInitItemStackIds(
158 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
161 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
Definition SaveContext.h:5