|
EditorBlockSource & | operator= (EditorBlockSource const &) |
|
| EditorBlockSource (EditorBlockSource const &) |
|
virtual void | addListener (::BlockSourceListener &) |
|
virtual void | removeListener (::BlockSourceListener &) |
|
virtual ::gsl::span<::gsl::not_null<::Actor * > > | fetchEntities (::Actor const *, ::AABB const &, bool, bool) |
|
virtual ::gsl::span<::gsl::not_null<::Actor * > > | fetchEntities (::ActorType, ::AABB const &, ::Actor const *, ::std::function< bool(::Actor *)>) |
|
virtual bool | hasChunksAt (::Bounds const &, bool) const |
|
virtual bool | hasChunksAt (::BlockPos const &, int, bool) const |
|
virtual bool | hasChunksAt (::AABB const &, bool) const |
|
LLNDAPI std::vector< Actor * > | getEntities (AABB const &range, float extendDistance=2.0f, ActorType actorType=ActorType::TypeMask, bool ignoreType=false) const |
|
LLNDAPI optional_ref< Container > | tryGetContainer (BlockPos const &pos) |
|
LLAPI optional_ref< Actor > | spawnActor (CompoundTag const &) |
|
virtual ::WeakRef<::BlockSource > | getWeakRef () |
|
virtual::Level & | getLevel () |
|
virtual::Dimension & | getDimension () const |
|
virtual::Dimension & | getDimension () |
|
virtual::Dimension const & | getDimensionConst () const |
|
virtual::DimensionType | getDimensionId () const |
|
virtual bool | isInstaticking (::BlockPos const &pos) const |
|
virtual::LevelChunk * | getChunk (int x, int z) const |
|
virtual::LevelChunk * | getChunk (::ChunkPos const &pos) const |
|
virtual::LevelChunk * | getChunkAt (::BlockPos const &pos) const |
|
virtual short | getAboveTopSolidBlock (::BlockPos const &pos, bool includeWater, bool includeLeaves, bool iteratePastInitialBlocking) const |
|
virtual short | getAboveTopSolidBlock (int x, int z, bool includeWater, bool includeLeaves) const |
|
virtual short | getHeight (::std::function< bool(::Block const &)> const &type, ::BlockPos const &pos) const |
|
virtual short | getHeight (::std::function< bool(::Block const &)> const &type, int x, int z) const |
|
virtual::Material const & | getMaterial (::BlockPos const &pos) const |
|
virtual::Material const & | getMaterial (int x, int y, int z) const |
|
virtual short | getMaxHeight () const |
|
virtual short | getMinHeight () const |
|
virtual bool | hasBorderBlock (::BlockPos const pos) const |
|
virtual float | getBrightness (::BlockPos const &pos) const |
|
virtual::Block const & | getLiquidBlock (::BlockPos const &p) const |
|
virtual::Block const & | getExtraBlock (::BlockPos const &p) const |
|
virtual bool | mayPlace (::Block const &block, ::BlockPos const &pos, uchar face, ::Actor *placer, bool ignoreEntities, ::Vec3 clickPos) |
|
virtual bool | hasBlock (::BlockPos const &pos) const |
|
virtual bool | canDoBlockDrops () const |
|
virtual bool | canDoContainedItemDrops () const |
|
MCAPI bool | hasChunksAt (::BlockPos const &min, ::BlockPos const &max, bool ignoreClientChunk) const |
|
virtual bool | areChunksFullyLoaded (::BlockPos const &pos, int r) const |
|
MCAPI bool | areChunksFullyLoaded (::BlockPos const &min, ::BlockPos const &max) const |
|
virtual bool | containsAnyLiquid (::AABB const &box) const |
|
virtual bool | containsMaterial (::AABB const &box, ::MaterialType material) const |
|
virtual::BlockActor const * | getBlockEntity (::BlockPos const &pos) const |
|
MCAPI::BlockActor * | getBlockEntity (::BlockPos const &) |
|
MCAPI ::gsl::span<::gsl::not_null<::Actor * > > | fetchEntities (::gsl::span<::gsl::not_null<::Actor const * > > ignoredEntities, ::AABB const &bb, bool useHitbox, bool getDisplayEntities) |
|
virtual void | fetchAABBs (::std::vector<::AABB > &shapes, ::AABB const &intersectTestBox, bool withUnloadedChunks) const |
|
virtual ::std::vector<::AABB > & | fetchAABBs (::AABB const &intersectTestBox, bool withUnloadedChunks) |
|
virtual ::std::vector<::AABB > & | fetchCollisionShapes (::AABB const &intersectTestBox, bool withUnloadedChunks, ::std::optional<::EntityContext const > entity, ::std::vector<::AABB > *tempShapes) |
|
virtual void | fetchCollisionShapes (::std::vector<::AABB > &shapes, ::AABB const &intersectTestBox, bool withUnloadedChunks, ::optional_ref<::GetCollisionShapeInterface const > entity, ::std::vector<::AABB > *tempShapes) const |
|
virtual void | fetchCollisionShapesAndBlocks (::std::vector<::BlockSourceVisitor::CollisionShape > &shapes, ::AABB const &intersectTestBox, bool withUnloadedChunks, ::optional_ref<::GetCollisionShapeInterface const > entity, ::std::vector<::AABB > *tempShapes) const |
|
virtual::AABB | getTallestCollisionShape (::AABB const &intersectTestBox, float *actualSurfaceOffset, bool withUnloadedChunks, ::optional_ref<::GetCollisionShapeInterface const > entity) const |
|
virtual::HitResult | clip (::Vec3 const &A, ::Vec3 const &B, bool checkAgainstLiquid, ::ShapeType shapeType, int maxDistance, bool ignoreBorderBlocks, bool fullOnly, ::Actor *actor, ::std::function< bool(::BlockSource const &, ::Block const &, bool)> const &shouldCheckBlock) const |
|
virtual::HitResult | clip (::ClipParameters const ¶meters) const |
|
virtual bool | isInWall (::Vec3 const &pos) const |
|
virtual bool | isUnderWater (::Vec3 const &pos, ::Block const &block) const |
|
virtual::Block const & | getBlock (int x, int y, int z) const |
|
virtual::Block const & | getBlock (::BlockPos const &pos) const |
|
virtual::Block const & | getBlock (::BlockPos const &pos, uint layer) const |
|
virtual bool | setBlock (::BlockPos const &pos, ::Block const &block, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::Actor *blockChangeSource) |
|
MCAPI bool | setBlock (::BlockPos const &pos, ::Block const &block, int updateFlags, ::std::shared_ptr<::BlockActor > blockEntity, ::ActorBlockSyncMessage const *syncMsg, ::Actor *blockChangeSource) |
|
MCAPI bool | setBlock (int x, int y, int z, ::Block const &block, int updateFlags, ::Actor *blockChangeSource) |
|
virtual bool | isSolidBlockingBlock (int x, int y, int z) const |
|
virtual bool | isSolidBlockingBlock (::BlockPos const &p) const |
|
virtual bool | removeBlock (::BlockPos const &pos) |
|
MCAPI bool | removeBlock (int x, int y, int z) |
|
virtual::ILevel & | getILevel () const |
|
virtual::LevelSeed64 | getLevelSeed64 () const |
|
virtual::ChunkSource & | getChunkSource () |
|
virtual bool | checkBlockPermissions (::Actor &entity, ::BlockPos const &blockPos, uchar face, ::ItemStackBase const &item, bool generateParticle) |
|
virtual void | postGameEvent (::Actor *source, ::GameEvent const &gameEvent, ::BlockPos const &originPos, ::Block const *affectedBlock) |
|
MCAPI void | postGameEvent (::Actor *source, ::GameEvent const &gameEvent, ::Vec3 const &originPos, ::Block const *affectedBlock) |
|
virtual void | updateCheckForValidityState (bool checkForValidity) |
|
MCAPI void | _addToTickingQueue (::BlockPos const &pos, ::Block const &block, int tickDelay, int priorityOffset, ::TickingQueueType queueType, bool skipOverrides) |
|
MCAPI void | _blockChanged (::BlockPos const &pos, uint layer, ::Block const &block, ::Block const &previousBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::Actor *blockChangeSource) |
|
MCAPI void | _fetchBorderBlockCollisions (::std::vector<::AABB > &shapes, ::AABB const &intersectTestBox, ::optional_ref<::GetCollisionShapeInterface const > entity, bool) const |
|
MCAPI void | _fetchEntityHelper (::WeakEntityRef entityRef, ::gsl::span<::gsl::not_null<::Actor const * > > ignoredEntities, ::AABB const &bb, bool useHitbox) |
|
MCAPI bool | _getBlockPermissions (::BlockPos const &pos, bool currentState) |
|
MCAPI::Brightness | _getRawBrightness (::BlockPos const &pos, ::Brightness skyDarken, bool propagate, bool accountForNight) const |
|
MCAPI void | _removeFromTickingQueue (::BlockPos const &pos, ::Block const &block, ::TickingQueueType queueType) |
|
MCAPI void | _updateTallestCollisionShapeWithBorderBlockCollisions (::AABB const &intersectTestBox, ::optional_ref<::GetCollisionShapeInterface const > entity, ::AABB &result, ::Vec3 const &posToMinimizeDistanceToIfMatchingHeight, float ¤tDistanceSqr) const |
|
MCAPI void | addToRandomTickingQueuePercentChance (::BlockPos const &pos, ::Block const &block, float percentChance, int priorityOffset, bool skipOverrides) |
|
MCAPI void | addToTickingQueue (::BlockPos const &pos, ::Block const &block, int tickDelay, int skipOverrides, bool priorityOffset) |
|
MCAPI void | blockEvent (::BlockPos const &pos, int b0, int b1) |
|
MCAPI bool | canProvideSupport (::BlockPos const &pos, uchar face, ::BlockSupportType type) const |
|
MCAPI bool | canSeeSky (::BlockPos const &pos) const |
|
MCAPI bool | canSeeSkyFromBelowWater (::BlockPos const &pos) |
|
MCAPI bool | checkBlockDestroyPermissions (::Actor &entity, ::BlockPos const &pos, ::ItemStackBase const &item, bool generateParticle) |
|
MCAPI bool | containsAnyBlockInBox (::BoundingBox const &box, ::std::function< bool(::Block const &)> predicate) |
|
MCAPI bool | containsAnyBlockOfType (::BlockPos const &min, ::BlockPos const &max, ::Block const &type) const |
|
MCAPI bool | containsAnySolidBlocking (::AABB const &box) const |
|
MCAPI uint64 | countBlocksOfType (::BlockDescriptor const &blockDescriptor, ::BlockPos const &min, ::BlockPos const &max, uint64 maxCount) const |
|
MCAPI ::gsl::span<::gsl::not_null<::Actor * > > | fetchActors (::ActorDefinitionIdentifier const &actorId, ::AABB const &bb) |
|
MCAPI ::std::vector<::BlockActor * > | fetchBlockEntities (::BlockActorType bb, ::AABB const &blockActorTypeId) const |
|
MCAPI ::std::vector<::BlockActor * > const & | fetchBlockEntities (::AABB const &bb) |
|
MCAPI bool | fetchBlocks (::BlockPos const &origin, ::BlockVolume &volume) const |
|
MCAPI ::gsl::span<::BlockDataFetchResult<::Block > const > | fetchBlocksInBox (::BoundingBox const &box, ::std::function< bool(::Block const &)> predicate) |
|
MCAPI ::gsl::span<::BlockDataFetchResult<::Block > const > | fetchBlocksInBoxSorted (::BoundingBox const &box, ::std::function< bool(::Block const &)> predicate) |
|
MCAPI ::gsl::span<::BlockDataFetchResult<::Block > const > | fetchBlocksInCylinder (::BlockPos const ¢erPos, uint radius, uint height, ::std::function< bool(::Block const &)> predicate) |
|
MCAPI ::gsl::span<::BlockDataFetchResult<::Block > const > | fetchBlocksInCylinderSorted (::BlockPos const ¢erPos, uint radius, uint height, ::std::function< bool(::Block const &)> predicate) |
|
MCAPI ::std::vector<::Actor * > const & | fetchEntities2 (::ActorType type, ::AABB const &aabb, bool ignoreTargetType) |
|
MCAPI::Actor * | fetchNearestEntityOfType (::Actor const *except, ::AABB const &bb, ::ActorType entityTypeId) |
|
MCAPI bool | findNextTopSolidBlockUnder (::BlockPos &pos) |
|
MCAPI void | fireBlockChanged (::BlockPos const &pos, uint layer, ::Block const &block, ::Block const &oldBlock, int flags, ::BlockChangedEventTarget eventTarget, ::ActorBlockSyncMessage const *syncMsg, ::Actor *source) |
|
MCAPI void | fireBlockEntityChanged (::BlockActor &te) |
|
MCAPI::Biome const & | getBiome (::BlockPos const &pos) const |
|
MCAPI::BrightnessPair | getBrightnessPair (::BlockPos const &pos) const |
|
MCAPI float | getSeenPercent (::Vec3 const ¢er, ::AABB const &bb) |
|
MCAPI void | getTallestCollisionShapeFromUnloadedChunksAABBs (::AABB const &intersectTestBox, ::AABB &tallestCollisionShape, ::Vec3 const &posToMinimizeDistanceToIfMatchingHeight, float ¤tDistanceSqr) const |
|
MCAPI ::std::pair< bool, ::std::optional<::SubChunkPos > > | hasSubChunksAt (::BlockPos const &min, ::BlockPos const &max) const |
|
MCAPI bool | hasTickInCurrentTick (::BlockPos const &pos, ::TickingQueueType queueType) const |
|
MCAPI bool | hasTickInPendingTicks (::BlockPos const &pos, ::TickingQueueType queueType) const |
|
MCAPI bool | hasTickInPendingTicks (::BlockPos const &pos, ::Block const &block, ::TickingQueueType queueType) const |
|
MCAPI bool | hasTickInPendingTicks (::BlockPos const &pos, ::BlockLegacy const &block, ::TickingQueueType queueType) const |
|
MCAPI bool | hasUntickedNeighborChunk (::ChunkPos const &pos, int chunkRadius) const |
|
MCAPI bool | isEmptyBlock (int x, int y, int z) |
|
MCAPI bool | isNearUnloadedChunks (::ChunkPos const &pos) const |
|
MCAPI bool | isTouchingMaterial (::BlockPos const &pos, ::MaterialType type) const |
|
MCAPI bool | isUnobstructedByEntities (::AABB const &aabb, ::Actor const *ignoreEntity) |
|
MCAPI bool | isWithinHeightLimits (int y) const |
|
MCAPI void | neighborChanged (::BlockPos const &neighPos, ::BlockPos const &myPos) |
|
MCAPI void | setBorderBlock (::BlockPos const &pos, bool val) |
|
MCAPI bool | setExtraBlock (::BlockPos const &p, ::Block const &block, int updateFlags) |
|
MCAPI bool | setExtraBlockSimple (::BlockPos const &pos, ::Block const &block) |
|
MCAPI void | updateNeighborsAt (::BlockPos const &pos) |
|
MCAPI void * | $ctor (::Level &level, ::Dimension &dimension, ::ChunkSource &source, bool publicSource, bool allowUnpopulatedChunks, bool allowClientTickingChanges) |
|
MCAPI void | $dtor () |
|
MCAPI ::WeakRef<::BlockSource > | $getWeakRef () |
|
MCFOLD::Level & | $getLevel () |
|
MCFOLD::Dimension & | $getDimension () const |
|
MCFOLD::Dimension & | $getDimension () |
|
MCFOLD::Dimension const & | $getDimensionConst () const |
|
MCAPI::DimensionType | $getDimensionId () const |
|
MCAPI bool | $isInstaticking (::BlockPos const &pos) const |
|
MCAPI void | $addListener (::BlockSourceListener &l) |
|
MCAPI void | $removeListener (::BlockSourceListener &l) |
|
MCAPI::LevelChunk * | $getChunk (int x, int z) const |
|
MCAPI::LevelChunk * | $getChunk (::ChunkPos const &pos) const |
|
MCAPI::LevelChunk * | $getChunkAt (::BlockPos const &pos) const |
|
MCAPI short | $getAboveTopSolidBlock (::BlockPos const &pos, bool includeWater, bool includeLeaves, bool iteratePastInitialBlocking) const |
|
MCAPI short | $getAboveTopSolidBlock (int x, int z, bool includeWater, bool includeLeaves) const |
|
MCAPI short | $getHeight (::std::function< bool(::Block const &)> const &type, ::BlockPos const &pos) const |
|
MCAPI short | $getHeight (::std::function< bool(::Block const &)> const &type, int x, int z) const |
|
MCAPI::Material const & | $getMaterial (::BlockPos const &pos) const |
|
MCAPI::Material const & | $getMaterial (int x, int y, int z) const |
|
MCAPI short | $getMaxHeight () const |
|
MCAPI short | $getMinHeight () const |
|
MCAPI bool | $hasBorderBlock (::BlockPos const pos) const |
|
MCAPI float | $getBrightness (::BlockPos const &pos) const |
|
MCAPI::Block const & | $getLiquidBlock (::BlockPos const &p) const |
|
MCAPI::Block const & | $getExtraBlock (::BlockPos const &p) const |
|
MCAPI bool | $mayPlace (::Block const &block, ::BlockPos const &pos, uchar face, ::Actor *placer, bool ignoreEntities, ::Vec3 clickPos) |
|
MCAPI bool | $hasBlock (::BlockPos const &pos) const |
|
MCAPI bool | $canDoBlockDrops () const |
|
MCAPI bool | $canDoContainedItemDrops () const |
|
MCAPI bool | $hasChunksAt (::Bounds const &bounds, bool ignoreClientChunk) const |
|
MCAPI bool | $hasChunksAt (::BlockPos const &pos, int r, bool ignoreClientChunk) const |
|
MCAPI bool | $hasChunksAt (::AABB const &bb, bool ignoreClientChunk) const |
|
MCAPI bool | $areChunksFullyLoaded (::BlockPos const &pos, int r) const |
|
MCAPI bool | $containsAnyLiquid (::AABB const &box) const |
|
MCAPI bool | $containsMaterial (::AABB const &box, ::MaterialType material) const |
|
MCFOLD::BlockActor const * | $getBlockEntity (::BlockPos const &pos) const |
|
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 | $fetchAABBs (::std::vector<::AABB > &shapes, ::AABB const &intersectTestBox, bool withUnloadedChunks) const |
|
MCAPI ::std::vector<::AABB > & | $fetchAABBs (::AABB const &intersectTestBox, bool withUnloadedChunks) |
|
MCAPI ::std::vector<::AABB > & | $fetchCollisionShapes (::AABB const &intersectTestBox, bool withUnloadedChunks, ::std::optional<::EntityContext const > entity, ::std::vector<::AABB > *tempShapes) |
|
MCAPI void | $fetchCollisionShapes (::std::vector<::AABB > &shapes, ::AABB const &intersectTestBox, bool withUnloadedChunks, ::optional_ref<::GetCollisionShapeInterface const > entity, ::std::vector<::AABB > *tempShapes) const |
|
MCAPI void | $fetchCollisionShapesAndBlocks (::std::vector<::BlockSourceVisitor::CollisionShape > &shapes, ::AABB const &intersectTestBox, bool withUnloadedChunks, ::optional_ref<::GetCollisionShapeInterface const > entity, ::std::vector<::AABB > *tempShapes) const |
|
MCAPI::AABB | $getTallestCollisionShape (::AABB const &intersectTestBox, float *actualSurfaceOffset, bool withUnloadedChunks, ::optional_ref<::GetCollisionShapeInterface const > entity) const |
|
MCAPI::HitResult | $clip (::Vec3 const &A, ::Vec3 const &B, bool checkAgainstLiquid, ::ShapeType shapeType, int maxDistance, bool ignoreBorderBlocks, bool fullOnly, ::Actor *actor, ::std::function< bool(::BlockSource const &, ::Block const &, bool)> const &shouldCheckBlock) const |
|
MCAPI::HitResult | $clip (::ClipParameters const ¶meters) const |
|
MCAPI bool | $isInWall (::Vec3 const &pos) const |
|
MCAPI bool | $isUnderWater (::Vec3 const &pos, ::Block const &block) const |
|
MCAPI::Block const & | $getBlock (int x, int y, int z) const |
|
MCAPI::Block const & | $getBlock (::BlockPos const &pos) const |
|
MCAPI::Block const & | $getBlock (::BlockPos const &pos, uint layer) const |
|
MCAPI bool | $setBlock (::BlockPos const &pos, ::Block const &block, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::Actor *blockChangeSource) |
|
MCAPI bool | $isSolidBlockingBlock (int x, int y, int z) const |
|
MCAPI bool | $isSolidBlockingBlock (::BlockPos const &p) const |
|
MCAPI bool | $removeBlock (::BlockPos const &pos) |
|
MCFOLD::ILevel & | $getILevel () const |
|
MCAPI::LevelSeed64 | $getLevelSeed64 () const |
|
MCFOLD::ChunkSource & | $getChunkSource () |
|
MCAPI bool | $checkBlockPermissions (::Actor &entity, ::BlockPos const &blockPos, uchar face, ::ItemStackBase const &item, bool generateParticle) |
|
MCAPI void | $postGameEvent (::Actor *source, ::GameEvent const &gameEvent, ::BlockPos const &originPos, ::Block const *affectedBlock) |
|
MCAPI void | $updateCheckForValidityState (bool checkForValidity) |
|
MCAPI bool | checkMaterial (::AABB const &box, ::MaterialType material) const |
|