LeviLamina
Loading...
Searching...
No Matches
ActorParticles.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/comprehensive/ParticleType.h"
7#include "mc/deps/shared_types/legacy/actor/PaletteColor.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Block;
13class BlockPos;
14class ILevel;
15class Random;
16class Vec2;
17class Vec3;
18// clang-format on
19
20namespace ActorParticles {
21// functions
22// NOLINTBEGIN
23MCAPI uint calculateDustParticleNumberFromFall(float fallDistance);
24
25MCAPI ::Vec3 getDustParticlePosition(::Vec3 const& position, ::AABB const& aabb);
26
27MCAPI void spawnBalloonPopParticles(
28 uint particleCount,
29 ::AABB aabb,
30 ::SharedTypes::Legacy::PaletteColor color,
31 ::ILevel& level,
32 ::Random& random
33);
34
35MCAPI void spawnDeathParticles(::Vec3 position, ::Vec2 aabbDim, float heightOffset, ::ILevel& level);
36
37MCAPI void spawnDustParticlesFromFalling(
38 uint particleCount,
39 ::Vec3 position,
40 ::ILevel& level,
41 ::Block const& block,
42 ::BlockPos blockPos
43);
44
45MCAPI void spawnParticlesInArea(
46 ::ILevel& level,
47 uint particleCount,
48 ::ParticleType type,
49 ::Vec3 const& position,
50 ::Vec2 const& aabbDim,
51 ::Random& random
52);
53
54MCAPI void spawnPukeParticles(
55 uint numLines,
56 uint particlesPerLine,
57 ::Vec3 position,
58 ::Vec3 lookDirection,
59 ::ILevel& level,
60 ::Random& random
61);
62
63MCAPI void spawnTreasureHuntingParticles(
64 uint particleCount,
65 ::Vec3 position,
66 ::Vec3 direction,
67 ::Vec2 aabbDim,
68 ::ILevel& level,
69 ::Random& random
70);
71// NOLINTEND
72
73} // namespace ActorParticles
Definition AABB.h:18
Definition BlockPos.h:21
Definition Block.h:69
Definition ILevel.h:219
Definition Random.h:10
Definition Vec2.h:5
Definition Vec3.h:10