EntityNameplateCustomization

subclasses NameplateCustomization

A nameplate customization that is specialized for entities

EntityNameplateCustomization.scale

Sets the scale factor of the nameplate
overload 1:
EntityNameplateCustomization:scale(scale)
Method Property Fluent Description Representation
scale accepts a Vector3
Return Value an EntityNameplateCustomization
overload 2:
EntityNameplateCustomization:scale(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value an EntityNameplateCustomization

EntityNameplateCustomization.pos

Sets the position offset of the nameplate, in world coordinates
overload 1:
EntityNameplateCustomization:pos(pos)
Method Property Fluent Description Representation
pos accepts a Vector3
Return Value an EntityNameplateCustomization
overload 2:
EntityNameplateCustomization:pos(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value an EntityNameplateCustomization

EntityNameplateCustomization.visible

figura.docs.animation.set_visible
overload 1:
EntityNameplateCustomization:visible(visible)
Method Property Fluent Description Representation
visible accepts a Boolean
Return Value an EntityNameplateCustomization

EntityNameplateCustomization.setScale

Sets the scale factor of the nameplate
overload 1:
EntityNameplateCustomization:setScale(scale)
Method Property Fluent Description Representation
scale accepts a Vector3
Return Value nil
overload 2:
EntityNameplateCustomization:setScale(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value nil

EntityNameplateCustomization.isVisible

Gets whether or not the nameplate should be rendered
overload 1:
EntityNameplateCustomization:isVisible()
Method Property Fluent Description Representation
Return Value a Boolean

EntityNameplateCustomization.getPos

Gets the position offset of the nameplate, in world coordinates
overload 1:
EntityNameplateCustomization:getPos()
Method Property Fluent Description Representation
Return Value a Vector3

EntityNameplateCustomization.setPos

Sets the position offset of the nameplate, in world coordinates
overload 1:
EntityNameplateCustomization:setPos(pos)
Method Property Fluent Description Representation
pos accepts a Vector3
Return Value nil
overload 2:
EntityNameplateCustomization:setPos(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value nil

EntityNameplateCustomization.getLight

Gets the lighting override value
overload 1:
EntityNameplateCustomization:getLight()
Method Property Fluent Description Representation
Return Value a Vector2

EntityNameplateCustomization.setLight

Sets the light override value
Values are given from 0 to 15,
indicating the block light and sky light levels you want to use
Passing nil will reset the lighting override
overload 1:
EntityNameplateCustomization:setLight(light)
Method Property Fluent Description Representation
light accepts a Vector2
Return Value nil
overload 2:
EntityNameplateCustomization:setLight(blockLight, skyLight)
Method Property Fluent Description Representation
blockLight accepts an Integer
skyLight accepts an Integer
Return Value nil

EntityNameplateCustomization.outlineColor

Sets the color used for the outline in the outline mode
overload 1:
EntityNameplateCustomization:outlineColor(color)
Method Property Fluent Description Representation
color accepts a Vector3
Return Value an EntityNameplateCustomization
overload 2:
EntityNameplateCustomization:outlineColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value an EntityNameplateCustomization

EntityNameplateCustomization.setOutlineColor

Sets the color used for the outline in the outline mode
overload 1:
EntityNameplateCustomization:setOutlineColor(color)
Method Property Fluent Description Representation
color accepts a Vector3
Return Value nil
overload 2:
EntityNameplateCustomization:setOutlineColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value nil

EntityNameplateCustomization.hasOutline

figura.docs.nameplate_entity.has_outline
overload 1:
EntityNameplateCustomization:hasOutline()
Method Property Fluent Description Representation
Return Value a Boolean

EntityNameplateCustomization.setOutline

figura.docs.animation.set_outline
overload 1:
EntityNameplateCustomization:setOutline(outline)
Method Property Fluent Description Representation
outline accepts a Boolean
Return Value nil

EntityNameplateCustomization.hasShadow

Gets whether or not the nameplate should have shadow
overload 1:
EntityNameplateCustomization:hasShadow()
Method Property Fluent Description Representation
Return Value a Boolean

EntityNameplateCustomization.setBackgroundColor

Sets the color of the nameplate background
If the alpha value is not given,
it will use the vanilla value (as in the accessibility settings)
overload 1:
EntityNameplateCustomization:setBackgroundColor(rgb)
Method Property Fluent Description Representation
rgb accepts a Vector3
Return Value nil
overload 2:
EntityNameplateCustomization:setBackgroundColor(rgba)
Method Property Fluent Description Representation
rgba accepts a Vector4
Return Value nil
overload 3:
EntityNameplateCustomization:setBackgroundColor(rgb, a)
Method Property Fluent Description Representation
rgb accepts a Vector3
a accepts a Number
Return Value nil
overload 4:
EntityNameplateCustomization:setBackgroundColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value nil
overload 5:
EntityNameplateCustomization:setBackgroundColor(r, g, b, a)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
a accepts a Number
Return Value nil

EntityNameplateCustomization.backgroundColor

Sets the color of the nameplate background
If the alpha value is not given,
it will use the vanilla value (as in the accessibility settings)
overload 1:
EntityNameplateCustomization:backgroundColor(rgb)
Method Property Fluent Description Representation
rgb accepts a Vector3
Return Value an EntityNameplateCustomization
overload 2:
EntityNameplateCustomization:backgroundColor(rgba)
Method Property Fluent Description Representation
rgba accepts a Vector4
Return Value an EntityNameplateCustomization
overload 3:
EntityNameplateCustomization:backgroundColor(rgb, a)
Method Property Fluent Description Representation
rgb accepts a Vector3
a accepts a Number
Return Value an EntityNameplateCustomization
overload 4:
EntityNameplateCustomization:backgroundColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value an EntityNameplateCustomization
overload 5:
EntityNameplateCustomization:backgroundColor(r, g, b, a)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
a accepts a Number
Return Value an EntityNameplateCustomization

EntityNameplateCustomization.light

Sets the light override value
Values are given from 0 to 15,
indicating the block light and sky light levels you want to use
Passing nil will reset the lighting override
overload 1:
EntityNameplateCustomization:light(light)
Method Property Fluent Description Representation
light accepts a Vector2
Return Value an EntityNameplateCustomization
overload 2:
EntityNameplateCustomization:light(blockLight, skyLight)
Method Property Fluent Description Representation
blockLight accepts an Integer
skyLight accepts an Integer
Return Value an EntityNameplateCustomization

EntityNameplateCustomization.getScale

Gets scale factor of the nameplate
overload 1:
EntityNameplateCustomization:getScale()
Method Property Fluent Description Representation
Return Value a Vector3

EntityNameplateCustomization.setVisible

figura.docs.animation.set_visible
overload 1:
EntityNameplateCustomization:setVisible(visible)
Method Property Fluent Description Representation
visible accepts a Boolean
Return Value nil

EntityNameplateCustomization.outline

figura.docs.animation.set_outline
overload 1:
EntityNameplateCustomization:outline(outline)
Method Property Fluent Description Representation
outline accepts a Boolean
Return Value an EntityNameplateCustomization

EntityNameplateCustomization.setShadow

figura.docs.animation.set_shadow
overload 1:
EntityNameplateCustomization:setShadow(shadow)
Method Property Fluent Description Representation
shadow accepts a Boolean
Return Value nil

EntityNameplateCustomization.shadow

figura.docs.animation.set_shadow
overload 1:
EntityNameplateCustomization:shadow(shadow)
Method Property Fluent Description Representation
shadow accepts a Boolean
Return Value an EntityNameplateCustomization

EntityNameplateCustomization.getText

Inherited from NameplateCustomization

The text to use in this nameplate
overload 1:
EntityNameplateCustomization:getText()
Method Property Fluent Description Representation
Return Value a String

EntityNameplateCustomization.setText

Inherited from NameplateCustomization

The text to use in this nameplate
overload 1:
EntityNameplateCustomization:setText(text)
Method Property Fluent Description Representation
text accepts a String
Return Value nil
a a