27 enum class BrushingState :
int {
32 enum class Placement :
int {
45 ::ll::TypedStorage<8, 24, ::std::optional<::ExpiringTick>> mBrushReset;
46 ::ll::TypedStorage<8, 24, ::std::optional<::ExpiringTick>> mBrushCooldown;
47 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mDisplayEntity;
48 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mItems;
49 ::ll::TypedStorage<8, 48, ::HashedString> mBlockId;
50 ::ll::TypedStorage<4, 4, uint> mBrushCount;
51 ::ll::TypedStorage<1, 1, uchar> mBrushDirection;
52 ::ll::TypedStorage<1, 1, bool> mLootTableUnpacked;
66 virtual void serverInitItemStackIds(
69 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
73 virtual int getContainerSize()
const ;
76 virtual int getMaxStackSize()
const ;
79 virtual ::ItemStack
const& getItem(
int slot)
const ;
82 virtual void setItem(
int slot,
::ItemStack const& item) ;
85 virtual void stopOpen(
::Player& player) ;
100 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
124 MCAPI static ::std::string getLootTableFromVariant(::BrushableBlockActor::Placement state);
142 MCAPI
void $serverInitItemStackIds(
145 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
148 MCFOLD
int $getContainerSize()
const;
150 MCFOLD
int $getMaxStackSize()
const;
152 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
154 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
156 MCFOLD
void $stopOpen(
::Player& player);
166 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
Definition SaveContext.h:5