Server Parameters
class ServerParameters(val origin: Vec3d, val relativeTarget: Vec3d, val flameConeWidth: Vec3d, val flameConeHeight: Vec3d, val stepResolution: Int, val particleType: RegistryKey<out ParticleType<*>>, val rayResolution: Int, val flammableBlockFireChance: Double, val nonFlammableBlockFireChance: Double, val flameFireTicks: Int, val damageShooter: Boolean) : CampfireFlameEntity.Parameters(source)
Server-side parameters of a CampfireFlameEntity.
Parameters
origin
Starting position of the entity
relative Target
The position towards the fire goes relative to origin
flame Cone Width
The width of the fire cone, points right relative to the shooter's POV
flame Cone Height
The height of the fire cone, points up relative to the shooter's POV
step Resolution
How many ticks to divide the distance between origin and relativeTarget
ray Resolution
The resolution to divide the fire cone both horizontally and vertically
particle Type
The registry key of the flame particle type in Registries.PARTICLE_TYPE
flammable Block Fire Chance
The chance a flammable block is set on fire
non Flammable Block Fire Chance
The chance a non-flammable block is set on fire
flame Fire Ticks
The number of ticks an entity is additionally set on fire for
damage Shooter
Whether the flame should damage the shooter
Constructors
Link copied to clipboard
constructor(origin: Vec3d, relativeTarget: Vec3d, flameConeWidth: Vec3d, flameConeHeight: Vec3d, stepResolution: Int, particleType: RegistryKey<out ParticleType<*>>, rayResolution: Int, flammableBlockFireChance: Double, nonFlammableBlockFireChance: Double, flameFireTicks: Int, damageShooter: Boolean)