|
MCAPI void | _networkUpdateItem (int slot, ::ItemStack const &newItem) |
|
virtual::ItemStack const & | getItem (int) const |
|
virtual int | getContainerSize () const |
|
virtual int | getMaxStackSize () const |
|
virtual void | containerContentChanged (int) |
|
virtual void | setItem (int modelSlot, ::ItemStack const &item) |
|
virtual void | serverInitItemStackIds (int, int, ::std::function< void(int, ::ItemStack const &)>) |
|
virtual void | startOpen (::Player &) |
|
virtual void | stopOpen (::Player &player) |
|
virtual void | removeItem (int slot, int count) |
|
MCAPI void | _onItemNetworkChanged (int slot, ::ItemStack const &oldItem, ::ItemStack const &newItem) |
|
std::string const & | getTypeName () const |
|
LLNDAPI optional_ref< ItemStack > | getItemNonConst (int index) |
|
ItemStack & | operator[] (int index) |
|
ItemStack const & | operator[] (int index) const |
|
constexpr Iterator | begin () noexcept |
|
constexpr ConstIterator | cbegin () const noexcept |
|
constexpr Iterator | end () noexcept |
|
constexpr ConstIterator | cend () const noexcept |
|
constexpr ReverseIterator | rbegin () noexcept |
|
constexpr ConstReverseIterator | crbegin () const noexcept |
|
constexpr ReverseIterator | rend () noexcept |
|
constexpr ConstReverseIterator | crend () const noexcept |
|
virtual void | init () |
|
virtual void | addContentChangeListener (::ContainerContentChangeListener *listener) |
|
virtual void | removeContentChangeListener (::ContainerContentChangeListener *listener) |
|
virtual ::Bedrock::PubSub::Connector< void()> * | getContainerRemovedConnector () |
|
virtual bool | hasRemovedSubscribers () const |
|
virtual bool | hasRoomForItem (::ItemStack const &item) |
|
virtual bool | addItem (::ItemStack &item) |
|
virtual bool | addItemWithForceBalance (::ItemStack &item) |
|
virtual bool | addItemToFirstEmptySlot (::ItemStack const &item) |
|
virtual void | setItemWithForceBalance (int slot, ::ItemStack const &item, bool forceBalanced) |
|
virtual void | removeAllItems () |
|
virtual void | removeAllItemsWithForceBalance () |
|
virtual void | containerRemoved () |
|
virtual void | dropSlotContent (::BlockSource ®ion, ::Vec3 const &pos, bool randomizeDrop, int slot) |
|
virtual void | dropContents (::BlockSource ®ion, ::Vec3 const &pos, bool randomizeDrop) |
|
virtual ::std::vector<::ItemStack > | getSlotCopies () const |
|
virtual ::std::vector<::ItemStack const * > const | getSlots () const |
|
virtual int | getEmptySlotsCount () const |
|
virtual int | getItemCount (::ItemStack const &compare) const |
|
MCAPI int | getItemCount (::std::function< bool(::ItemStack const &)> comparator) |
|
virtual int | findFirstSlotForItem (::ItemStack const &item) const |
|
virtual bool | canPushInItem (int, int, ::ItemStack const &) const |
|
virtual bool | canPullOutItem (int, int, ::ItemStack const &) const |
|
virtual void | setContainerChanged (int slot) |
|
virtual void | setContainerMoved () |
|
virtual void | setCustomName (::Bedrock::Safety::RedactableString const &name) |
|
virtual bool | hasCustomName () const |
|
virtual void | readAdditionalSaveData (::CompoundTag const &tag) |
|
virtual void | addAdditionalSaveData (::CompoundTag &tag) |
|
virtual void | createTransactionContext (::std::function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback, ::std::function< void()> execute) |
|
virtual void | initializeContainerContents (::BlockSource ®ion) |
|
virtual bool | isEmpty () const |
|
virtual bool | isSlotDisabled (int) const |
|
MCAPI void | _dropSlotContent (::BlockSource ®ion, ::Random &random, ::Vec3 const &pos, bool randomizeDrop, int slot) |
|
MCAPI void | _serverInitId (int slot, ::ItemStack &item, ::std::function< void(int, ::ItemStack const &)> onNetIdChanged) |
|
MCAPI int | getRedstoneSignalFromContainer (::BlockSource ®ion) |
|
MCAPI void | removeCloseListener (::ContainerCloseListener *listener) |
|
MCAPI void | triggerTransactionChange (int slot, ::ItemStack const &oldItem, ::ItemStack const &newItem) |
|
MCAPI void * | $ctor (::Container const &) |
|
MCAPI void * | $ctor (::SharedTypes::Legacy::ContainerType type) |
|
MCAPI void * | $ctor (::SharedTypes::Legacy::ContainerType type, ::std::string const &name, bool customName) |
|
MCAPI void | $dtor () |
|
MCFOLD void | $dtor () |
|
MCFOLD void | $init () |
|
MCAPI void | $addContentChangeListener (::ContainerContentChangeListener *listener) |
|
MCAPI void | $removeContentChangeListener (::ContainerContentChangeListener *listener) |
|
MCFOLD ::Bedrock::PubSub::Connector< void()> * | $getContainerRemovedConnector () |
|
MCAPI bool | $hasRemovedSubscribers () const |
|
MCAPI bool | $hasRoomForItem (::ItemStack const &item) |
|
MCAPI bool | $addItem (::ItemStack &item) |
|
MCAPI bool | $addItemWithForceBalance (::ItemStack &item) |
|
MCAPI bool | $addItemToFirstEmptySlot (::ItemStack const &item) |
|
MCFOLD void | $setItemWithForceBalance (int slot, ::ItemStack const &item, bool forceBalanced) |
|
MCAPI void | $removeItem (int slot, int count) |
|
MCAPI void | $removeAllItems () |
|
MCAPI void | $removeAllItemsWithForceBalance () |
|
MCAPI void | $containerRemoved () |
|
MCAPI void | $dropSlotContent (::BlockSource ®ion, ::Vec3 const &pos, bool randomizeDrop, int slot) |
|
MCAPI void | $dropContents (::BlockSource ®ion, ::Vec3 const &pos, bool randomizeDrop) |
|
MCAPI void | $stopOpen (::Player &player) |
|
MCAPI ::std::vector<::ItemStack > | $getSlotCopies () const |
|
MCAPI ::std::vector<::ItemStack const * > const | $getSlots () const |
|
MCFOLD int | $getEmptySlotsCount () const |
|
MCAPI int | $getItemCount (::ItemStack const &compare) const |
|
MCAPI int | $findFirstSlotForItem (::ItemStack const &item) const |
|
MCFOLD bool | $canPushInItem (int, int, ::ItemStack const &) const |
|
MCFOLD bool | $canPullOutItem (int, int, ::ItemStack const &) const |
|
MCAPI void | $setContainerChanged (int slot) |
|
MCAPI void | $setContainerMoved () |
|
MCAPI void | $setCustomName (::Bedrock::Safety::RedactableString const &name) |
|
MCAPI bool | $hasCustomName () const |
|
MCAPI void | $readAdditionalSaveData (::CompoundTag const &tag) |
|
MCAPI void | $addAdditionalSaveData (::CompoundTag &tag) |
|
MCAPI void | $createTransactionContext (::std::function< void(::Container &, int, ::ItemStack const &, ::ItemStack const &)> callback, ::std::function< void()> execute) |
|
MCFOLD void | $initializeContainerContents (::BlockSource ®ion) |
|
MCAPI bool | $isEmpty () const |
|
MCFOLD bool | $isSlotDisabled (int) const |
|
|
::ll::TypedStorage< 4, 4, ::SparseContainerBackingSetType const > | mBackingSetType |
|
::ll::TypedStorage< 8, 8, ::Container & > | mBackingContainer |
|
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::ItemStack > > | mItems |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ISparseContainerSetListener > > | mNetManagerSetter |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IPlayerContainerSetter > > | mPlayerSetter |
|
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function< void(int, ::ItemStack const &, ::ItemStack const &)> > > | mItemNetworkChangedCallbacks |
|
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function< bool(int, ::ItemStackBase const &, int)> > > | mItemAllowedInSlotCallbacks |
|
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function< bool(::ItemStackBase const &)> > > | mItemAllowedToAddCallbacks |
|
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function< int(int, ::ItemStackBase const &)> > > | mAvailableSetCountCallbacks |
|
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function< bool(int)> > > | mValidSlotForContainerCallbacks |
|
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function< bool(::ItemStackBase const &)> > > | mItemAllowedToRemoveCallbacks |
|
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function< bool(::ItemStackBase const &)> > > | mItemAllowedInContainerCallbacks |
|
::ll::TypedStorage< 1, 1, bool const > | mIsClientSide |
|
::ll::TypedStorage< 1, 1, bool const > | mIsItemStackNetManagerEnabled |
|
::SharedTypes::Legacy::ContainerType | mContainerType |
|
::SharedTypes::Legacy::ContainerType | mGameplayContainerType |
|
::std::unordered_set<::ContainerContentChangeListener * > | mContentChangeListeners |
|
::std::unordered_set<::ContainerSizeChangeListener * > | mSizeChangeListeners |
|
::std::unordered_set<::ContainerCloseListener * > | mCloseListeners |
|
::Container::PublisherWrapper | mRemovedPublisher |
|
::std::deque< TransactionContext > | mTransactionContextStack |
|
::Bedrock::Safety::RedactableString | mName |
|
bool | mCustomName |
|
::ContainerOwner | mContainerOwner |
|
::ContainerRuntimeId | mContainerRuntimeId |
|