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
AdmireItemComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/WeakEntityRef.h"
7
#include "mc/world/item/ItemStack.h"
8
#include "mc/world/level/Tick.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
Actor
;
13
// clang-format on
14
15
struct
AdmireItemComponent
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<1, 1, bool> mIsAdmiring;
20
::ll::TypedStorage<8, 152, ::ItemStack> mAdmireItem;
21
::ll::TypedStorage<8, 8, ::Tick> mAdmireUntil;
22
::ll::TypedStorage<8, 24, ::WeakEntityRef> mItemOwnerRef;
23
// NOLINTEND
24
25
public
:
26
// member functions
27
// NOLINTBEGIN
28
MCNAPI
void
onAdmireItemPickedUp
(
::Actor
const
& owner,
::ItemStack
const
& item,
::Actor
* itemOwner);
29
30
MCNAPI
void
stopAdmiring
();
31
// NOLINTEND
32
};
Actor
Definition
Actor.h:116
ItemStack
Definition
ItemStack.h:26
AdmireItemComponent
Definition
AdmireItemComponent.h:15
AdmireItemComponent::onAdmireItemPickedUp
MCAPI void onAdmireItemPickedUp(::Actor const &owner, ::ItemStack const &item, ::Actor *itemOwner)
AdmireItemComponent::stopAdmiring
MCAPI void stopAdmiring()
src
mc
entity
components
AdmireItemComponent.h
Generated on
for LeviLamina by
1.16.1