LeviLamina
Loading...
Searching...
No Matches
SpawnData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/WeightedRandom.h"
7#include "mc/world/actor/ActorDefinitionIdentifier.h"
8#include "mc/world/actor/EquipmentTable.h"
9
10// auto generated forward declare list
11// clang-format off
12class CompoundTag;
13// clang-format on
14
15class SpawnData : public ::WeightedRandom::WeighedRandomItem {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mActorId;
20 ::ll::TypedStorage<1, 1, bool> mIsBaby;
21 ::ll::TypedStorage<8, 64, ::std::optional<::EquipmentTable>> mEquipment;
22 ::ll::TypedStorage<4, 8, ::std::optional<int>> mSize;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 SpawnData();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI SpawnData(::SpawnData&& rhs);
33
34 MCAPI SpawnData(::SpawnData const& rhs);
35
36 MCAPI explicit SpawnData(::CompoundTag const& tag);
37
38 MCAPI SpawnData(int randomWeight, ::ActorDefinitionIdentifier actorId);
39
40 MCAPI ::SpawnData& operator=(::SpawnData const& rhs);
41
42 MCAPI ::std::unique_ptr<::CompoundTag> save();
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor(::SpawnData&& rhs);
49
50 MCAPI void* $ctor(::SpawnData const& rhs);
51
52 MCAPI void* $ctor(::CompoundTag const& tag);
53
54 MCAPI void* $ctor(int randomWeight, ::ActorDefinitionIdentifier actorId);
55 // NOLINTEND
56};
Definition CompoundTag.h:23
Definition WeightedRandom.h:13
Definition ActorDefinitionIdentifier.h:15