3#include "mc/_HeaderOutputPredefine.h"
12namespace VoxelShapes {
14class VoxelShapeRegistry {
29 VoxelShapeRegistry& operator=(VoxelShapeRegistry
const&);
30 VoxelShapeRegistry(VoxelShapeRegistry
const&);
40 MCNAPI ::VoxelShapes::RegistryHandle
49 MCNAPI ::std::unordered_map<::HashedString, ::VoxelShapes::RegistryHandle>
const&
61 MCNAPI
void initializeFromNetwork(
62 ::std::vector<::VoxelShapes::VoxelShape>
const& shapes,
63 ::std::unordered_map<::HashedString, ::VoxelShapes::RegistryHandle>
const& nameMap,
64 ushort customShapeCount
80 MCNAPI static ::HashedString
const&
EMPTY_ID();
Definition HashedString.h:5
Definition RegistryHandle.h:7
static MCAPI bool _computeIsCubeShapeEquivalent(::VoxelShapes::VoxelShape const &shape)
MCAPI::VoxelShapes::VoxelShape const * getShapeByHandle(::VoxelShapes::RegistryHandle registryHandle) const
MCAPI bool isInitialized() const
MCAPI ::std::unordered_map<::HashedString, ::VoxelShapes::RegistryHandle > const & getNameMapForSerialization() const
MCAPI uint64 getCustomShapeCount() const
MCAPI::VoxelShapes::RegistryHandle getEmptyShapeHandle() const
MCAPI ::std::vector<::VoxelShapes::VoxelShape > const & getShapesForSerialization() const
MCAPI::VoxelShapes::RegistryHandle addShapeForIdentifier(::HashedString const &name, ::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
MCAPI::VoxelShapes::RegistryHandle getHandleByName(::HashedString const &name) const
MCAPI::VoxelShapes::RegistryHandle getUnitCubeHandle() const
MCAPI::VoxelShapes::RegistryHandle addShape(::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
static MCAPI ::HashedString const & EMPTY_ID()
static MCAPI ::HashedString const & UNIT_CUBE_ID()
MCAPI::VoxelShapes::RegistryHandle _insertOrFindDuplicate(::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
Definition VoxelShape.h:19