LeviLamina
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:13
EquipmentTableDropChance
Definition
EquipmentTableDropChance.h:5
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 Fri Jun 13 2025 05:04:32 for LeviLamina by
1.12.0