3#include "mc/_HeaderOutputPredefine.h"
15namespace VanillaBlockDrops {
18MCAPI ::std::function<int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)>
19addUniformFortuneBonus(::std::function<
int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> countProvider);
21MCAPI ::std::function<int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)>
22between(
int minInclusive,
int maxInclusive);
24MCAPI ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> combine(
25 ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> dropStrategyA,
26 ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> dropStrategyB
29MCAPI
void configureBlockDrops(::BaseGameVersion
const& baseGameVersion, ::Experiments
const& experiments);
31MCAPI ::std::function<int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> exactly(
int value);
33MCAPI ::std::function<int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)>
34limitCount(
int max, ::std::function<
int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> countProvider);
36MCAPI ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> when(
37 ::std::function<
bool(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> condition,
38 ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> trueStrategy
41MCAPI ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> when(
42 ::std::function<
bool(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> condition,
43 ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> trueStrategy,
44 ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> falseStrategy
Definition BaseGameVersion.h:8
Definition Experiments.h:14
Definition Randomize.h:13
Definition ResourceDropsContext.h:17
Definition ResourceDrops.h:10