Lodestone.Minecraft.Java  1.2.6
Loading...
Searching...
No Matches
McRegionWorldIo.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 11/11/25 using zPc-i2.
3//
4#ifndef LODESTONE_MCREGIONWORLDIO_H
5#define LODESTONE_MCREGIONWORLDIO_H
6
8
10
12
19
20#include <filesystem>
21
24 : public conversion::io::WorldIO<&identifiers::MCREGION_WORLD_IO, const common::conversion::io::options::OptionPresets::CommonFilesystemOptions, const common::conversion::io::options::OptionPresets::CommonFilesystemOptions>,
25 public conversion::registry::RegistryIdentifierRelations< // allows us to do getByRelation<&identifiers::NBT_CHUNK_IO>() to get McRegionNbtChunkIO
26 conversion::registry::RegistryIdentifierRelation<&identifiers::NBT_PLAYER_IO, const player::McRegionNbtPlayerIO, &identifiers::MCREGION_NBT_PLAYER_IO, conversion::registry::PlayerIORegistry>, // TODO we don't have a jungle anvil player type yet
27 conversion::registry::RegistryIdentifierRelation<&identifiers::NBT_CHUNK_IO, const chunk::McRegionNbtChunkIO, &identifiers::MCREGION_NBT_CHUNK_IO, conversion::registry::ChunkIORegistry>,
28 conversion::registry::RegistryIdentifierRelation<&lodestone::conversion::identifiers::CHUNK_IO, const chunk::McRegionChunkIO, &identifiers::MCREGION_CHUNK_IO, conversion::registry::ChunkIORegistry>,
29 conversion::registry::RegistryIdentifierRelation<&lodestone::minecraft::common::identifiers::io::REGION_IO, const region::McRegionRegionIO, &identifiers::MCREGION_REGION_IO, conversion::registry::RegionIORegistry>
30 > {
31 public:
32 std::unique_ptr<lodestone::level::world::World>
35 };
36} // namespace lodestone::minecraft::java::mcregion::world
37
38#endif // LODESTONE_MCREGIONWORLDIO_H
lodestone::conversion::io::options::OptionsBuilder< lodestone::conversion::io::options::fs::FilesystemPathOptions, lodestone::conversion::io::options::versioned::VersionedOptions > CommonFilesystemOptions
std::unique_ptr< lodestone::level::world::World > read(const common::conversion::io::options::OptionPresets::CommonFilesystemOptions &options) const override
Definition McRegionWorldIo.cpp:34
void write(lodestone::level::world::World *w, const common::conversion::io::options::OptionPresets::CommonFilesystemOptions &options) const override
Definition McRegionWorldIo.cpp:215
Definition McRegionLevelData.cpp:6