22class SeedItemComponentLegacy {
26 ::ll::TypedStorage<8, 8, ::Item&> mOwner;
27 ::ll::TypedStorage<8, 8, ::Block const*> mResult;
28 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mTargetLandBlocks;
29 ::ll::TypedStorage<1, 1, bool> mPlantAtAnyVisibleSolidSurface;
30 ::ll::TypedStorage<1, 1, bool> mIsPlanting;
31 ::ll::TypedStorage<1, 1, uchar> mFaceToPlantAt;
36 SeedItemComponentLegacy& operator=(SeedItemComponentLegacy
const&);
37 SeedItemComponentLegacy(SeedItemComponentLegacy
const&);
38 SeedItemComponentLegacy();
48 MCNAPI
bool canUseOn(
::Actor& entity,
::BlockPos const& blockPos, uchar face)
const;
51 MCAPI
bool init(
::Json::Value const& data, ::MolangVersion molangVersion);
MCAPI bool useOn(::ItemStack &instance, ::Actor &actor, ::BlockPos const &blockPos, uchar face, ::Vec3 const &clickPos, ::HandSlot)