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
MCAPI
bool
_attemptToTame(
::Actor
& owner,
::Player
& player);
24
25
MCAPI
bool
_canTame(
::Actor
& owner,
::Player
& player);
26
27
MCAPI
void
tame(
::Actor
& owner,
::Player
& player);
28
// NOLINTEND
29
30
public
:
31
// static functions
32
// NOLINTBEGIN
33
MCAPI
static
void
_becomeTame(
::Actor
& owner);
34
// NOLINTEND
35
};
Actor
Definition
Actor.h:104
Item
Definition
Item.h:65
Player
Definition
Player.h:119
TameableComponent
Definition
TameableComponent.h:12
src
mc
entity
components_json_legacy
TameableComponent.h
Generated on Sat Apr 26 2025 05:55:36 for LeviLamina by
1.12.0