LeviLamina
Loading...
Searching...
No Matches
BlockTypePlacementProcessor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/Random.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockPos;
12class BlockSource;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, float> mChance;
22 ::ll::TypedStorage<8, 2560, ::Random> mRandom;
23 ::ll::TypedStorage<1, 1, bool> mHasGravity;
24 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockRule>> const*> mBlockRules;
25 ::ll::TypedStorage<8, 8, ::std::vector<::std::unique_ptr<::StructurePoolBlockTagRule>> const*> mBlockTagRules;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ::Block const*
32 applyBlockRules(::BlockSource& region, ::BlockPos& pos, ::Block const* blockToPlace, ::BlockPos const& refPos);
33 // NOLINTEND
34};
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition BlockTypePlacementProcessor.h:17
Definition Block.h:41
Definition StructurePoolBlockRule.h:11
Definition StructurePoolBlockTagRule.h:10