3#include "mc/_HeaderOutputPredefine.h"
15namespace VanillaBlockDrops::Registration {
19add(::HashedString
const& blockId,
20 ::std::function<::ResourceDrops(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> dropStrategy);
22MCAPI
void dropExperience(::HashedString
const& blockId);
24MCAPI
void dropNothing(::HashedString
const& blockId);
27 ::HashedString
const& blockId,
28 ::HashedString
const& itemId,
29 ::std::function<
int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> countProvider
32MCAPI
void dropOtherNoExplosionDecay(
33 ::HashedString
const& blockId,
34 ::HashedString
const& itemId,
35 ::std::function<
int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> countProvider
38MCAPI
void dropOtherWhenSilkTouch(::HashedString
const& blockId, ::HashedString
const& itemId);
41 ::HashedString
const& blockId,
42 ::std::function<
int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> countProvider
45MCAPI
void dropSelfNoExplosionDecay(
46 ::HashedString
const& blockId,
47 ::std::function<
int(::Block
const&, ::Randomize&, ::ResourceDropsContext
const&)> countProvider
50MCAPI
void dropWhenSilkTouch(::HashedString
const& blockId, ::std::vector<::BlockState const*> statesToKeep);
Definition BlockState.h:13
Definition HashedString.h:5
Definition Randomize.h:13
Definition ResourceDropsContext.h:17
Definition ResourceDrops.h:10