LeviLamina
Loading...
Searching...
No Matches
Drop.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Block
;
8
class
BlockState
;
9
class
HashedString
;
10
class
Randomize
;
11
struct
ResourceDrops
;
12
struct
ResourceDropsContext
;
13
// clang-format on
14
15
namespace
VanillaBlockDrops::Drop {
16
// functions
17
// NOLINTBEGIN
18
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> customWhenSilkTouch(
19
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> dropStrategy
20
);
21
22
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)>
23
customWhenSilkTouchOrToolOtherwise(
24
::HashedString
const
& dropStrategy,
25
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> otherDropStrategy,
26
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> toolItemId
27
);
28
29
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)>
30
customWhenSilkTouchOtherwise(
31
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> dropStrategy,
32
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> otherDropStrategy
33
);
34
35
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> customWhenTool(
36
::HashedString
const
& dropStrategy,
37
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> toolItemId
38
);
39
40
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)>
41
customWhenToolOtherwise(
42
::HashedString
const
& dropStrategy,
43
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> otherDropStrategy,
44
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> toolItemId
45
);
46
47
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> item(
48
::HashedString
const
& itemId,
49
::std::function<
int
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> countProvider
50
);
51
52
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)>
53
self(::std::function<
int
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> countProvider);
54
55
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> self(
56
::std::vector<::BlockState const*> statesToKeep,
57
::std::function<
int
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> countProvider
58
);
59
60
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)>
61
selfWhenSilkTouch(::std::vector<::BlockState const*> statesToKeep);
62
63
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)>
64
selfWhenSilkTouchOrTool(
::HashedString
const
& statesToKeep, ::std::vector<::BlockState const*> toolItemId);
65
66
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)>
67
selfWhenSilkTouchOrToolOtherwise(
68
::HashedString
const
& otherDropStrategy,
69
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> toolItemId
70
);
71
72
MCAPI ::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)>
73
selfWhenSilkTouchOtherwise(
74
::std::function<
::ResourceDrops
(
::Block
const
&,
::Randomize
&,
::ResourceDropsContext
const
&)> otherDropStrategy
75
);
76
// NOLINTEND
77
78
}
// namespace VanillaBlockDrops::Drop
BlockState
Definition
BlockState.h:11
Block
Definition
Block.h:36
HashedString
Definition
HashedString.h:5
Randomize
Definition
Randomize.h:13
ResourceDropsContext
Definition
ResourceDropsContext.h:5
ResourceDrops
Definition
ResourceDrops.h:10
src
mc
world
level
block
vanilla_block_drops
Drop.h
Generated on Sat Apr 26 2025 05:56:22 for LeviLamina by
1.12.0