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 MCNAPI int update(::Actor& actor, bool instant);
33
35 ::BlockSource const* region,
36 ::Actor* actor,
37 float x,
38 float z,
39 float yRot,
40 bool isZFlipped,
41 bool instant
42 );
43
45 ::BlockSource const*,
46 ::BlockPos const& lookTowards,
47 float x,
48 float z,
49 float yRot,
50 bool isZFlipped,
51 bool instant,
52 bool spin
53 );
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCNAPI static bool isInLastDeathDimension(::BlockSource const* region, ::Actor* actor);
60
61 MCNAPI static bool isInOverworldDimension(::BlockSource const* region, ::Actor*);
62
63 MCNAPI static ::BlockPos pointTowardsLastDeathLocation(::BlockSource const* region, ::Actor* actor);
64
65 MCNAPI static ::BlockPos pointTowardsSpawnPoint(::BlockSource const* region, ::Actor*);
66 // NOLINTEND
67};
Definition Actor.h:103
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CompassSpriteCalculator.h:12
static MCAPI bool isInOverworldDimension(::BlockSource const *region, ::Actor *)
MCAPI int update(::Actor &actor, bool instant)
static MCAPI ::BlockPos pointTowardsLastDeathLocation(::BlockSource const *region, ::Actor *actor)
static MCAPI bool isInLastDeathDimension(::BlockSource const *region, ::Actor *actor)
static MCAPI ::BlockPos pointTowardsSpawnPoint(::BlockSource const *region, ::Actor *)
MCAPI int updateFromPosition(::BlockSource const *, ::BlockPos const &lookTowards, float x, float z, float yRot, bool isZFlipped, bool instant, bool spin)
MCAPI int updateFromPosition(::BlockSource const *region, ::Actor *actor, float x, float z, float yRot, bool isZFlipped, bool instant)
Definition Alias.h:14