3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/container/EnumSet.h"
7#include "mc/world/level/block/traits/block_trait/ITrait.h"
30 enum class EnabledConnectionStates :
int {
36 enum class Type :
int {
44 ::ll::TypedStorage<1, 1, ::Bedrock::EnumSet<::BlockTrait::Connection::EnabledConnectionStates, 2>> mStates;
51 ::ll::TypedStorage<4, 4, int> mUpdateFlags;
52 ::ll::TypedStorage<4, 4, ::BlockTrait::Connection::Type> mType;
53 ::ll::TypedStorage<1, 1, ::BlockTrait::Connection::EnabledConnectionStatesContainer> mEnabledConnectionStates;
61 virtual void applyToBlockType(
::BlockType& blockType)
const ;
67 virtual ::std::string
const& _getName() const ;
76 ::
Block const& (*updateFunction)(
Definition Connection.h:22
static MCAPI ::NeighborBlockDirections getConnectedDirections(::IConstBlockSource const ®ion, ::Block const &block, ::BlockPos const &pos, ::NeighborBlockDirections directionsToCheck)
MCAPI ::std::unique_ptr<::CompoundTag > $_buildNetworkTag(::cereal::ReflectionCtx const &) const
MCAPI::std::string const & $_getName() const
MCAPI void $initializeFromNetwork(::CompoundTag const &compoundTag, ::cereal::ReflectionCtx const &)
static MCAPI void ** $vftable()
MCAPI void $applyToBlockType(::BlockType &blockType) const
static MCAPI void applyCustomConnectionToBlockType(::BlockType &blockType, ::NeighborBlockDirections enabledDirections, ::Block const &(*updateFunction)(::IConstBlockSource const &, ::Block const &, ::BlockPos const &, ::NeighborBlockDirections), int updateFlags)
Definition BlockType.h:79
Definition CompoundTag.h:18
Definition IConstBlockSource.h:25
Definition NeighborBlockDirections.h:14
Definition Connection.h:40
Definition ReflectionCtx.h:11