Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Particle Class Referenceabstract

Public Member Functions

virtual void init (::Vec3 const &pos, ::Vec3 const &dir, int scale, ::ParticleEngine &engine)=0
virtual void addTagData (::CompoundTag const &tag)
virtual void normalTick ()
virtual void tessellate (::ParticleRenderContext const &renderContext)
virtual::mce::TexturePtr const & getParticleTexture () const
virtual void setEmittingEntity (::Actor &entity)
virtual bool _shouldUpdateVertexData (float sqDist)
virtual void _calculateAmbientLight (float a)
MCAPI void _init (::Vec3 const &pos, ::Vec3 const &dir, int scale, ::ParticleEngine &engine, ::CompoundTag const *tag)
MCAPI void move (::Vec3 const &delta)
MCAPI void $addTagData (::CompoundTag const &tag)
MCAPI void $normalTick ()
MCAPI void $tessellate (::ParticleRenderContext const &renderContext)
MCAPI::mce::TexturePtr const & $getParticleTexture () const
MCAPI void $setEmittingEntity (::Actor &entity)
MCAPI bool $_shouldUpdateVertexData (float sqDist)
MCAPI void $_calculateAmbientLight (float a)

Static Public Member Functions

static MCAPI void initStaticResources (::std::shared_ptr<::mce::TextureGroup > textureGroup)
static MCAPI ::mce::TexturePtr & FLAME_ATLAS ()
static MCAPI ::mce::TexturePtr & FORCEFIELD_ATLAS ()
static MCAPI ::mce::TexturePtr & ITEMS_ATLAS ()
static MCAPI ::mce::TexturePtr & PARTICLE_ATLAS ()
static MCAPI ::mce::TexturePtr & TERRAIN_ATLAS ()

Public Attributes

::ll::TypedStorage< 4, 4, float > mCameraOffset
::ll::TypedStorage< 4, 4, int > mLifetime
::ll::TypedStorage< 8, 96, ::TextureUVCoordinateSet > mTex
::ll::TypedStorage< 4, 4, float > mU0
::ll::TypedStorage< 4, 4, float > mV0
::ll::TypedStorage< 4, 4, int > mAge
::ll::TypedStorage< 4, 4, int > mTicksSinceLastUpdate
::ll::TypedStorage< 4, 4, float > mSize
::ll::TypedStorage< 4, 4, float > mGravity
::ll::TypedStorage< 4, 16, ::mce::Color > mColor
::ll::TypedStorage< 4, 16, ::mce::Color > mVanillaLightColor
::ll::TypedStorage< 1, 2, ::BrightnessPair > mAmbientLight
::ll::TypedStorage< 4, 4, ::ParticleType > mType
::ll::TypedStorage< 4, 4, ::ParticleLayer > mLayer
::ll::TypedStorage< 1, 1, bool > mUnlit
::ll::TypedStorage< 4, 4, float > mRoll
::ll::TypedStorage< 4, 4, float > mORoll
::ll::TypedStorage< 4, 4, float > mXa
::ll::TypedStorage< 4, 4, float > mZa
::ll::TypedStorage< 4, 4, float > mXa2
::ll::TypedStorage< 4, 4, float > mZa2
::ll::TypedStorage< 4, 4, float > mYa
::ll::TypedStorage< 8, 8, ::BlockSource * > mRegion
::ll::TypedStorage< 4, 12, ::Vec3 > mPosDelta
::ll::TypedStorage< 4, 12, ::Vec3 > mPos
::ll::TypedStorage< 4, 12, ::Vec3 > mPosOld
::ll::TypedStorage< 1, 1, bool > mNoPhysics
::ll::TypedStorage< 1, 1, bool > mOnGround
::ll::TypedStorage< 1, 1, bool > mVertexDataInitialized
::ll::TypedStorage< 4, 24, ::AABB > mBB

Member Function Documentation

◆ _init()

MCAPI void Particle::_init ( ::Vec3 const & pos,
::Vec3 const & dir,
int scale,
::ParticleEngine & engine,
::CompoundTag const * tag )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ move()

MCAPI void Particle::move ( ::Vec3 const & delta)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ initStaticResources()

MCAPI void Particle::initStaticResources ( ::std::shared_ptr<::mce::TextureGroup > textureGroup)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ FLAME_ATLAS()

MCAPI ::mce::TexturePtr & Particle::FLAME_ATLAS ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ FORCEFIELD_ATLAS()

MCAPI ::mce::TexturePtr & Particle::FORCEFIELD_ATLAS ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ITEMS_ATLAS()

MCAPI ::mce::TexturePtr & Particle::ITEMS_ATLAS ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PARTICLE_ATLAS()

MCAPI ::mce::TexturePtr & Particle::PARTICLE_ATLAS ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ TERRAIN_ATLAS()

MCAPI ::mce::TexturePtr & Particle::TERRAIN_ATLAS ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $addTagData()

MCAPI void Particle::$addTagData ( ::CompoundTag const & tag)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $normalTick()

MCAPI void Particle::$normalTick ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getParticleTexture()

MCAPI::mce::TexturePtr const & Particle::$getParticleTexture ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setEmittingEntity()

MCAPI void Particle::$setEmittingEntity ( ::Actor & entity)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_shouldUpdateVertexData()

MCAPI bool Particle::$_shouldUpdateVertexData ( float sqDist)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_calculateAmbientLight()

MCAPI void Particle::$_calculateAmbientLight ( float a)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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