18class EditorBlockSource :
public ::BlockSource {
27 EditorBlockSource& operator=(EditorBlockSource
const&);
28 EditorBlockSource(EditorBlockSource
const&);
34 virtual ~EditorBlockSource() =
default;
40 virtual ::gsl::span<::gsl::not_null<::Actor*>>
41 fetchEntities(
::Actor const* except,
::AABB const& bb,
bool useHitbox,
bool getDisplayEntities) ;
43 virtual ::gsl::span<::gsl::not_null<::Actor*>> fetchEntities(
44 ::ActorType entityTypeId,
47 ::std::function<
bool(
::Actor*)> selector
50 virtual bool hasChunksAt(
::Bounds const& bounds,
bool ignoreClientChunk)
const ;
52 virtual bool hasChunksAt(
::BlockPos const& pos,
int r,
bool ignoreClientChunk)
const ;
54 virtual bool hasChunksAt(
::AABB const& bb,
bool ignoreClientChunk)
const ;
65 MCNAPI ::gsl::span<::gsl::not_null<::Actor*>>
66 $fetchEntities(
::Actor const* except,
::AABB const& bb,
bool useHitbox,
bool getDisplayEntities);
68 MCNAPI ::gsl::span<::gsl::not_null<::Actor*>> $fetchEntities(
69 ::ActorType entityTypeId,
72 ::std::function<
bool(
::Actor*)> selector
75 MCNAPI
bool $hasChunksAt(
::Bounds const& bounds,
bool ignoreClientChunk)
const;
77 MCNAPI
bool $hasChunksAt(
::BlockPos const& pos,
int r,
bool ignoreClientChunk)
const;
79 MCNAPI
bool $hasChunksAt(
::AABB const& bb,
bool ignoreClientChunk)
const;