Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
SmithingTrimRecipe.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/crafting/ShapelessRecipe.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
CraftingContainer
;
11
class
CraftingContext
;
12
class
HashedString
;
13
class
ItemInstance
;
14
class
RecipeIngredient
;
15
namespace
mce {
class
UUID
; }
16
// clang-format on
17
18
class
SmithingTrimRecipe :
public
::ShapelessRecipe
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mRuntimeResults;
23
// NOLINTEND
24
25
#ifdef LL_PLAT_S
26
#else
// LL_PLAT_C
27
public
:
28
// prevent constructor by default
29
SmithingTrimRecipe();
30
31
#endif
32
public
:
33
// virtual functions
34
// NOLINTBEGIN
35
virtual
bool
matches(
::CraftingContainer
const
& craftingContainer,
::CraftingContext
const
& craftingContext)
const
36
/*override*/
;
37
38
virtual ::std::vector<::ItemInstance>
const
&
39
assemble(
::CraftingContainer
& craftingContainer,
::CraftingContext
& craftingContext)
const
/*override*/
;
40
41
virtual
bool
hasDataDrivenResult()
const
/*override*/
;
42
// NOLINTEND
43
44
public
:
45
// member functions
46
// NOLINTBEGIN
47
#ifdef LL_PLAT_C
48
MCNAPI SmithingTrimRecipe(
49
::std::string
const
& recipeId,
50
::RecipeIngredient
const
& templateIngredient,
51
::RecipeIngredient
const
& baseIngredient,
52
::RecipeIngredient
const
& additionIngredient,
53
::HashedString
const
& tag
54
);
55
#endif
56
// NOLINTEND
57
58
public
:
59
// static variables
60
// NOLINTBEGIN
61
MCAPI static ::mce::UUID
const
& ID();
62
// NOLINTEND
63
64
public
:
65
// constructor thunks
66
// NOLINTBEGIN
67
#ifdef LL_PLAT_C
68
MCNAPI
void
* $ctor(
69
::std::string
const
& recipeId,
70
::RecipeIngredient
const
& templateIngredient,
71
::RecipeIngredient
const
& baseIngredient,
72
::RecipeIngredient
const
& additionIngredient,
73
::HashedString
const
& tag
74
);
75
#endif
76
// NOLINTEND
77
78
public
:
79
// virtual function thunks
80
// NOLINTBEGIN
81
MCAPI
bool
$matches(
::CraftingContainer
const
& craftingContainer,
::CraftingContext
const
& craftingContext)
const
;
82
83
MCAPI ::std::vector<::ItemInstance>
const
&
84
$assemble(
::CraftingContainer
& craftingContainer,
::CraftingContext
& craftingContext)
const
;
85
86
MCFOLD
bool
$hasDataDrivenResult()
const
;
87
88
89
// NOLINTEND
90
};
CraftingContainer
Definition
CraftingContainer.h:14
CraftingContext
Definition
CraftingContext.h:21
HashedString
Definition
HashedString.h:5
ItemInstance
Definition
ItemInstance.h:15
RecipeIngredient
Definition
RecipeIngredient.h:8
ShapelessRecipe
Definition
ShapelessRecipe.h:16
mce::UUID
Definition
UUID.h:8
src
mc
world
item
crafting
SmithingTrimRecipe.h
Generated on
for LeviLamina by
1.16.1