50 using is_transparent = void;
59 ::ll::TypedStorage<4, 4, float> mTemperature;
60 ::ll::TypedStorage<4, 4, float> mDownfall;
61 ::ll::TypedStorage<4, 4, float> mFoliageSnow;
65 using BiomeNameLookupMap = ::std::unordered_map<uint64, ::std::unique_ptr<::Biome>>;
71 ::ll::TypedStorage<8, 720, ::WellKnownBiomeTags const> mWellKnownBiomeTags;
72 ::ll::TypedStorage<1, 1, bool> mSurfaceBuildersResolved;
73 ::ll::TypedStorage<1, 1, bool> mClientInitialized;
74 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::std::unique_ptr<::Biome>>> mBiomesByName;
79 ::gsl::not_null<::Biome*>,
81 ::std::vector<::gsl::not_null<::Biome*>>>>
83 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::BiomeIdType const, ::std::string const&>>>
84 mRemovedBiomesIdAndFullName;
85 ::ll::TypedStorage<4, 4, uint> mNextCustomBiomeId;
86 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mClosedForRegistration;
87 ::ll::TypedStorage<8, 8, ::Biome*> mEmptyBiome;
88 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSaveSubscription;
89 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnLevelStorageManagerStartLeaveGameSubscription;
90 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeRegistry::SeasonTextureRowSettings>> mSeasonTextureRowSettings;
96 virtual ~BiomeRegistry() =
default;
102 MCAPI BiomeRegistry();
104 MCAPI ::Biome& _register(::std::string_view name,
::BiomeIdType id);
113 MCAPI ::std::vector<::std::string>
const biomeGetTags(
::Biome const& biome)
const;
117 MCAPI
bool biomeHasTag(
::Biome const& biome, uint64 tagHash)
const;
123 MCAPI ::std::vector<::Biome const*> getBiomesInDimension(
::DimensionType type)
const;
128 MCAPI
void loadAllBiomeDocuments(
134 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlueResolvedBiomeData>>&
135 biomeIdToResolvedData,
150 MCFOLD ::Biome
const* lookupByName(::std::string
const& name)
const;
152 MCFOLD ::Biome* lookupByName(::std::string
const& name);
Definition BiomeRegistry.h:55