40 ::ll::TypedStorage<8, 8, ::Level&> mLevel;
41 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
42 ::ll::TypedStorage<8, 48, ::SpawnSettings> mSpawnSettings;
43 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorSpawnRuleGroup>> mActorSpawnRules;
44 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SpawnGroupRegistry>> mSpawnGroupRegistry;
45 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::br::spawn::EntityTypeCache>> mEntityTypeCache;
46 ::ll::TypedStorage<8, 272, ::br::spawn::SpawnPlacements> mSpawnPlacements;
47 ::ll::TypedStorage<4, 56, int[2][7]> mBaseTypeCount;
48 ::ll::TypedStorage<8, 128, ::std::unordered_map<::HashedString, int>[2]> mEntityTypeCount;
49 ::ll::TypedStorage<4, 4, int> mTotalEntityCount;
50 ::ll::TypedStorage<4, 4, uint> mSpawnableMobTickCount;
51 ::ll::TypedStorage<4, 4, uint> mSpawnableMobTickCountPrevious;
56 BedrockSpawner& operator=(BedrockSpawner
const&);
57 BedrockSpawner(BedrockSpawner
const&);
63 virtual ~BedrockSpawner() =
default;
67 virtual ::SpawnSettings
const& getSpawnSettings()
const ;
71 virtual ::ActorSpawnRuleGroup
const* getSpawnRules()
const ;
73 virtual ::ActorSpawnRuleGroup* getSpawnRulesMutable()
const ;
75 virtual ::SpawnGroupRegistry
const* getSpawnGroupRegistry()
const ;
77 virtual ::br::spawn::EntityTypeCache* getEntityTypeCache()
const ;
79 virtual ::ItemActor* spawnItem(
95 virtual void tickMobCount() ;
97 virtual void incrementSpawnableTickedMob() ;
99 virtual uint getSpawnableTickedMobCountPrevious()
const ;
101 virtual ::std::unordered_set<::ActorUniqueID> spawnMobGroup(
103 ::std::string
const& spawnGroupId,
106 bool validateDistToPlayer,
107 ::std::function<
void(
::Mob&)>&& spawnedCallback
110 virtual ::br::spawn::SpawnPlacements& getSpawnPlacements() ;
120 MCAPI
void _spawnMobInCluster(
125 ::std::vector<::Mob*>& spawnGroup
136 MCAPI
static void _sendHerdEvents(
::MobSpawnHerdInfo const& herdInfo, ::std::vector<::Mob*>& spawnGroup);
176 MCAPI
void $tickMobCount();
184 ::std::string
const& spawnGroupId,
187 bool validateDistToPlayer,
188 ::std::function<
void(
::Mob&)>&& spawnedCallback
MCAPI ::std::unordered_set<::ActorUniqueID > $spawnMobGroup(::BlockSource ®ion, ::std::string const &spawnGroupId, ::Vec3 const &pos, bool doScatter, bool validateDistToPlayer, ::std::function< void(::Mob &)> &&spawnedCallback)