LeviLamina
Loading...
Searching...
No Matches
ExplodeDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelEvent.h"
7#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
8#include "mc/util/FloatRange.h"
9#include "mc/util/json_util/JsonSchemaObjectNode.h"
10
11// auto generated forward declare list
12// clang-format off
13class EntityContext;
15namespace JsonUtil { class EmptyClass; }
16// clang-format on
17
18class ExplodeDefinition {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 8, ::FloatRange> mFuseLength;
23 ::ll::TypedStorage<4, 4, float> mExplosionPower;
24 ::ll::TypedStorage<4, 4, float> mMaxResistance;
25 ::ll::TypedStorage<1, 1, bool> mIsFuseLit;
26 ::ll::TypedStorage<1, 1, bool> mCausesFire;
27 ::ll::TypedStorage<4, 4, float> mDamageScaling;
28 ::ll::TypedStorage<1, 1, bool> mBreaksBlocks;
29 ::ll::TypedStorage<1, 1, bool> mTogglesBlocks;
30 ::ll::TypedStorage<1, 1, bool> mFireAffectedByGriefing;
31 ::ll::TypedStorage<1, 1, bool> mDestroyAffectedByGriefing;
32 ::ll::TypedStorage<4, 4, float> mKnockbackScaling;
33 ::ll::TypedStorage<2, 2, ::SharedTypes::Legacy::LevelEvent> mParticleType;
34 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSoundEffect;
35 ::ll::TypedStorage<1, 1, bool> mNegatesFallDamage;
36 ::ll::TypedStorage<1, 1, bool> mAllowUnderwater;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI ExplodeDefinition();
43
44 MCAPI void initialize(::EntityContext& entity, ::ExplodeComponent& component) const;
45
46 MCAPI void setParticleDefinitionByName(::std::string const& name);
47
48 MCAPI void setSoundDefinitionByName(::std::string const& name);
49
50 MCFOLD void uninitialize(::EntityContext& entity) const;
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCAPI static void
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor();
64 // NOLINTEND
65};
Definition EntityContext.h:17
Definition ExplodeComponent.h:17
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8