3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ActorDefinitionTrigger.h"
8#include "mc/world/actor/ai/goal/BaseMoveToBlockGoal.h"
9#include "mc/world/item/ItemDescriptor.h"
10#include "mc/world/level/material/MaterialType.h"
24 ::ll::TypedStorage<8, 24, ::std::vector<::ItemDescriptor>
const> mTargetBlocks;
25 ::ll::TypedStorage<8, 24, ::std::vector<::MaterialType>
const> mTargetMaterialsAboveBlock;
26 ::ll::TypedStorage<1, 1, bool const> mAllowLayingFromBelow;
27 ::ll::TypedStorage<1, 1, bool const> mUseDefaultAnimation;
28 ::ll::TypedStorage<4, 4, float const> mLaySeconds;
29 ::ll::TypedStorage<8, 16, ::ItemDescriptor const> mEggType;
30 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger const> mOnLay;
31 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent const> mLayEggSound;
32 ::ll::TypedStorage<4, 4, int> mLayEggCounter;
43 virtual bool findTargetBlock() ;
46 virtual bool canUse() ;
49 virtual bool canContinueToUse() ;
52 virtual void start() ;
58 virtual void appendDebugInfo(::std::string& str)
const ;
64 virtual void _moveToBlock() ;
79 ::std::vector<::ItemDescriptor>
const& targetBlocks,
80 ::std::vector<::MaterialType>
const& targetMaterialsAboveBlock,
81 bool allowLayingFromBelow,
82 bool useDefaultAnimation,
86 ::std::string
const& layEggSound
101 ::std::vector<::ItemDescriptor>
const& targetBlocks,
102 ::std::vector<::MaterialType>
const& targetMaterialsAboveBlock,
103 bool allowLayingFromBelow,
104 bool useDefaultAnimation,
108 ::std::string
const& layEggSound
Definition ActorDefinitionTrigger.h:5
Definition BaseMoveToBlockGoal.h:13
Definition BlockLegacy.h:88
Definition BlockSource.h:67
Definition ItemDescriptor.h:22
Definition LayEggGoal.h:20
static MCAPI void ** $vftable()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $findTargetBlock()
MCAPI LayEggGoal(::Mob &mob, float speedModifier, int searchRange, int searchHeight, float goalRadius, ::std::vector<::ItemDescriptor > const &targetBlocks, ::std::vector<::MaterialType > const &targetMaterialsAboveBlock, bool allowLayingFromBelow, bool useDefaultAnimation, float laySeconds, ::ItemDescriptor const &eggType, ::ActorDefinitionTrigger const &onLay, ::std::string const &layEggSound)
MCAPI void $_moveToBlock()
MCAPI bool _isTargetBlock(::BlockLegacy const &block) const
MCAPI bool $isValidTarget(::BlockSource ®ion, ::BlockPos const &pos)
MCAPI void * $ctor(::Mob &mob, float speedModifier, int searchRange, int searchHeight, float goalRadius, ::std::vector<::ItemDescriptor > const &targetBlocks, ::std::vector<::MaterialType > const &targetMaterialsAboveBlock, bool allowLayingFromBelow, bool useDefaultAnimation, float laySeconds, ::ItemDescriptor const &eggType, ::ActorDefinitionTrigger const &onLay, ::std::string const &layEggSound)
MCAPI bool $canContinueToUse()