FlamethrowerParticle

@Environment(value = EnvType.CLIENT)
class FlamethrowerParticle(world: ClientWorld, x: Double, y: Double, z: Double, velocityX: Double, velocityY: Double, velocityZ: Double) : AbstractSlowingParticle(source)

Particle emitted by the campfire staff.

Parameters

world

The world the particle is in

x

The X component of the particle's position

y

The Z component of the particle's position

velocityX

The X component of the particle's velocity

velocityY

The Y component of the particle's velocity

velocityZ

The Z component of the particle's velocity

See also

Constructors

Link copied to clipboard
constructor(world: ClientWorld, x: Double, y: Double, z: Double, velocityX: Double, velocityY: Double, velocityZ: Double)

Types

Link copied to clipboard

Factory class for FlamethrowerParticle, intended to register in Minecraft instead of direct consumption.

Inherited properties

Link copied to clipboard
protected var age: Int
Link copied to clipboard
protected var alpha: Float
Link copied to clipboard
protected var angle: Float
Link copied to clipboard
protected var ascending: Boolean
Link copied to clipboard
protected var blue: Float
Link copied to clipboard
Link copied to clipboard
protected var collidesWithWorld: Boolean
Link copied to clipboard
protected var dead: Boolean
Link copied to clipboard
protected var gravityStrength: Float
Link copied to clipboard
protected var green: Float
Link copied to clipboard
protected var maxAge: Int
Link copied to clipboard
protected var onGround: Boolean
Link copied to clipboard
protected var prevAngle: Float
Link copied to clipboard
protected var prevPosX: Double
Link copied to clipboard
protected var prevPosY: Double
Link copied to clipboard
protected var prevPosZ: Double
Link copied to clipboard
protected val random: Random
Link copied to clipboard
protected var red: Float
Link copied to clipboard
protected var scale: Float
Link copied to clipboard
protected var spacingXZ: Float
Link copied to clipboard
protected var spacingY: Float
Link copied to clipboard
protected var sprite: Sprite
Link copied to clipboard
protected var velocityMultiplier: Float
Link copied to clipboard
protected var velocityX: Double
Link copied to clipboard
protected var velocityY: Double
Link copied to clipboard
protected var velocityZ: Double
Link copied to clipboard
protected val world: ClientWorld
Link copied to clipboard
protected var x: Double
Link copied to clipboard
protected var y: Double
Link copied to clipboard
protected var z: Double

Functions

Link copied to clipboard
open override fun getType(): ParticleTextureSheet
Link copied to clipboard
open override fun move(dx: Double, dy: Double, dz: Double)

Inherited functions

Link copied to clipboard
open override fun buildGeometry(vertexConsumer: VertexConsumer, camera: Camera, tickDelta: Float)
Link copied to clipboard
protected open fun getBrightness(tint: Float): Int
Link copied to clipboard
Link copied to clipboard
open fun getMaxAge(): Int
Link copied to clipboard
protected open override fun getMaxU(): Float
Link copied to clipboard
protected open override fun getMaxV(): Float
Link copied to clipboard
protected open override fun getMinU(): Float
Link copied to clipboard
protected open override fun getMinV(): Float
Link copied to clipboard
Link copied to clipboard
open fun getSize(tickDelta: Float): Float
Link copied to clipboard
open fun isAlive(): Boolean
Link copied to clipboard
open fun markDead()
Link copied to clipboard
open fun move(speed: Float): Particle
Link copied to clipboard
protected open fun repositionFromBoundingBox()
Link copied to clipboard
open override fun scale(scale: Float): Particle
Link copied to clipboard
protected open fun setAlpha(alpha: Float)
Link copied to clipboard
protected open fun setBoundingBoxSpacing(spacingXZ: Float, spacingY: Float)
Link copied to clipboard
open fun setColor(red: Float, green: Float, blue: Float)
Link copied to clipboard
open fun setMaxAge(maxAge: Int)
Link copied to clipboard
open fun setPos(x: Double, y: Double, z: Double)
Link copied to clipboard
open fun setSprite(spriteProvider: SpriteProvider)
protected open fun setSprite(sprite: Sprite)
Link copied to clipboard
open fun setSpriteForAge(spriteProvider: SpriteProvider)
Link copied to clipboard
open fun setVelocity(velocityX: Double, velocityY: Double, velocityZ: Double)
Link copied to clipboard
open fun tick()
Link copied to clipboard
open override fun toString(): String