LeviLamina
Loading...
Searching...
No Matches
ExplodeComponent.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
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class CompoundTag;
13class DataLoadHelper;
14class Vec3;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, int> mFuseLength;
22 ::ll::TypedStorage<4, 4, int> mInitialFuseLength;
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<1, 1, bool> mAllowUnderwater;
33 ::ll::TypedStorage<1, 1, bool> mRequiresTntExplodeGameRuleEnabled;
34 ::ll::TypedStorage<4, 4, float> mKnockbackScaling;
35 ::ll::TypedStorage<2, 2, ::SharedTypes::Legacy::LevelEvent> mParticleType;
36 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSoundEffect;
37 ::ll::TypedStorage<1, 1, bool> mNegatesFallDamage;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void addAdditionalSaveData(::CompoundTag& tag) const;
44
45 MCAPI void explode(::Actor& actor, ::Vec3 const& explosionPosition);
46
47 MCAPI void readAdditionalSaveData(::Actor& owner, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
48 // NOLINTEND
49};
Definition Actor.h:113
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition ExplodeComponent.h:17
Definition Vec3.h:10