19 enum class Surface :
int {
28 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mFeatureToSnap;
29 ::ll::TypedStorage<4, 4, int> mVerticalSearchRange;
30 ::ll::TypedStorage<4, 4, ::SnapToSurfaceFeature::Surface> mSurface;
31 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mAllowedSurfaceBlocks;
32 ::ll::TypedStorage<1, 1, bool> mAllowAirPlacement;
33 ::ll::TypedStorage<1, 1, bool> mAllowUnderwaterPlacement;
34 ::ll::TypedStorage<1, 1, bool> mEmbedInSurface;
40 virtual ~SnapToSurfaceFeature() =
default;
48 MCAPI SnapToSurfaceFeature();
50 MCAPI ::std::optional<::BlockPos> _findSnapPos(
53 ::SnapToSurfaceFeature::Surface targetSurface