LeviLamina
Loading...
Searching...
No Matches
HealableComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/FeedItem.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
ActorInteraction
;
12
class
HealableDefinition
;
13
class
ItemStack
;
14
class
Player
;
15
struct
FeedItem
;
16
// clang-format on
17
18
class
HealableComponent
{
19
public
:
20
// member functions
21
// NOLINTBEGIN
22
MCAPI
void
_useFeedItem(
::Actor
& owner,
::Player
& player,
::FeedItem
const
& feedItem);
23
24
MCAPI
bool
getInteraction(
::Actor
& owner,
::Player
& player,
::ActorInteraction
& interaction);
25
// NOLINTEND
26
27
public
:
28
// static functions
29
// NOLINTBEGIN
30
MCAPI
static
void
_applyEffects(
::Actor
& owner, ::std::vector<::FeedItem::Effect>
const
& effects);
31
32
MCAPI
static
bool
_canHeal(
::Actor
& owner,
::ItemStack
const
& item,
::HealableDefinition
const
* healableDefinition);
33
// NOLINTEND
34
};
ActorInteraction
Definition
ActorInteraction.h:5
Actor
Definition
Actor.h:104
HealableComponent
Definition
HealableComponent.h:18
HealableDefinition
Definition
HealableDefinition.h:14
ItemStack
Definition
ItemStack.h:25
Player
Definition
Player.h:119
FeedItem
Definition
FeedItem.h:10
src
mc
entity
components_json_legacy
HealableComponent.h
Generated on Sat Apr 26 2025 05:55:36 for LeviLamina by
1.12.0