Returns the entity associated with this task, or nil if the entity could not exist for any reason.
Due to the special circumstances some readings of the subsequent value may be completely useless 
EntityTask.asEntity(): EntityAPI | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.1263373079
Sets the light override value of this task
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 for this task 
EntityTask.light(light: Vector2): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| light accepts | typings.2002444079||
| Return Value | typings.-1107424165
EntityTask.light(blockLight: Integer, skyLight: Integer): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| blockLight accepts | typings.-672261858||
| skyLight accepts | typings.-672261858||
| Return Value | typings.-1107424165
Sets the given matrix as the position matrix for this render task
The normal matrix is automatically calculated as the inverse transpose of this matrix
Calling this DOES NOT CHANGE the values of position, rot, or scale in the render task
If you call setPos() or a similar function, the effects of setMatrix() will be overwritten 
EntityTask.matrix(matrix: Matrix4): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| matrix accepts | typings.-1789003661||
| Return Value | typings.-1107424165
Sets the overlay override value of this task
Values you give are 0 to 15, indicating the white overlay and the damage overlay levels you want to use
Passing nil will reset the overlay override for this task 
EntityTask.overlay(overlay: Vector2): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| overlay accepts | typings.2002444079||
| Return Value | typings.-1107424165
EntityTask.overlay(whiteOverlay: Integer, hurtOverlay: Integer): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| whiteOverlay accepts | typings.-672261858||
| hurtOverlay accepts | typings.-672261858||
| Return Value | typings.-1107424165
EntityTask.pos(pos: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| pos accepts | typings.2002444080||
| Return Value | typings.-1107424165
EntityTask.pos(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
EntityTask.rot(rot: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| rot accepts | typings.2002444080||
| Return Value | typings.-1107424165
EntityTask.rot(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
EntityTask.scale(scale: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| scale accepts | typings.2002444080||
| Return Value | typings.-1107424165
EntityTask.scale(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
Sets the light override value of this task
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 for this task 
EntityTask.setLight(light: Vector2): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| light accepts | typings.2002444079||
| Return Value | typings.-1107424165
EntityTask.setLight(blockLight: Integer, skyLight: Integer): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| blockLight accepts | typings.-672261858||
| skyLight accepts | typings.-672261858||
| Return Value | typings.-1107424165
Sets the given matrix as the position matrix for this render task
The normal matrix is automatically calculated as the inverse transpose of this matrix
Calling this DOES NOT CHANGE the values of position, rot, or scale in the render task
If you call setPos() or a similar function, the effects of setMatrix() will be overwritten 
EntityTask.setMatrix(matrix: Matrix4): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| matrix accepts | typings.-1789003661||
| Return Value | typings.-1107424165
EntityTask.setNbt(nbt: String): EntityTask | Method Property | Fluent Description | Representation |
|---|---|---|
| nbt accepts | typings.-1808118735||
| Return Value | typings.510443560
EntityTask.setNbt(id: String, nbt: String): EntityTask | Method Property | Fluent Description | Representation |
|---|---|---|
| id accepts | typings.-1808118735||
| nbt accepts | typings.-1808118735||
| Return Value | typings.510443560
Sets the overlay override value of this task
Values you give are 0 to 15, indicating the white overlay and the damage overlay levels you want to use
Passing nil will reset the overlay override for this task 
EntityTask.setOverlay(overlay: Vector2): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| overlay accepts | typings.2002444079||
| Return Value | typings.-1107424165
EntityTask.setOverlay(whiteOverlay: Integer, hurtOverlay: Integer): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| whiteOverlay accepts | typings.-672261858||
| hurtOverlay accepts | typings.-672261858||
| Return Value | typings.-1107424165
EntityTask.setPos(pos: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| pos accepts | typings.2002444080||
| Return Value | typings.-1107424165
EntityTask.setPos(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
EntityTask.setRot(rot: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| rot accepts | typings.2002444080||
| Return Value | typings.-1107424165
EntityTask.setRot(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
EntityTask.setScale(scale: Vector3): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| scale accepts | typings.2002444080||
| Return Value | typings.-1107424165
EntityTask.setScale(x: Number, y: Number, z: Number): RenderTask | Method Property | Fluent Description | Representation |
|---|---|---|
| x accepts | typings.-1950496919||
| y accepts | typings.-1950496919||
| z accepts | typings.-1950496919||
| Return Value | typings.-1107424165
Updates the walking animations given the new information, if applicable. For an expected result it should be called every tick with the appropriate value 
EntityTask.updateWalkingDistance(distance: Number): EntityTask | Method Property | Fluent Description | Representation |
|---|---|---|
| distance accepts | typings.-1950496919||
| Return Value | typings.510443560
listFiles
action_wheel
Action
BlockRaycastTypes