LeviLamina
Loading...
Searching...
No Matches
BlockReducer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class ItemStack;
9class ItemStackBase;
10// clang-format on
11
13public:
14 // BlockReducer inner types declare
15 // clang-format off
16 struct Reduction;
17 // clang-format on
18
19 // BlockReducer inner types define
20 struct Reduction {
21 public:
22 // member variables
23 // NOLINTBEGIN
26 // NOLINTEND
27
28 public:
29 // prevent constructor by default
30 Reduction& operator=(Reduction const&);
31 Reduction(Reduction const&);
32 Reduction();
33 };
34
35public:
36 // member variables
37 // NOLINTBEGIN
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 BlockReducer& operator=(BlockReducer const&);
46
47public:
48 // virtual functions
49 // NOLINTBEGIN
50 // vIndex: 0
51 virtual ~BlockReducer() = default;
52
53 // vIndex: 1
54 virtual void registerBlock(::ItemStack const& block, ::std::vector<::ItemStack> const& elements);
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI int _getBlockKey(::ItemDescriptor const& block) const;
61
62 MCAPI ::std::vector<::ItemStack> const* getReduction(::ItemStackBase const& block) const;
63
64 MCAPI ::ItemDescriptor tryGetItemDescriptorFromKey(int blockKey) const;
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCAPI void $registerBlock(::ItemStack const& block, ::std::vector<::ItemStack> const& elements);
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCAPI static void** $vftable();
83 // NOLINTEND
84};
Definition BlockReducer.h:12
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition BlockReducer.h:20
Definition Alias.h:14