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
InteractionResult
;
13
class
Player
;
14
struct
FeedItem
;
15
// clang-format on
16
17
class
HealableComponent
{
18
public
:
19
// member functions
20
// NOLINTBEGIN
21
MCAPI
void
_useFeedItem(
::Actor
& owner,
::Player
& player,
::FeedItem
const
& feedItem);
22
23
MCAPI ::InteractionResult getInteraction(
::Actor
& owner,
::Player
& player,
::ActorInteraction
& interaction);
24
// NOLINTEND
25
26
public
:
27
// static functions
28
// NOLINTBEGIN
29
MCAPI
static
void
_applyEffects(
::Actor
& owner, ::std::vector<::FeedItem::Effect>
const
& effects);
30
// NOLINTEND
31
};
ActorInteraction
Definition
ActorInteraction.h:8
Actor
Definition
Actor.h:125
HealableComponent
Definition
HealableComponent.h:17
InteractionResult
Definition
InteractionResult.h:5
Player
Definition
Player.h:137
FeedItem
Definition
FeedItem.h:9
src
mc
entity
components_json_legacy
HealableComponent.h
Generated on
for LeviLamina by
1.16.1