LeviLamina
Loading...
Searching...
No Matches
EquippableComponent.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
CompoundTag
;
9
class
ItemStack
;
10
struct
SlotDescriptor
;
11
// clang-format on
12
13
class
EquippableComponent
{
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::TypedStorage<8, 24, ::std::vector<::SlotDescriptor>> mSlots;
18
// NOLINTEND
19
20
public
:
21
// prevent constructor by default
22
EquippableComponent
& operator=(
EquippableComponent
const
&);
23
EquippableComponent
(
EquippableComponent
const
&);
24
25
public
:
26
// member functions
27
// NOLINTBEGIN
28
MCAPI ::std::unique_ptr<::CompoundTag> createTag(
::Actor
& owner)
const
;
29
30
MCAPI
bool
onItemChanged(
::Actor
& owner, uint64 slotIdx,
::ItemStack
const
& item)
const
;
31
32
MCAPI ::EquippableComponent& operator=(
::EquippableComponent
&& other);
33
// NOLINTEND
34
};
Actor
Definition
Actor.h:104
CompoundTag
Definition
CompoundTag.h:13
EquippableComponent
Definition
EquippableComponent.h:13
ItemStack
Definition
ItemStack.h:25
SlotDescriptor
Definition
SlotDescriptor.h:10
src
mc
entity
components_json_legacy
EquippableComponent.h
Generated on Sat Apr 26 2025 05:55:36 for LeviLamina by
1.12.0