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

Classes

struct  Exit
 
struct  RailExits
 

Static Public Member Functions

static MCAPI ::Vec3 calculateGoldenRailSpeedIncrease (::IConstBlockSource const &region, ::BlockPos const &pos, int direction, ::Vec3 posDelta)
 
static MCAPI ::Vec3 calculateMoveVelocity (::Block const &block, int railDirection, float maxSpeed, bool hasPassenger, ::Vec3 &posDelta, bool &haltTrack, bool &powerTrack, ::std::function< bool(::Vec3 &)> const &calculateAllPassengersInputFunc)
 
static MCAPI ::Vec3 calculatePostRailMovementMinecartPosition (::IConstBlockSource const &region, ::Vec3 const &originalEntityPosition, ::Vec3 entityPos, ::BlockPos const &pos, int railDirection, ::Vec3 &posDelta)
 
static MCAPI bool getPos (::IConstBlockSource const &region, ::Vec3 &valueVec, ::Vec3 pos)
 
static MCAPI ::std::array<::RailMovementUtility::RailExits, 10 > const & RAIL_EXITS ()
 

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