21class EditorBlockSource :
public ::BlockSource {
30 EditorBlockSource& operator=(EditorBlockSource
const&);
31 EditorBlockSource(EditorBlockSource
const&);
37 virtual ~EditorBlockSource() =
default;
43 virtual ::gsl::span<::gsl::not_null<::Actor*>>
44 fetchEntities(
::Actor const* except,
::AABB const& bb,
bool useHitbox,
bool getDisplayEntities) ;
46 virtual ::gsl::span<::gsl::not_null<::Actor*>> fetchEntities(
47 ::ActorType entityTypeId,
50 ::std::function<
bool(
::Actor*)> selector
53 virtual bool hasChunksAt(
::Bounds const& bounds,
bool ignoreClientChunk)
const ;
55 virtual bool hasChunksAt(
::BlockPos const& pos,
int r,
bool ignoreClientChunk)
const ;
57 virtual bool hasChunksAt(
::AABB const& bb,
bool ignoreClientChunk)
const ;
84 MCNAPI ::gsl::span<::gsl::not_null<::Actor*>>
85 $fetchEntities(
::Actor const* except,
::AABB const& bb,
bool useHitbox,
bool getDisplayEntities);
87 MCNAPI ::gsl::span<::gsl::not_null<::Actor*>> $fetchEntities(
88 ::ActorType entityTypeId,
91 ::std::function<
bool(
::Actor*)> selector
94 MCNAPI
bool $hasChunksAt(
::Bounds const& bounds,
bool ignoreClientChunk)
const;
96 MCNAPI
bool $hasChunksAt(
::BlockPos const& pos,
int r,
bool ignoreClientChunk)
const;
98 MCNAPI
bool $hasChunksAt(
::AABB const& bb,
bool ignoreClientChunk)
const;