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
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 void initialize(::EntityContext& entity, ::ExplodeComponent& component) const;
43
44 MCAPI void setParticleDefinitionByName(::std::string const& name);
45
46 MCAPI void setSoundDefinitionByName(::std::string const& name);
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void
54 // NOLINTEND
55};
Definition EntityContext.h:16
Definition ExplodeComponent.h:15
Definition ExplodeDefinition.h:18
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8