3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/editor/structure/EditorStructureTemplate.h"
7#include "mc/world/actor/ActorType.h"
8#include "mc/world/level/BlockPos.h"
9#include "mc/world/level/BlockSource.h"
10#include "mc/world/phys/AABB.h"
26 ::ll::TypedStorage<4, 24, ::AABB> mBounds;
27 ::ll::TypedStorage<8, 408, ::Editor::EditorStructureTemplate> mTemplate;
28 ::ll::TypedStorage<4, 12, ::BlockPos const> mOffset;
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 ;
56 virtual bool setBlock(
72 MCNAPI ::gsl::span<::gsl::not_null<::Actor*>>
76 ::ActorType entityTypeId,
79 ::std::function<
bool(
::Actor*)> selector
Definition BlockChangeContext.h:10
Definition BlockSourceListener.h:18
Definition EditorStructureBlockSource.h:22
MCAPI bool $hasChunksAt(::BlockPos const &pos, int r, bool ignoreClientChunk) const
MCAPI bool $hasChunksAt(::Bounds const &bounds, bool ignoreClientChunk) const
static MCAPI void ** $vftable()
MCAPI ::gsl::span<::gsl::not_null<::Actor * > > $fetchEntities(::Actor const *except, ::AABB const &bb, bool useHitbox, bool getDisplayEntities)
MCAPI ::gsl::span<::gsl::not_null<::Actor * > > $fetchEntities(::ActorType entityTypeId, ::AABB const &bb, ::Actor const *except, ::std::function< bool(::Actor *)> selector)
MCAPI void $removeListener(::BlockSourceListener &l)
MCAPI void $addListener(::BlockSourceListener &l)
MCAPI bool $hasChunksAt(::AABB const &bb, bool ignoreClientChunk) const
MCAPI bool $setBlock(::BlockPos const &pos, ::Block const &block, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangeContext const &changeSourceContext)
Definition ActorBlockSyncMessage.h:8