LeviLamina
Loading...
Searching...
No Matches
SetSpawnEggFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ActorDefinitionIdentifier.h"
7#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemInstance;
12class ItemStack;
15class Random;
16namespace Json { class Value; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mActor;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~SetSpawnEggFunction() /*override*/ = default;
30
31 virtual void apply(::ItemStack& item, ::Random& random, ::LootTableContext& context) /*override*/;
32
33 virtual void apply(::ItemInstance& itemInstance, ::Random&, ::LootTableContext& context) /*override*/;
34
35 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static ::std::unique_ptr<::LootItemFunction>
42 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI void $apply(::ItemStack& item, ::Random& random, ::LootTableContext& context);
49
50 MCAPI void $apply(::ItemInstance& itemInstance, ::Random&, ::LootTableContext& context);
51
52 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition ItemInstance.h:15
Definition ItemStack.h:26
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:17
Definition LootTableContext.h:20
Definition Random.h:10
Definition SetSpawnEggFunction.h:19
static MCAPI void ** $vftable()
Definition context.h:5