ServerParameters

class ServerParameters(val origin: Vec3d, val relativeTarget: Vec3d, val flameConeWidth: Vec3d, val flameConeHeight: Vec3d, val stepResolution: Int, val particle: SimpleParticleType, val rayResolution: Int, val flammableBlockFireChance: Double, val nonFlammableBlockFireChance: Double, val fireSeconds: Float, val fireDamage: Float) : CampfireFlameEntity.Parameters(source)

Server-side 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

rayResolution

The resolution to divide the fire cone both horizontally and vertically

particle

The flame particle the campfire staff shoots

flammableBlockFireChance

The chance a flammable block is set on fire

nonFlammableBlockFireChance

The chance a non-flammable block is set on fire

fireSeconds

The number of seconds an entity is set on fire by the flame

fireDamage

The damage amount dealt to an entity by the flame

Constructors

Link copied to clipboard
constructor(origin: Vec3d, relativeTarget: Vec3d, flameConeWidth: Vec3d, flameConeHeight: Vec3d, stepResolution: Int, particle: SimpleParticleType, rayResolution: Int, flammableBlockFireChance: Double, nonFlammableBlockFireChance: Double, fireSeconds: Float, fireDamage: Float)

Properties

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

Inherited 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

Inherited functions

Link copied to clipboard