ItemTask

subclasses RenderTask

A task for rendering an Item

ItemTask.item

figura.docs.item_task.item
overload 1:
ItemTask:item(item)
Method Property Fluent Description Representation
item accepts a String
Return Value a RenderTask
overload 2:
ItemTask:item(item)
Method Property Fluent Description Representation
item accepts an ItemStack
Return Value a RenderTask

ItemTask.renderType

figura.docs.item_task.render_type
overload 1:
ItemTask:renderType(renderType)
Method Property Fluent Description Representation
renderType accepts a String
Return Value a RenderTask

ItemTask.getRenderType

figura.docs.item_task.get_render_type
overload 1:
ItemTask:getRenderType()
Method Property Fluent Description Representation
Return Value a String

ItemTask.scale

Inherited from RenderTask

figura.docs.render_task.scale
overload 1:
ItemTask:scale(scale)
Method Property Fluent Description Representation
scale accepts a Vector3
Return Value a RenderTask
overload 2:
ItemTask:scale(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a RenderTask

ItemTask.enabled

Inherited from RenderTask

figura.docs.render_task.enabled
overload 1:
ItemTask:enabled(bool)
Method Property Fluent Description Representation
bool accepts a Boolean
Return Value a RenderTask

ItemTask.pos

Inherited from RenderTask

figura.docs.render_task.pos
overload 1:
ItemTask:pos(pos)
Method Property Fluent Description Representation
pos accepts a Vector3
Return Value a RenderTask
overload 2:
ItemTask:pos(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a RenderTask

ItemTask.isEnabled

Inherited from RenderTask

figura.docs.render_task.is_enabled
overload 1:
ItemTask:isEnabled()
Method Property Fluent Description Representation
Return Value a Boolean

ItemTask.rot

Inherited from RenderTask

figura.docs.render_task.rot
overload 1:
ItemTask:rot(rot)
Method Property Fluent Description Representation
rot accepts a Vector3
Return Value a RenderTask
overload 2:
ItemTask:rot(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a RenderTask

ItemTask.light

Inherited from RenderTask

figura.docs.render_task.light
overload 1:
ItemTask:light(light)
Method Property Fluent Description Representation
light accepts a Vector2
Return Value a RenderTask
overload 2:
ItemTask:light(blockLight, skyLight)
Method Property Fluent Description Representation
blockLight accepts an Integer
skyLight accepts an Integer
Return Value a RenderTask

ItemTask.overlay

Inherited from RenderTask

figura.docs.render_task.overlay
overload 1:
ItemTask:overlay(overlay)
Method Property Fluent Description Representation
overlay accepts a Vector2
Return Value a RenderTask
overload 2:
ItemTask:overlay(whiteOverlay, hurtOverlay)
Method Property Fluent Description Representation
whiteOverlay accepts an Integer
hurtOverlay accepts an Integer
Return Value a RenderTask

ItemTask.getPos

Inherited from RenderTask

Gets this task position
overload 1:
ItemTask:getPos()
Method Property Fluent Description Representation
Return Value a Vector3

ItemTask.getRot

Inherited from RenderTask

Gets this task rotation
overload 1:
ItemTask:getRot()
Method Property Fluent Description Representation
Return Value a Vector3

ItemTask.getScale

Inherited from RenderTask

Gets this task scale
overload 1:
ItemTask:getScale()
Method Property Fluent Description Representation
Return Value a Vector3

ItemTask.getOverlay

Inherited from RenderTask

Returns the overlay override value of this task
overload 1:
ItemTask:getOverlay()
Method Property Fluent Description Representation
Return Value a Vector2

ItemTask.getLight

Inherited from RenderTask

Returns the light override value of this task
overload 1:
ItemTask:getLight()
Method Property Fluent Description Representation
Return Value a Vector2
a a