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
ShapedRecipe.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/crafting/Recipe.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
CraftingContainer
;
11
class
CraftingContext
;
12
class
ItemInstance
;
13
class
RecipeIngredient
;
14
// clang-format on
15
16
class
ShapedRecipe
:
public
::Recipe {
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<1, 1, bool> mAssumeSymmetry;
21
// NOLINTEND
22
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
virtual
~ShapedRecipe
()
/*override*/
=
default
;
27
28
virtual ::std::vector<::ItemInstance>
const
& assemble(
::CraftingContainer
&,
::CraftingContext
&)
const
/*override*/
;
29
30
virtual
int
getCraftingSize()
const
/*override*/
;
31
32
virtual ::RecipeIngredient
const
& getIngredient(
int
x,
int
y)
const
/*override*/
;
33
34
virtual
bool
isShapeless()
const
/*override*/
;
35
36
virtual
bool
matches(
::CraftingContainer
const
& craftSlots,
::CraftingContext
const
&)
const
/*override*/
;
37
38
virtual
int
size()
const
/*override*/
;
39
// NOLINTEND
40
41
public
:
42
// member functions
43
// NOLINTBEGIN
44
MCNAPI
bool
matches
(
::CraftingContainer
const
& craftSlots,
int
xOffs,
int
yOffs,
bool
xFlip)
const
;
45
// NOLINTEND
46
47
public
:
48
// virtual function thunks
49
// NOLINTBEGIN
50
MCFOLD ::std::vector<::ItemInstance>
const
& $assemble(
::CraftingContainer
&,
::CraftingContext
&)
const
;
51
52
MCAPI
int
$getCraftingSize()
const
;
53
54
MCFOLD ::RecipeIngredient
const
& $getIngredient(
int
x,
int
y)
const
;
55
56
MCFOLD
bool
$isShapeless()
const
;
57
58
MCAPI
bool
$matches(
::CraftingContainer
const
& craftSlots,
::CraftingContext
const
&)
const
;
59
60
MCAPI
int
$size()
const
;
61
62
63
// NOLINTEND
64
65
public
:
66
// vftables
67
// NOLINTBEGIN
68
MCAPI
static
void
**
$vftable
();
69
// NOLINTEND
70
};
CraftingContainer
Definition
CraftingContainer.h:14
CraftingContext
Definition
CraftingContext.h:21
ItemInstance
Definition
ItemInstance.h:15
RecipeIngredient
Definition
RecipeIngredient.h:8
Recipe::$vftable
static MCAPI void ** $vftable()
ShapedRecipe
Definition
ShapedRecipe.h:16
ShapedRecipe::matches
MCAPI bool matches(::CraftingContainer const &craftSlots, int xOffs, int yOffs, bool xFlip) const
src
mc
world
item
crafting
ShapedRecipe.h
Generated on
for LeviLamina by
1.16.1