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
TameableComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/HandSlot.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
Interaction
;
12
class
Player
;
13
struct
ActorDefinitionTameItem
;
14
// clang-format on
15
16
class
TameableComponent
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 4, float> mChance;
21
::ll::TypedStorage<8, 24, ::std::vector<::ActorDefinitionTameItem>> mTameItems;
22
// NOLINTEND
23
24
public
:
25
// member functions
26
// NOLINTBEGIN
27
MCNAPI ::Interaction
getInteraction
(
::Actor
& owner,
::Player
& player, ::HandSlot handSlot);
28
29
MCAPI
void
tame(
::Actor
& owner,
::Player
& player);
30
// NOLINTEND
31
};
Actor
Definition
Actor.h:116
Interaction
Definition
Interaction.h:9
Player
Definition
Player.h:131
TameableComponent
Definition
TameableComponent.h:16
TameableComponent::getInteraction
MCAPI::Interaction getInteraction(::Actor &owner, ::Player &player, ::HandSlot handSlot)
ActorDefinitionTameItem
Definition
ActorDefinitionTameItem.h:8
src
mc
entity
components_json_legacy
TameableComponent.h
Generated on
for LeviLamina by
1.16.1