Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FlammableComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/v1_26_20/block/LavaFlammable.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cereal { struct ReflectionCtx; }
11// clang-format on
12
13namespace SharedTypes::v1_26_20::BlockDefinition {
14
16public:
17 // FlammableComponent inner types declare
18 // clang-format off
19 struct DetailedFlammable;
20 // clang-format on
21
22 // FlammableComponent inner types define
24 public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<2, 2, ushort> mCatchChanceModifier;
28 ::ll::TypedStorage<2, 2, ushort> mDestroyChanceModifier;
29 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_26_20::LavaFlammable> mLavaFlammable;
30 // NOLINTEND
31 };
32
33public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<
37 2,
38 8,
39 ::std::variant<bool, ::SharedTypes::v1_26_20::BlockDefinition::FlammableComponent::DetailedFlammable>>
40 mFlammableValue;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
47 // NOLINTEND
48
49public:
50 // static variables
51 // NOLINTBEGIN
52 MCNAPI static ::std::string_view const& CATCH_CHANCE_ID();
53
54 MCNAPI static ::std::string_view const& DESTROY_CHANCE_ID();
55
56 MCNAPI static ::std::string_view const& LAVA_FLAMMABLE_ID();
57
58 MCNAPI static ::std::string_view const& NameId();
59 // NOLINTEND
60};
61
62} // namespace SharedTypes::v1_26_20::BlockDefinition
static MCAPI ::std::string_view const & LAVA_FLAMMABLE_ID()
static MCAPI ::std::string_view const & NameId()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI ::std::string_view const & DESTROY_CHANCE_ID()
static MCAPI ::std::string_view const & CATCH_CHANCE_ID()
Definition ReflectionCtx.h:11
Definition ctx.h:5