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
InventoryContainerValidation.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
InventoryContainerValidation
:
public
::ContainerValidationBase
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
virtual
bool
isItemAllowedToRemove(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& item)
const
20
/*override*/
;
21
22
virtual
int
getContainerOffset(
::ContainerScreenContext
const
& screenContext)
const
/*override*/
;
23
24
virtual
int
getContainerSize(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
25
/*override*/
;
26
27
virtual
bool
canItemMoveToContainer(
::ItemStackBase
const
& item)
const
/*override*/
;
28
// NOLINTEND
29
30
public
:
31
// virtual function thunks
32
// NOLINTBEGIN
33
MCNAPI
bool
34
$isItemAllowedToRemove
(
::ContainerScreenContext
const
& screenContext,
::ItemStackBase
const
& item)
const
;
35
36
MCNAPI
int
$getContainerOffset
(
::ContainerScreenContext
const
& screenContext)
const
;
37
38
MCNAPI
int
$getContainerSize
(
::ContainerScreenContext
const
& screenContext,
::Container
const
& container)
const
;
39
40
MCNAPI
bool
$canItemMoveToContainer
(
::ItemStackBase
const
& item)
const
;
41
42
43
// NOLINTEND
44
};
ContainerScreenContext
Definition
ContainerScreenContext.h:16
ContainerValidationBase
Definition
ContainerValidationBase.h:12
Container
Definition
Container.h:36
InventoryContainerValidation
Definition
InventoryContainerValidation.h:15
InventoryContainerValidation::$getContainerOffset
MCAPI int $getContainerOffset(::ContainerScreenContext const &screenContext) const
InventoryContainerValidation::$getContainerSize
MCAPI int $getContainerSize(::ContainerScreenContext const &screenContext, ::Container const &container) const
InventoryContainerValidation::$isItemAllowedToRemove
MCAPI bool $isItemAllowedToRemove(::ContainerScreenContext const &screenContext, ::ItemStackBase const &item) const
InventoryContainerValidation::$canItemMoveToContainer
MCAPI bool $canItemMoveToContainer(::ItemStackBase const &item) const
ItemStackBase
Definition
ItemStackBase.h:45
src
mc
world
inventory
simulation
validation
InventoryContainerValidation.h
Generated on
for LeviLamina by
1.16.1