LeviLamina
Loading...
Searching...
No Matches
PlayerRespawnRandomizer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/util/random/XoroshiroRandom.h"
8#include "mc/world/actor/player/PlayerRespawnBlockRadiusRandomizer.h"
9#include "mc/world/level/GeneratorType.h"
10
11class PlayerRespawnRandomizer {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<8, 64, ::XoroshiroRandom> mRandom;
16 ::ll::TypedStorage<4, 4, uint> mSpawnRadius;
17 ::ll::TypedStorage<4, 4, uint> mSquaredRadius;
18 ::ll::TypedStorage<4, 24, ::PlayerRespawnBlockRadiusRandomizer> mSecondaryRandomizer;
19 ::ll::TypedStorage<4, 24, ::PlayerRespawnBlockRadiusRandomizer> mPrimaryRandomizer;
20 ::ll::TypedStorage<4, 12, ::Vec3> mSpawnCenter;
21 ::ll::TypedStorage<4, 12, ::Vec3> mPrimaryOffset;
22 ::ll::TypedStorage<4, 12, ::Vec3> mPrimaryScale;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 PlayerRespawnRandomizer();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI PlayerRespawnRandomizer(uint spawnRadius, ::GeneratorType const& worldType);
33
34 MCAPI ::Vec3 performPrimaryJump(::Vec3 const& spawnCenter);
35 // NOLINTEND
36
37public:
38 // constructor thunks
39 // NOLINTBEGIN
40 MCAPI void* $ctor(uint spawnRadius, ::GeneratorType const& worldType);
41 // NOLINTEND
42};
Definition Vec3.h:10