LeviLamina
Loading...
Searching...
No Matches
LootTableContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/level/dimension/DimensionType.h"
8#include "mc/world/level/storage/loot/LootTable.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
14class BlockActor;
15class ILevel;
16class ItemStack;
17class Player;
18// clang-format on
19
21public:
22 // LootTableContext inner types declare
23 // clang-format off
24 class Builder;
25 // clang-format on
26
27 // LootTableContext inner types define
28 class Builder {
29 public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 8, ::ILevel*> mLevel;
33 ::ll::TypedStorage<4, 4, float> mLuck;
34 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mThisEntityID;
35 ::ll::TypedStorage<8, 8, ::Player*> mKillerPlayer;
36 ::ll::TypedStorage<8, 8, ::Actor*> mKilledActor;
37 ::ll::TypedStorage<8, 8, ::ActorDamageSource const*> mDeathSource;
38 ::ll::TypedStorage<4, 4, float> mExplosionRadius;
39 ::ll::TypedStorage<8, 32, ::std::string> mOriginalItemName;
40 ::ll::TypedStorage<8, 8, ::ItemStack const*> mTool;
41 ::ll::TypedStorage<4, 4, ::DimensionType> mDimensionId;
42 ::ll::TypedStorage<8, 8, ::BlockActor const*> mSourceBlockActor;
43 // NOLINTEND
44
45 public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI ~Builder();
49 // NOLINTEND
50
51 public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56 };
57
58public:
59 // member variables
60 // NOLINTBEGIN
61 ::ll::TypedStorage<4, 4, float> mLuck;
62 ::ll::TypedStorage<8, 8, ::ILevel*> mLevel;
63 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mThisEntityID;
64 ::ll::TypedStorage<8, 8, ::Player*> mKillerPlayer;
65 ::ll::TypedStorage<8, 8, ::Actor*> mKilledActor;
66 ::ll::TypedStorage<8, 8, ::ActorDamageSource const*> mDeathSource;
67 ::ll::TypedStorage<8, 64, ::std::unordered_set<::LootTable const*>> mVisitedTables;
68 ::ll::TypedStorage<4, 4, float> mExplosionRadius;
69 ::ll::TypedStorage<8, 32, ::std::string> mOriginalItemName;
70 ::ll::TypedStorage<8, 8, ::ItemStack const*> mTool;
71 ::ll::TypedStorage<4, 4, ::DimensionType> mDimensionId;
72 ::ll::TypedStorage<8, 8, ::BlockActor const*> mSourceBlockActor;
73 // NOLINTEND
74
75public:
76 // member functions
77 // NOLINTBEGIN
78 MCAPI ::std::string getOriginalItemName() const;
79
80 MCAPI ~LootTableContext();
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88};
Definition ActorDamageSource.h:18
Definition Actor.h:114
Definition BlockActor.h:28
Definition ILevel.h:220
Definition ItemStack.h:24
Definition LootTableContext.h:28
Definition LootTableContext.h:20
Definition Player.h:129