3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/BlockDescriptor.h"
7#include "mc/world/level/block/traits/block_trait/IGetPlacementBlockCallback.h"
8#include "mc/world/level/block/traits/block_trait/ITrait.h"
9#include "mc/world/level/block/traits/block_trait/PlacementCallbackOrder.h"
39 ::ll::TypedStorage<1, 1, bool> mCardinalDirection;
40 ::ll::TypedStorage<1, 1, bool> mFacingDirection;
41 ::ll::TypedStorage<1, 1, bool> mCornerAndCardinalDirection;
42 ::ll::TypedStorage<1, 1, bool> mSixteenWayRotation;
50 ::ll::TypedStorage<4, 4, float const> mRotationOffset;
56 virtual ::gsl::not_null<::Block const*> getPlacementBlock(
57 ::gsl::not_null<::Block const*> block,
64 virtual ::BlockTrait::PlacementCallbackOrder getCallbackOrder()
const ;
71 ::gsl::not_null<::Block const*> block,
88 ::ll::TypedStorage<4, 4, float const> mRotationOffset;
94 virtual ::gsl::not_null<::Block const*> getPlacementBlock(
95 ::gsl::not_null<::Block const*> block,
102 virtual ::BlockTrait::PlacementCallbackOrder getCallbackOrder()
const ;
109 ::gsl::not_null<::Block const*> block,
126 ::ll::TypedStorage<4, 4, float const> mRotationOffset;
132 virtual ::gsl::not_null<::Block const*> getPlacementBlock(
133 ::gsl::not_null<::Block const*> block,
140 virtual ::BlockTrait::PlacementCallbackOrder getCallbackOrder()
const ;
147 ::gsl::not_null<::Block const*> block,
163 ::ll::TypedStorage<1, 4, ::BlockTrait::PlacementDirection::EnabledStates> mStates;
164 ::ll::TypedStorage<4, 4, float> mRotationOffset;
165 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Legacy::BlockDescriptor>> mBlocksToCornerWith;
173 virtual void applyToBlockType(
::BlockType& blockType)
const ;
177 virtual ::std::string
const& _getName() const ;
Definition IGetPlacementBlockCallback.h:18
Definition PlacementDirection.h:46
MCAPI::BlockTrait::PlacementCallbackOrder $getCallbackOrder() const
MCAPI ::gsl::not_null<::Block const * > $getPlacementBlock(::gsl::not_null<::Block const * > block, ::Actor const &by, ::BlockPos const &, uchar, ::Vec3 const &) const
Definition PlacementDirection.h:84
MCAPI ::gsl::not_null<::Block const * > $getPlacementBlock(::gsl::not_null<::Block const * > block, ::Actor const &by, ::BlockPos const &pos, uchar, ::Vec3 const &) const
MCAPI::BlockTrait::PlacementCallbackOrder $getCallbackOrder() const
Definition PlacementDirection.h:122
MCAPI ::gsl::not_null<::Block const * > $getPlacementBlock(::gsl::not_null<::Block const * > block, ::Actor const &by, ::BlockPos const &, uchar, ::Vec3 const &) const
MCAPI::BlockTrait::PlacementCallbackOrder $getCallbackOrder() const
Definition PlacementDirection.h:24
static MCAPI void ** $vftable()
MCAPI::std::string const & $_getName() const
MCAPI void $initializeFromNetwork(::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI ::std::unique_ptr<::CompoundTag > $_buildNetworkTag(::cereal::ReflectionCtx const &ctx) const
MCAPI void $applyToBlockType(::BlockType &blockType) const
Definition BlockType.h:79
Definition CompoundTag.h:18
Definition PlacementDirection.h:35
Definition ReflectionCtx.h:11