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
SlotDropChancesComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/EquipmentTableDropChance.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
CompoundTag
;
11
struct
EquipmentTableDropChance
;
12
// clang-format on
13
14
struct
SlotDropChancesComponent
{
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::TypedStorage<4, 48, ::std::array<::EquipmentTableDropChance, 6>> mDropChances;
19
::ll::TypedStorage<4, 4, float> mDefaultChance;
20
::ll::TypedStorage<4, 4, float> mDefaultChanceForInvalidSlots;
21
// NOLINTEND
22
23
public
:
24
// member functions
25
// NOLINTBEGIN
26
MCNAPI
void
addAdditionalSaveData
(
::CompoundTag
& tag)
const
;
27
28
MCNAPI
void
readAdditionalSaveData
(
::CompoundTag
const
& tag);
29
// NOLINTEND
30
};
CompoundTag
Definition
CompoundTag.h:18
EquipmentTableDropChance
Definition
EquipmentTableDropChance.h:8
SlotDropChancesComponent
Definition
SlotDropChancesComponent.h:14
SlotDropChancesComponent::readAdditionalSaveData
MCAPI void readAdditionalSaveData(::CompoundTag const &tag)
SlotDropChancesComponent::addAdditionalSaveData
MCAPI void addAdditionalSaveData(::CompoundTag &tag) const
src
mc
entity
components
SlotDropChancesComponent.h
Generated on
for LeviLamina by
1.16.1