21class SeedItemComponentLegacy {
25 ::ll::TypedStorage<8, 8, ::Item&> mOwner;
26 ::ll::TypedStorage<8, 8, ::Block const*> mResult;
27 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mTargetLandBlocks;
28 ::ll::TypedStorage<1, 1, bool> mPlantAtAnyVisibleSolidSurface;
29 ::ll::TypedStorage<1, 1, bool> mIsPlanting;
30 ::ll::TypedStorage<1, 1, uchar> mFaceToPlantAt;
35 SeedItemComponentLegacy& operator=(SeedItemComponentLegacy
const&);
36 SeedItemComponentLegacy(SeedItemComponentLegacy
const&);
37 SeedItemComponentLegacy();
42 MCAPI
explicit SeedItemComponentLegacy(
::Item& owner);
44 MCAPI ::std::unique_ptr<::CompoundTag> buildNetworkTag()
const;
47 MCAPI
bool canUseOn(
::Actor& entity,
::BlockPos const& blockPos, uchar face)
const;
50 MCAPI
bool init(
::Json::Value const& data, ::MolangVersion molangVersion);
52 MCFOLD
bool isPlanting()
const;
54 MCFOLD
void setPlanting(
bool planting);
63 MCAPI static ::Json::Value initializeFromNetwork(
::CompoundTag const& tag);
69 MCAPI
void* $ctor(
::Item& owner);