Skip to content
LeviMC
English
AutoLightDark
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 ItemStackBase;
14class Random;
15namespace Json { class Value; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mActor;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
29
30 virtual void applyPreVersion(::ItemStackBase& item, ::Random&, ::LootTableContext& context) /*override*/;
31
32 virtual void apply26U6(::ItemStackBase& item, ::Random& random, ::LootTableContext& context) /*override*/;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCNAPI static ::std::unique_ptr<::LootItemFunction>
39 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45 MCNAPI ::LootItemFunction::FunctionType $getFunctionType() const;
46
48
50
51
52 // NOLINTEND
53};
Definition ItemStackBase.h:45
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:20
Definition LootTableContext.h:20
Definition Random.h:10
Definition SetSpawnEggFunction.h:18
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
MCAPI void $applyPreVersion(::ItemStackBase &item, ::Random &, ::LootTableContext &context)
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
MCAPI void $apply26U6(::ItemStackBase &item, ::Random &random, ::LootTableContext &context)
Definition context.h:5