LeviLamina
Loading...
Searching...
No Matches
InteractionParticle.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/comprehensive/ParticleType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockSource;
12class ItemStack;
13class Player;
14// clang-format on
15
17public:
18 // InteractionParticle inner types define
19 enum class CopperEventType : uchar {
20 None = 0,
21 WaxOn = 1,
22 WaxOff = 2,
23 Scrape = 3,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 4, ::ParticleType> mOnStartType;
30 ::ll::TypedStorage<4, 4, float> mOffsetY;
31 ::ll::TypedStorage<1, 1, bool> mOffsetTowardsInteractor;
32 ::ll::TypedStorage<1, 1, ::InteractionParticle::CopperEventType> mCopperEventType;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI void setCopperEventType(::std::string const& name);
39
40 MCAPI void setParticleType(::std::string const& name);
41
42 MCAPI void
43 spawnParticle(::BlockSource& region, ::Actor& owner, ::Player& player, ::ItemStack const& usedItemCopy) const;
44 // NOLINTEND
45};
Definition Actor.h:106
Definition BlockSource.h:71
Definition ItemStack.h:26
Definition Player.h:129
Definition InteractionParticle.h:16