models:getChildren()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | an array of ModelParts |
models:getTask()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | a table mapping a String to a RenderTask |
models:getTask(taskName)
Method Property | Fluent Description | Representation |
---|---|---|
taskName accepts | a String | |
Return Value | a RenderTask |
models:setPreRender(function)
Method Property | Fluent Description | Representation |
---|---|---|
function accepts | a function | |
Return Value | a ModelPart |
models:setMidRender(function)
Method Property | Fluent Description | Representation |
---|---|---|
function accepts | a function | |
Return Value | a ModelPart |
models:setPostRender(function)
Method Property | Fluent Description | Representation |
---|---|---|
function accepts | a function | |
Return Value | a ModelPart |
models:addTask(renderTask)
Method Property | Fluent Description | Representation |
---|---|---|
renderTask accepts | a RenderTask | |
Return Value | a RenderTask |
models:newSprite(taskName)
Method Property | Fluent Description | Representation |
---|---|---|
taskName accepts | a String | |
Return Value | a SpriteTask |
models:removeTask(renderTask)
Method Property | Fluent Description | Representation |
---|---|---|
renderTask accepts | a RenderTask | |
Return Value | a ModelPart |
models:newEntity(taskName)
Method Property | Fluent Description | Representation |
---|---|---|
taskName accepts | a String | |
Return Value | an EntityTask |
models:getPrimaryRenderType()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | either a RenderTypes or nil |
models:getSecondaryRenderType()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | either a RenderTypes or nil |