LeviLamina
Loading...
Searching...
No Matches
InteractionParticle.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class BlockSource;
9class ItemStack;
10class Player;
11// clang-format on
12
13struct InteractionParticle {
14public:
15 // InteractionParticle inner types define
16 enum class CopperEventType : uchar {
17 None = 0,
18 WaxOn = 1,
19 WaxOff = 2,
20 Scrape = 3,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 InteractionParticle& operator=(InteractionParticle const&);
35 InteractionParticle(InteractionParticle const&);
36 InteractionParticle();
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI void setCopperEventType(::std::string const& name);
42
43 MCAPI void setParticleType(::std::string const& name);
44
45 MCAPI void
46 spawnParticle(::BlockSource& region, ::Actor& owner, ::Player& player, ::ItemStack const& usedItemCopy) const;
47 // NOLINTEND
48};
Definition Actor.h:105
Definition BlockSource.h:68
Definition ItemStack.h:26
Definition Player.h:125
Definition Alias.h:14