LeviLamina
Loading...
Searching...
No Matches
TameableComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Actor
;
8
class
Item
;
9
class
Player
;
10
// clang-format on
11
12
class
TameableComponent
{
13
public
:
14
// member variables
15
// NOLINTBEGIN
16
::ll::TypedStorage<4, 4, float> mChance;
17
::ll::TypedStorage<8, 16, ::std::set<::Item const*>> mTameItems;
18
// NOLINTEND
19
20
public
:
21
// member functions
22
// NOLINTBEGIN
23
MCNAPI
bool
_attemptToTame
(
::Actor
& owner,
::Player
& player);
24
25
MCNAPI
bool
_canTame
(
::Actor
& owner,
::Player
& player);
26
27
MCNAPI
void
tame
(
::Actor
& owner,
::Player
& player);
28
// NOLINTEND
29
30
public
:
31
// static functions
32
// NOLINTBEGIN
33
MCNAPI
static
void
_becomeTame
(
::Actor
& owner);
34
// NOLINTEND
35
};
Actor
Definition
Actor.h:103
Item
Definition
Item.h:65
Player
Definition
Player.h:119
TameableComponent
Definition
TameableComponent.h:12
TameableComponent::_canTame
MCAPI bool _canTame(::Actor &owner, ::Player &player)
TameableComponent::_becomeTame
static MCAPI void _becomeTame(::Actor &owner)
TameableComponent::tame
MCAPI void tame(::Actor &owner, ::Player &player)
TameableComponent::_attemptToTame
MCAPI bool _attemptToTame(::Actor &owner, ::Player &player)
src
mc
entity
components_json_legacy
TameableComponent.h
Generated on Fri Jun 13 2025 05:04:33 for LeviLamina by
1.12.0