LeviLamina
Loading...
Searching...
No Matches
BlockRandomOffsetComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/shared_types/FloatRange.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class Vec3;
12// clang-format on
13
14class BlockRandomOffsetComponent {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<4, 8, ::SharedTypes::FloatRange> mRangeX;
19 ::ll::TypedStorage<4, 4, uint> mStepsX;
20 ::ll::TypedStorage<4, 8, ::SharedTypes::FloatRange> mRangeY;
21 ::ll::TypedStorage<4, 4, uint> mStepsY;
22 ::ll::TypedStorage<4, 8, ::SharedTypes::FloatRange> mRangeZ;
23 ::ll::TypedStorage<4, 4, uint> mStepsZ;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 BlockRandomOffsetComponent();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI BlockRandomOffsetComponent(
35 uint stepsX,
37 uint stepsY,
39 uint stepsZ
40 );
41
42 MCAPI ::Vec3 getRandomOffset(::BlockPos const& blockPos) const;
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor(
50 uint stepsX,
52 uint stepsY,
54 uint stepsZ
55 );
56 // NOLINTEND
57};
Definition BlockPos.h:21
Definition Vec3.h:10
Definition FloatRange.h:12