Skip to content
LeviMC
English
AutoLightDark
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 ItemStack;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::ItemStack>> mComponentsToCompound;
21 ::ll::TypedStorage<8, 64, ::std::unordered_map<int, ::std::vector<::ItemStack>>> mCompoundToComponents;
22 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::LabTableReactionType>> mComponentsToReaction;
23 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::CompoundContainerType>>
24 mComponentsToContainerOverride;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~CraftableCompounds();
31
32 virtual void _registerCompound(
33 ::std::vector<::ItemStack> const& input,
34 ::ItemStack const& result,
35 ::LabTableReactionType reaction,
36 ::CompoundContainerType containerOverride
37 );
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
44
45 MCNAPI ::std::string _getCompoundId(::std::vector<::ItemStack> const& input);
46
47 MCNAPI void _registerCompound(
48 ::std::vector<::ChemistryIngredient> const& input,
49 ::ItemStack const& result,
50 ::LabTableReactionType reaction,
51 ::CompoundContainerType containerOverride
52 );
53
54 MCNAPI void _registerCompound(
55 ::std::vector<::ChemistryIngredient> const& input,
56 ::CompoundType result,
57 ::LabTableReactionType reaction,
58 ::CompoundContainerType containerOverride,
59 int stackCount
60 );
61
62 MCNAPI ::ItemStack const& getCompound(::std::vector<::ItemStack> const& components);
63
64#ifdef LL_PLAT_C
65 MCNAPI ::CompoundContainerType getContainerType(::std::vector<::ItemStack> const& components);
66#endif
67
68 MCNAPI ::LabTableReactionType getReaction(::std::vector<::ItemStack> const& components);
69
70 MCNAPI void registerCompounds();
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCNAPI void* $ctor();
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCNAPI void $dtor();
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88 MCNAPI void $_registerCompound(
89 ::std::vector<::ItemStack> const& input,
90 ::ItemStack const& result,
91 ::LabTableReactionType reaction,
92 ::CompoundContainerType containerOverride
93 );
94
95
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftable();
102 // NOLINTEND
103};
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 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 ItemStack.h:26
Definition ChemistryIngredient.h:5