LeviLamina
Loading...
Searching...
No Matches
DiggerItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/NetworkedItemComponent.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8#include "mc/world/level/storage/AllExperiments.h"
9
10// auto generated forward declare list
11// clang-format off
12class Block;
13class HashedString;
14class ItemStackBase;
15class SemVersion;
16namespace SharedTypes::v1_20_50 { struct DiggerItemComponent; }
17namespace cereal { struct ReflectionCtx; }
18// clang-format on
19
20class DiggerItemComponent : public ::NetworkedItemComponent<::DiggerItemComponent> {
21public:
22 // DiggerItemComponent inner types declare
23 // clang-format off
24 struct BlockInfo;
25 // clang-format on
26
27 // DiggerItemComponent inner types define
28 struct BlockInfo {
29 public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 184, ::BlockDescriptor> filter;
33 ::ll::TypedStorage<4, 4, int> destroySpeed;
34 // NOLINTEND
35
36 public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ~BlockInfo();
40 // NOLINTEND
41
42 public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCFOLD void $dtor();
46 // NOLINTEND
47 };
48
49public:
50 // member variables
51 // NOLINTBEGIN
52 ::ll::TypedStorage<1, 1, bool> mUseEfficiency;
53 ::ll::TypedStorage<8, 24, ::std::vector<::DiggerItemComponent::BlockInfo>> mDestroySpeeds;
54 // NOLINTEND
55
56public:
57 // prevent constructor by default
58 DiggerItemComponent();
59
60public:
61 // virtual functions
62 // NOLINTBEGIN
63 virtual ~DiggerItemComponent() /*override*/ = default;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI explicit DiggerItemComponent(::SharedTypes::v1_20_50::DiggerItemComponent component);
70
71 MCAPI float getDestroySpeed(::ItemStackBase const& item, ::Block const& block) const;
72 // NOLINTEND
73
74public:
75 // static functions
76 // NOLINTBEGIN
77 MCAPI static void bindType(
79 ::std::vector<::AllExperiments> const& requiredToggles,
80 ::std::optional<::SemVersion> releasedMinFormatVersion
81 );
82
83 MCAPI static ::HashedString const& getIdentifier();
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCAPI void* $ctor(::SharedTypes::v1_20_50::DiggerItemComponent component);
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition Block.h:43
static MCAPI void ** $vftable()
Definition HashedString.h:5
Definition ItemStackBase.h:44
Definition NetworkedItemComponent.h:7
Definition SemVersion.h:15
Definition DiggerItemComponent.h:28
Definition DiggerItemComponent.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5