Parameters

open class Parameters(val origin: Vec3d, val relativeTarget: Vec3d, val flameConeWidth: Vec3d, val flameConeHeight: Vec3d, val stepResolution: Int, val particleType: RegistryKey<out ParticleType<*>>)(source)

Parameters of a CampfireFlameEntity.

Parameters

origin

Starting position of the entity

relativeTarget

The position towards the fire goes relative to origin

flameConeWidth

The width of the fire cone, points right relative to the shooter's POV

flameConeHeight

The height of the fire cone, points up relative to the shooter's POV

stepResolution

How many ticks to divide the distance between origin and relativeTarget

particleType

The registry key of the flame particle type in Registries.PARTICLE_TYPE

Inheritors

Constructors

Link copied to clipboard
constructor(buf: PacketByteBuf)
constructor(origin: Vec3d, relativeTarget: Vec3d, flameConeWidth: Vec3d, flameConeHeight: Vec3d, stepResolution: Int, particleType: RegistryKey<out ParticleType<*>>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard