21 ::ll::TypedStorage<8, 64, ::std::unordered_set<::BlockPos>> mBlockPositions;
22 ::ll::TypedStorage<4, 12, ::BlockPos> mMin;
23 ::ll::TypedStorage<4, 12, ::BlockPos> mMax;
24 ::ll::TypedStorage<8, 8, uint64> mChangeCount;
29 ListBlockVolume& operator=(ListBlockVolume
const&);
35 virtual ::BlockPos getMin()
const ;
37 virtual ::BlockPos getMax()
const ;
39 virtual ::BoundingBox getBoundingBox()
const ;
41 virtual ::glm::ivec3 getSpan()
const ;
43 virtual int getCapacity()
const ;
45 virtual bool isInside(
::BlockPos const& pos)
const ;
47 virtual void translate(
::BlockPos const& delta) ;
49 virtual void forEach(::std::function<
bool(
::BlockPos const&)> callback)
const ;
51 virtual ::std::set<::ChunkPos> getChunks()
const ;
53 virtual ::std::unordered_set<::BlockPos> getFlattenedBlockPositions()
const ;
55 virtual ::std::unique_ptr<::BaseBlockLocationIterator> getIterator()
const ;
57 virtual ~ListBlockVolume() =
default;
63 MCAPI
explicit ListBlockVolume(::std::vector<::BlockPos>
const& blockPositions);
65 MCAPI ListBlockVolume(::ListBlockVolume
const& rhs);
67 MCAPI
void insert(::std::vector<::Vec3>
const& blockPositions);
73 MCAPI
void* $ctor(::std::vector<::BlockPos>
const& blockPositions);
75 MCAPI
void* $ctor(::ListBlockVolume
const& rhs);
81 MCAPI ::BlockPos $getMin()
const;
83 MCAPI ::BlockPos $getMax()
const;
85 MCAPI ::BoundingBox $getBoundingBox()
const;
87 MCAPI ::glm::ivec3 $getSpan()
const;
89 MCFOLD
int $getCapacity()
const;
91 MCAPI
bool $isInside(
::BlockPos const& pos)
const;
93 MCAPI
void $translate(
::BlockPos const& delta);
95 MCAPI
void $forEach(::std::function<
bool(
::BlockPos const&)> callback)
const;
97 MCAPI ::std::set<::ChunkPos> $getChunks()
const;
99 MCAPI ::std::unordered_set<::BlockPos> $getFlattenedBlockPositions()
const;
101 MCAPI ::std::unique_ptr<::BaseBlockLocationIterator> $getIterator()
const;