23class ShipwreckFeature :
public ::StructureFeature {
27 ::ll::TypedStorage<1, 1, bool const> mUseTiltedSpacing;
28 ::ll::TypedStorage<4, 4, int const> mSpacing;
29 ::ll::TypedStorage<4, 4, int const> mMinSeparation;
30 ::ll::TypedStorage<8, 8, ::OceanMonumentFeature&> mMonument;
31 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeIdType>> mAllowedBiomes;
36 ShipwreckFeature& operator=(ShipwreckFeature
const&);
37 ShipwreckFeature(ShipwreckFeature
const&);
43 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes()
const ;
45 virtual bool getNearestGeneratedFeature(
51 bool mustBeInNewChunks,
52 ::std::optional<::HashedString>
const& biomeTag
55 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
63 virtual bool isFeatureChunk(
96 bool mustBeInNewChunks,
97 ::std::optional<::HashedString>
const& biomeTag
108 MCAPI
bool $isFeatureChunk(
MCAPI ::std::unique_ptr<::StructureStart > $createStructureStart(::Dimension &generator, ::BiomeSource const &biomeSource, ::Random &random, ::ChunkPos const &lc, ::IPreliminarySurfaceProvider const &)
MCAPI bool $getNearestGeneratedFeature(::Dimension &dimension, ::BiomeSource const &biomeSource, ::BlockPos const &origin, ::BlockPos &pos, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, bool mustBeInNewChunks, ::std::optional<::HashedString > const &biomeTag)