LeviLamina
Loading...
Searching...
No Matches
CraftableCompounds.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/CompoundContainerType.h"
7#include "mc/world/item/CompoundType.h"
8#include "mc/world/level/block/actor/LabTableReactionType.h"
9
10// auto generated forward declare list
11// clang-format off
12class ItemDescriptor;
13class ItemStack;
15// clang-format on
16
17class CraftableCompounds {
18public:
19 // member variables
20 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 CraftableCompounds& operator=(CraftableCompounds const&);
30 CraftableCompounds(CraftableCompounds const&);
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~CraftableCompounds();
36
37 virtual void _registerCompound(
38 ::std::vector<::ItemStack> const& input,
39 ::ItemStack const& result,
40 ::LabTableReactionType reaction,
41 ::CompoundContainerType containerOverride
42 );
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
49
50 MCNAPI ::std::string _getCompoundId(::std::vector<::ItemStack> const& input);
51
52 MCNAPI void _registerCompound(
53 ::std::vector<::ChemistryIngredient> const& input,
54 ::ItemStack const& result,
55 ::LabTableReactionType reaction,
56 ::CompoundContainerType containerOverride
57 );
58
59 MCNAPI void _registerCompound(
60 ::std::vector<::ChemistryIngredient> const& input,
61 ::CompoundType result,
62 ::LabTableReactionType reaction,
63 ::CompoundContainerType containerOverride,
64 int stackCount
65 );
66
67 MCNAPI ::std::vector<::ItemStack> const* getComponents(::ItemDescriptor const& compound) const;
68
69 MCNAPI ::ItemStack const& getCompound(::std::vector<::ItemStack> const& components);
70
71#ifdef LL_PLAT_C
72 MCNAPI ::CompoundContainerType getContainerType(::std::vector<::ItemStack> const& components);
73#endif
74
75 MCNAPI ::LabTableReactionType getReaction(::std::vector<::ItemStack> const& components);
76
77 MCNAPI void registerCompounds();
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCNAPI void* $ctor();
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89 MCNAPI void $dtor();
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95 MCNAPI void $_registerCompound(
96 ::std::vector<::ItemStack> const& input,
97 ::ItemStack const& result,
98 ::LabTableReactionType reaction,
99 ::CompoundContainerType containerOverride
100 );
101
102
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
108 MCNAPI static void** $vftable();
109 // NOLINTEND
110};
MCAPI void registerCompounds()
MCAPI::LabTableReactionType getReaction(::std::vector<::ItemStack > const &components)
static MCAPI void ** $vftable()
MCAPI::std::string _getCompoundId(::std::vector<::ItemStack > const &input)
MCAPI void _registerCompound(::std::vector<::ChemistryIngredient > const &input, ::ItemStack const &result, ::LabTableReactionType reaction, ::CompoundContainerType containerOverride)
MCAPI ::std::vector<::ItemStack > const * getComponents(::ItemDescriptor const &compound) const
MCAPI void $dtor()
MCAPI CraftableCompounds()
MCAPI void * $ctor()
MCAPI void _registerCompound(::std::vector<::ChemistryIngredient > const &input, ::CompoundType result, ::LabTableReactionType reaction, ::CompoundContainerType containerOverride, int stackCount)
MCAPI void $_registerCompound(::std::vector<::ItemStack > const &input, ::ItemStack const &result, ::LabTableReactionType reaction, ::CompoundContainerType containerOverride)
MCAPI::ItemStack const & getCompound(::std::vector<::ItemStack > const &components)
Definition ItemDescriptor.h:25
Definition ItemStack.h:35
Definition ChemistryIngredient.h:5
Definition Alias.h:14