LeviLamina
Loading...
Searching...
No Matches
ResourceDropsContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/world/level/BlockPos.h"
8#include "mc/world/level/block/ResourceDropsCause.h"
9
10// auto generated forward declare list
11// clang-format off
12class Dimension;
13class IBlockSource;
14class ItemStack;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, ::ResourceDropsCause> mCause;
22 ::ll::TypedStorage<4, 4, float> mExplosionRadius;
23 ::ll::TypedStorage<8, 8, ::ItemStack const&> mUsedItem;
24 ::ll::TypedStorage<4, 12, ::BlockPos const> mBlockPos;
25 ::ll::TypedStorage<4, 4, ::DimensionType const> mDimensionType;
26 ::ll::TypedStorage<8, 8, ::IBlockSource const&> mBlockSource;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI int getMiningLootBonusLevel() const;
39
40 MCAPI bool isUsingSilkTouch() const;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static ::ResourceDropsContext
47 fromPlayerMining(::IBlockSource const& region, ::BlockPos const& position, ::ItemStack const& usedItem);
48 // NOLINTEND
49};
Definition BlockPos.h:18
Definition Dimension.h:83
Definition IBlockSource.h:35
Definition ItemStack.h:25
Definition ResourceDropsContext.h:17