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
12class BlockReducer {
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&);
44 BlockReducer(BlockReducer const&);
45 BlockReducer();
46
47public:
48 // virtual functions
49 // NOLINTBEGIN
50 virtual ~BlockReducer() = default;
51
52 virtual void registerBlock(::ItemStack const& block, ::std::vector<::ItemStack> const& elements);
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCNAPI int _getBlockKey(::ItemDescriptor const& block) const;
59
60 MCNAPI ::std::vector<::ItemStack> const* getReduction(::ItemStackBase const& block) const;
61
62 MCNAPI ::ItemDescriptor tryGetItemDescriptorFromKey(int blockKey) const;
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI void $registerBlock(::ItemStack const& block, ::std::vector<::ItemStack> const& elements);
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
static MCAPI void ** $vftable()
MCAPI::ItemDescriptor tryGetItemDescriptorFromKey(int blockKey) const
MCAPI ::std::vector<::ItemStack > const * getReduction(::ItemStackBase const &block) const
MCAPI int _getBlockKey(::ItemDescriptor const &block) const
MCAPI void $registerBlock(::ItemStack const &block, ::std::vector<::ItemStack > const &elements)
Definition ItemDescriptor.h:23
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition BlockReducer.h:20
Definition Alias.h:14