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
75 _tickBlockAnimationsOriginalBedrock(::BlockSource& region, ::Random& random, ::Vec3 const& centerPosition) const;
76
77 MCNAPI void _tickBlockAnimationsTimeLimitedJavaParity(
78 ::BlockSource& region,
79 ::Random& random,
80 ::Vec3 const& centerPosition,
82 );
83
84 MCNAPI void doAnimateTick(::BlockSource& region, ::Vec3 const& centerPosition, ::Vec3 const& viewDirection);
85#endif
86 // NOLINTEND
87
88public:
89 // static functions
90 // NOLINTBEGIN
91#ifdef LL_PLAT_C
92 MCNAPI static void _animateTickRandomBlockInRadius(
93 ::BlockSource& region,
94 ::Random& random,
95 ::Vec3 const& centerPosition,
96 float radius,
97 bool doAnimateTickBedrockLegacy
98 );
99
100 MCNAPI static ::LevelAnimateTickHelper::TimeLimitedJavaParityOffsetCenterData
101 _computeTimeLimitedJavaParityAnimateTickCenter(
102 ::Vec3 const& centerPosition,
103 ::Vec3 const& prevPosition,
104 ::Vec3 const& viewDirection
105 );
106#endif
107 // NOLINTEND
108
109public:
110 // static variables
111 // NOLINTBEGIN
112#ifdef LL_PLAT_C
113 MCNAPI static ::BaseGameVersion const& MIN_TIME_LIMITED_JAVA_PARITY_VERSION();
114#endif
115 // NOLINTEND
116};
Definition BaseGameVersion.h:8
Definition BlockSource.h:71
Definition Random.h:10
Definition Vec3.h:10
Definition LevelAnimateTickHelper.h:22
Definition Alias.h:14