LeviLamina
Loading...
Searching...
No Matches
ProjectileFactory Class Reference

Public Member Functions

ProjectileFactory & operator= (ProjectileFactory const &)
 ProjectileFactory (ProjectileFactory const &)
MCAPI::Actor * shootProjectileFromDefinition (::ActorDefinitionIdentifier const &identifier, ::Mob *owner, ::Vec3 targetDir, int auxValue, float throwPower, bool useUnmodifiedDirection, bool overrideSpawnPosition, ::Vec3 spawnPosition)

Static Public Member Functions

static MCAPI void _applyEnchantmentsToProjectile (::Mob const &owner, ::Actor &projectile)
static MCAPI void createSubcomponentDefinitionFromLegacy (::Json::Value &trigger, ::std::string const &name, ::SharedTypes::v1_26_50::OnHitCommandsStorage &onHitCommands)
static MCAPI ::std::unique_ptr<::OnHitSubcomponent > createSubcomponentFromDefinition (::std::string const &name, ::entt::meta_any const &def)
static MCAPI void initFactory ()
static MCAPI void shutdown ()
static MCAPI ::std::unordered_map< ::std::string_view, ::std::function< void(::Json::Value &, ::SharedTypes::v1_26_50::OnHitCommandsStorage &)> > & mSubcomponentDefinitionMap ()
static MCAPI ::std::unordered_map< ::std::string_view, ::std::function<::std::unique_ptr<::OnHitSubcomponent >(::entt::meta_any const &)> > & mSubcomponentMap ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Level & > mLevel

The documentation for this class was generated from the following file: