LeviLamina
Loading...
Searching...
No Matches
LevelAnimateTickHelper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class BlockSource;
9class Random;
10class Vec3;
11// clang-format on
12
13class LevelAnimateTickHelper {
14public:
15 // LevelAnimateTickHelper inner types declare
16 // clang-format off
17 struct LoopCount;
19 // clang-format on
20
21 // LevelAnimateTickHelper inner types define
22 struct LoopCount {
23 public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 LoopCount& operator=(LoopCount const&);
33 LoopCount(LoopCount const&);
34 LoopCount();
35 };
36
37 struct TimeLimitedJavaParityOffsetCenterData {
38 public:
39 // member variables
40 // NOLINTBEGIN
44 // NOLINTEND
45
46 public:
47 // prevent constructor by default
48 TimeLimitedJavaParityOffsetCenterData& operator=(TimeLimitedJavaParityOffsetCenterData const&);
49 TimeLimitedJavaParityOffsetCenterData(TimeLimitedJavaParityOffsetCenterData const&);
50 TimeLimitedJavaParityOffsetCenterData();
51 };
52
53public:
54 // member variables
55 // NOLINTBEGIN
59 // NOLINTEND
60
61public:
62 // prevent constructor by default
63 LevelAnimateTickHelper& operator=(LevelAnimateTickHelper const&);
64 LevelAnimateTickHelper(LevelAnimateTickHelper const&);
65 LevelAnimateTickHelper();
66
67public:
68 // member functions
69 // NOLINTBEGIN
70#ifdef LL_PLAT_C
71 MCNAPI void
72 _tickBlockAnimationsJavaParity(::BlockSource& region, ::Random& random, ::Vec3 const& centerPosition) const;
73
74 MCNAPI void _tickBlockAnimationsTimeLimitedJavaParity(
75 ::BlockSource& region,
76 ::Random& random,
77 ::Vec3 const& centerPosition,
79 );
80
81 MCNAPI void doAnimateTick(::BlockSource& region, ::Vec3 const& centerPosition, ::Vec3 const& viewDirection);
82#endif
83 // NOLINTEND
84
85public:
86 // static functions
87 // NOLINTBEGIN
88#ifdef LL_PLAT_C
89 MCNAPI static void _animateTickRandomBlockInRadius(
90 ::BlockSource& region,
91 ::Random& random,
92 ::Vec3 const& centerPosition,
93 float radius,
94 bool doAnimateTickBedrockLegacy
95 );
96
97 MCNAPI static ::LevelAnimateTickHelper::TimeLimitedJavaParityOffsetCenterData
98 _computeTimeLimitedJavaParityAnimateTickCenter(
99 ::Vec3 const& centerPosition,
100 ::Vec3 const& prevPosition,
101 ::Vec3 const& viewDirection
102 );
103#endif
104 // NOLINTEND
105
106public:
107 // static variables
108 // NOLINTBEGIN
109#ifdef LL_PLAT_C
110 MCNAPI static ::BaseGameVersion const& MIN_TIME_LIMITED_JAVA_PARITY_VERSION();
111#endif
112 // NOLINTEND
113};
Definition BaseGameVersion.h:8
Definition BlockSource.h:71
Definition Random.h:10
Definition Vec3.h:10
Definition LevelAnimateTickHelper.h:22
Definition Alias.h:14