LeviLamina
Loading...
Searching...
No Matches
SlotDropChancesComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
CompoundTag
;
8
struct
EquipmentTableDropChance
;
9
// clang-format on
10
11
struct
SlotDropChancesComponent
{
12
public
:
13
// member variables
14
// NOLINTBEGIN
15
::ll::TypedStorage<4, 48, ::std::array<::EquipmentTableDropChance, 6>> mDropChances;
16
::ll::TypedStorage<4, 4, float> mDefaultChance;
17
::ll::TypedStorage<4, 4, float> mDefaultChanceForInvalidSlots;
18
// NOLINTEND
19
20
public
:
21
// member functions
22
// NOLINTBEGIN
23
MCAPI
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
;
24
25
MCAPI
void
readAdditionalSaveData(
::CompoundTag
const
& tag);
26
// NOLINTEND
27
};
CompoundTag
Definition
CompoundTag.h:13
EquipmentTableDropChance
Definition
EquipmentTableDropChance.h:5
SlotDropChancesComponent
Definition
SlotDropChancesComponent.h:11
src
mc
entity
components
SlotDropChancesComponent.h
Generated on Sat Apr 26 2025 05:55:35 for LeviLamina by
1.12.0