3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/level/block/traits/block_trait/IGetPlacementBlockCallback.h"
7#include "mc/world/level/block/traits/block_trait/ITrait.h"
48 virtual ::gsl::not_null<::Block const*> getPlacementBlock(
49 ::gsl::not_null<::Block const*> block,
65 ::gsl::not_null<::Block const*> block,
98 virtual ::gsl::not_null<::Block const*> getPlacementBlock(
99 ::gsl::not_null<::Block const*> block,
115 ::gsl::not_null<::Block const*> block,
156 ::std::vector<::std::string>
const& states
178 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag() const ;
181 virtual
void initializeFromNetwork(::
CompoundTag const& tag) ;
184 virtual
void applyToBlockLegacy(::
BlockLegacy& blockLegacy) const ;
Definition BlockLegacy.h:88
Definition IGetPlacementBlockCallback.h:15
Definition PlacementDirection.h:31
static MCAPI void ** $vftable()
MCAPI ::gsl::not_null<::Block const * > $getPlacementBlock(::gsl::not_null<::Block const * > block, ::Actor const &by, ::BlockPos const &, uchar, ::Vec3 const &, int) const
Definition PlacementDirection.h:81
static MCAPI void ** $vftable()
MCAPI ::gsl::not_null<::Block const * > $getPlacementBlock(::gsl::not_null<::Block const * > block, ::Actor const &by, ::BlockPos const &pos, uchar, ::Vec3 const &, int) const
Definition PlacementDirection.h:21
static MCAPI ::BlockTrait::PlacementDirection FacingDirection(float _yRotationOffset)
static MCAPI void ** $vftable()
MCAPI void setRotationOffset(float const &rotation)
MCAPI void $initializeFromNetwork(::CompoundTag const &tag)
static MCAPI ::BlockTrait::PlacementDirection CardinalDirection(float _yRotationOffset)
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag() const
static MCAPI ::std::string const & getName()
MCAPI void $applyToBlockLegacy(::BlockLegacy &blockLegacy) const
Definition CompoundTag.h:13
Definition PlacementDirection.h:131
static MCAPI void fromStringVector(::BlockTrait::PlacementDirection::EnabledStates &instance, ::std::vector<::std::string > const &states)
MCAPI ::std::unique_ptr<::CompoundTag > buildNetworkTag() const