3#include "mc/_HeaderOutputPredefine.h"
15namespace VanillaBlockDrops::Drop {
18MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)>
19customWhenSilkTouchOrToolOtherwise(
20 ::HashedString
const& toolItemId,
21 ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> dropStrategy,
22 ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> otherDropStrategy
25MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)>
26customWhenSilkTouchOtherwise(
27 ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> dropStrategy,
28 ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> otherDropStrategy
31MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)>
32customWhenToolOtherwise(
33 ::HashedString
const& toolItemId,
34 ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> dropStrategy,
35 ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> otherDropStrategy
38MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> item(
39 ::HashedString
const& itemId,
40 ::std::function<
int(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> countProvider
43MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)>
44self(::std::function<
int(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> countProvider);
46MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> self(
47 ::std::vector<::BlockState const*> statesToKeep,
48 ::std::function<
int(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> countProvider
51MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)>
52selfWhenSilkTouch(::std::vector<::BlockState const*> statesToKeep);
54MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)>
55selfWhenSilkTouchOrTool(::HashedString
const& toolItemId, ::std::vector<::BlockState const*> statesToKeep);
57MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)>
58selfWhenSilkTouchOrToolOtherwise(
59 ::HashedString
const& toolItemId,
60 ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> otherDropStrategy
63MCAPI ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)>
64selfWhenSilkTouchOtherwise(
65 ::std::function<::ResourceDrops(::Block
const&, ::IRandom&, ::ResourceDropsContext
const&)> otherDropStrategy
Definition BlockState.h:14
Definition HashedString.h:5
Definition ResourceDropsContext.h:19
Definition ResourceDrops.h:10