LeviLamina
Loading...
Searching...
No Matches
CompassSpriteCalculator Class Reference

Public Types

using PointToTargetFunction = ::BlockPos (*)(::BlockSource const*, ::Actor*)
 
using IsPointingAtTargetFunction = bool (*)(::BlockSource const*, ::Actor*)
 

Public Member Functions

MCAPI int update (::Actor &actor, bool instant)
 
MCAPI int updateFromPosition (::BlockSource const *region, ::Actor *actor, float x, float z, float yRot, bool isZFlipped, bool instant)
 
MCAPI int updateFromPosition (::BlockSource const *, ::BlockPos const &lookTowards, float x, float z, float yRot, bool isZFlipped, bool instant, bool spin)
 

Static Public Member Functions

static MCAPI bool isInLastDeathDimension (::BlockSource const *region, ::Actor *actor)
 
static MCAPI bool isInOverworldDimension (::BlockSource const *region, ::Actor *)
 
static MCAPI ::BlockPos pointTowardsLastDeathLocation (::BlockSource const *region, ::Actor *actor)
 
static MCAPI ::BlockPos pointTowardsSpawnPoint (::BlockSource const *region, ::Actor *)
 

Public Attributes

::ll::TypedStorage< 8, 8, ::BlockPos(*)(::BlockSource const *, ::Actor *)> mTargetToPointTo
 
::ll::TypedStorage< 8, 8, bool(*)(::BlockSource const *, ::Actor *)> mIsPointingAtTarget
 
::ll::TypedStorage< 4, 4, int > mFrame
 
::ll::TypedStorage< 4, 4, float > mRot
 
::ll::TypedStorage< 4, 4, float > mRotA
 

The documentation for this class was generated from the following file: