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
CompoundCreatorInputValidation.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/inventory/simulation/validation/ContainerValidationBase.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Container
;
11
class
ContainerScreenContext
;
12
class
ItemStackBase
;
13
// clang-format on
14
15
class
CompoundCreatorInputValidation
:
public
::ContainerValidationBase
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
virtual
~CompoundCreatorInputValidation
()
/*override*/
=
default
;
20
21
virtual
bool
isItemAllowedInSlot(
22
::ContainerScreenContext
const
& screenContext,
23
int
const
slot,
24
::ItemStackBase
const
& item,
25
int
const
amount,
26
bool
27
)
const
/*override*/
;
28
29
virtual
int
getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
30
31
virtual
int
getContainerSize(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
32
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// virtual function thunks
37
// NOLINTBEGIN
38
MCNAPI
bool
$isItemAllowedInSlot
(
39
::ContainerScreenContext
const
& screenContext,
40
int
const
slot,
41
::ItemStackBase
const
& item,
42
int
const
amount,
43
bool
44
)
const
;
45
46
MCNAPI
int
$getContainerOffset
(
::ContainerScreenContext
const
& screenContext)
const
;
47
48
MCNAPI
int
$getContainerSize
(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
;
49
50
51
// NOLINTEND
52
};
CompoundCreatorInputValidation
Definition
CompoundCreatorInputValidation.h:15
CompoundCreatorInputValidation::$getContainerOffset
MCAPI int $getContainerOffset(::ContainerScreenContext const &screenContext) const
CompoundCreatorInputValidation::$isItemAllowedInSlot
MCAPI bool $isItemAllowedInSlot(::ContainerScreenContext const &screenContext, int const slot, ::ItemStackBase const &item, int const amount, bool) const
CompoundCreatorInputValidation::$getContainerSize
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
ContainerScreenContext
Definition
ContainerScreenContext.h:16
ContainerValidationBase
Definition
ContainerValidationBase.h:12
Container
Definition
Container.h:36
ItemStackBase
Definition
ItemStackBase.h:45
src
mc
world
inventory
simulation
validation
CompoundCreatorInputValidation.h
Generated on
for LeviLamina by
1.16.1