LeviLamina
Loading...
Searching...
No Matches
OnFireComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class CompoundTag;
9// clang-format on
10
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<4, 4, int> mOnFireTicks;
16 ::ll::TypedStorage<1, 1, bool> mIgnitedThisTick;
17 // NOLINTEND
18
19public:
20 // member functions
21 // NOLINTBEGIN
22 MCAPI void addAdditionalSaveData(::Actor const&, ::CompoundTag& tag) const;
23
24 MCAPI void readAdditionalSaveData(::Actor&, ::CompoundTag const& tag);
25 // NOLINTEND
26
27public:
28 // static functions
29 // NOLINTBEGIN
30 MCAPI static void convertFromLegacyData(::CompoundTag const& tag, ::CompoundTag& outTag);
31
32 MCAPI static bool needsLegacyConversion(::CompoundTag const& tag);
33 // NOLINTEND
34
35public:
36 // static variables
37 // NOLINTBEGIN
38 MCAPI static ::std::string const& LEGACY_FIRE_TAG();
39
40 MCAPI static ::std::string const& ON_FIRE_TAG();
41 // NOLINTEND
42};
Definition Actor.h:125
Definition CompoundTag.h:23
Definition OnFireComponent.h:11