LeviLamina
Loading...
Searching...
No Matches
CompassSpriteCalculator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class BlockPos;
9class BlockSource;
10// clang-format on
11
13public:
14 // member variables
15 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI int update(::Actor& actor, bool instant);
33
34 MCAPI int updateFromPosition(
35 ::BlockSource const* region,
36 ::Actor* actor,
37 float x,
38 float z,
39 float yRot,
40 bool isZFlipped,
41 bool instant
42 );
43
44 MCAPI int updateFromPosition(
45 ::BlockSource const* lookTowards,
46 ::BlockPos const& x,
47 float z,
48 float yRot,
49 float isZFlipped,
50 bool spin,
51 bool,
52 bool instant
53 );
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static bool isInLastDeathDimension(::BlockSource const* region, ::Actor* actor);
60
61 MCAPI static bool isInOverworldDimension(::BlockSource const* region, ::Actor*);
62
63 MCAPI static ::BlockPos pointTowardsLastDeathLocation(::BlockSource const* region, ::Actor* actor);
64
65 MCAPI static ::BlockPos pointTowardsSpawnPoint(::BlockSource const* region, ::Actor*);
66 // NOLINTEND
67};
Definition Actor.h:104
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CompassSpriteCalculator.h:12
Definition Alias.h:14