16class ProjectileFactory {
20 ::ll::TypedStorage<8, 8, ::Level&> mLevel;
25 ProjectileFactory& operator=(ProjectileFactory
const&);
26 ProjectileFactory(ProjectileFactory
const&);
32 MCAPI
explicit ProjectileFactory(
::Level& level);
34 MCAPI
void _applyEnchantmentsToProjectile(
::Mob const& owner,
::Actor& projectile);
36 MCAPI ::Actor* shootProjectileFromDefinition(
42 bool useUnmodifiedDirection,
43 bool overrideSpawnPosition,
51 MCAPI static ::std::unique_ptr<::OnHitSubcomponent>
52 createSubcomponent(
::Json::Value& trigger, ::std::string
const& name);
54 MCAPI
static void initFactory();
56 MCAPI
static void shutdown();
62 MCAPI static ::std::unordered_map<::std::string, ::std::function<::std::unique_ptr<::OnHitSubcomponent>()>>&
69 MCFOLD
void* $ctor(
::Level& level);