Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SetItemDamageFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/loot/RandomValueBounds.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<4, 8, ::RandomValueBounds> mDamage;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
29
30 virtual void applyPreVersion(::ItemStackBase& item, ::Random& random, ::LootTableContext&) /*override*/;
31 // NOLINTEND
32
33public:
34 // static functions
35 // NOLINTBEGIN
36 MCNAPI static ::std::unique_ptr<::LootItemFunction>
37 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43 MCNAPI ::LootItemFunction::FunctionType $getFunctionType() const;
44
46
47
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCNAPI static void** $vftable();
54 // NOLINTEND
55};
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 SetItemDamageFunction.h:18
static MCAPI void ** $vftable()
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
MCAPI void $applyPreVersion(::ItemStackBase &item, ::Random &random, ::LootTableContext &)
MCAPI::LootItemFunction::FunctionType $getFunctionType() const