3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/pub_sub/Subscription.h"
7#include "mc/world/item/components/BlockTypePtr.h"
8#include "mc/world/item/components/NetworkedItemComponent.h"
9#include "mc/world/level/block/BlockDescriptor.h"
10#include "mc/world/level/storage/AllExperiments.h"
38 ::ll::TypedStorage<8, 8, ::BlockType const*> mBlock;
39 ::ll::TypedStorage<1, 1, bool const> mAlignedPlacement;
46 ::ll::TypedStorage<8, 8, ::BlockTypePtr> mBlock;
47 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mAllowedUseBlocks;
48 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnUseOnSubscription;
49 ::ll::TypedStorage<1, 1, bool> mCanUseBlockAsIcon;
50 ::ll::TypedStorage<1, 1, bool> mReplaceBlockItem;
51 ::ll::TypedStorage<1, 1, bool> mAlignedPlacement;
56 PlanterItemComponent();
61 virtual void handleVersionBasedInitialization(
::SemVersion const& originalJsonVersion) ;
88 ::std::vector<::AllExperiments>
const& requiredToggles,
89 ::std::optional<::SemVersion> releasedMinFormatVersion
92 MCAPI static ::PlanterItemComponent::BlockPlacementContext getBlockPlacementContext(
::ItemStackBase const& item);
Definition BlockType.h:79
Definition ComponentItem.h:52
Definition CompoundTag.h:18
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition NetworkedItemComponent.h:7
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
static MCAPI void bindType(::cereal::ReflectionCtx &ctx, ::std::vector<::AllExperiments > const &requiredToggles, ::std::optional<::SemVersion > releasedMinFormatVersion)
MCAPI void $handleVersionBasedInitialization(::SemVersion const &originalJsonVersion)
MCAPI bool $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI void $_initializeComponent(::ComponentItem &owner)
MCAPI bool calculatePlacePos(::ItemStackBase const &instance, ::Actor const &entity, uchar &face, ::BlockPos &pos) const
MCAPI void * $ctor(::SharedTypes::v1_26_0::PlanterItemComponent component)
static MCAPI void ** $vftable()
MCAPI PlanterItemComponent(::SharedTypes::v1_26_0::PlanterItemComponent component)
Definition SemVersion.h:15
Definition PlanterItemComponent.h:34
Definition PlanterItemComponent.h:17
Definition ReflectionCtx.h:11