Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
AttributeCollection.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/string/HashedString.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Attribute
;
11
// clang-format on
12
13
class
AttributeCollection
{
14
public
:
15
// member variables
16
// NOLINTBEGIN
17
::ll::TypedStorage<8, 64, ::std::unordered_map<::HashedString, ::Attribute*>> mAttributesMap;
18
::ll::TypedStorage<4, 4, uint> mIDValueIndex;
19
// NOLINTEND
20
21
public
:
22
// member functions
23
// NOLINTBEGIN
24
MCNAPI ::Attribute&
getAttribute
(
::HashedString
const
& name);
25
// NOLINTEND
26
27
public
:
28
// static functions
29
// NOLINTBEGIN
30
MCNAPI
static
bool
hasAttribute
(
::HashedString
const
& name);
31
// NOLINTEND
32
};
AttributeCollection
Definition
AttributeCollection.h:13
AttributeCollection::hasAttribute
static MCAPI bool hasAttribute(::HashedString const &name)
AttributeCollection::getAttribute
MCAPI::Attribute & getAttribute(::HashedString const &name)
Attribute
Definition
Attribute.h:9
HashedString
Definition
HashedString.h:5
src
mc
world
attribute
AttributeCollection.h
Generated on
for LeviLamina by
1.16.1