VanillaModelPart

subclasses VanillaPart

Represents a model part in a vanilla model
Can be queried for vanilla transform values

VanillaModelPart.getOriginVisible

Gets if this vanilla model part is visible or not, without interference from your script
overload 1:
VanillaModelPart:getOriginVisible()
Method Property Fluent Description Representation
Return Value a Boolean

VanillaModelPart.getOriginPos

Gets the position offset to this vanilla model part currently applied by Minecraft
overload 1:
VanillaModelPart:getOriginPos()
Method Property Fluent Description Representation
Return Value a Vector3

VanillaModelPart.getOriginRot

Gets the rotation to this vanilla model part currently applied by Minecraft
overload 1:
VanillaModelPart:getOriginRot()
Method Property Fluent Description Representation
Return Value a Vector3

VanillaModelPart.getOriginScale

Gets the scale to this vanilla model part currently applied by Minecraft
overload 1:
VanillaModelPart:getOriginScale()
Method Property Fluent Description Representation
Return Value a Vector3

VanillaModelPart.setScale

Inherited from VanillaPart

Set this part's scale
overload 1:
VanillaModelPart:setScale(scale)
Method Property Fluent Description Representation
scale accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:setScale(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.getScale

Inherited from VanillaPart

Get this part's set scale
Returns the value set by the "set" function
overload 1:
VanillaModelPart:getScale()
Method Property Fluent Description Representation
Return Value a Vector3

VanillaModelPart.getPos

Inherited from VanillaPart

Get this part's set position
Returns the value set by the "set" function
overload 1:
VanillaModelPart:getPos()
Method Property Fluent Description Representation
Return Value a Vector3

VanillaModelPart.getRot

Inherited from VanillaPart

Get this part's set rotation
Returns the value set by the "set" function
overload 1:
VanillaModelPart:getRot()
Method Property Fluent Description Representation
Return Value a Vector3

VanillaModelPart.setPos

Inherited from VanillaPart

Set this part's position, preserving the previous values
overload 1:
VanillaModelPart:setPos(pos)
Method Property Fluent Description Representation
pos accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:setPos(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.getOffsetScale

Inherited from VanillaPart

Gets this part's scale offset
overload 1:
VanillaModelPart:getOffsetScale()
Method Property Fluent Description Representation
Return Value a Vector3

VanillaModelPart.getOffsetRot

Inherited from VanillaPart

Gets this part's rotation offset
overload 1:
VanillaModelPart:getOffsetRot()
Method Property Fluent Description Representation
Return Value a Vector3

VanillaModelPart.setRot

Inherited from VanillaPart

Set this part's rotation
overload 1:
VanillaModelPart:setRot(rot)
Method Property Fluent Description Representation
rot accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:setRot(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.setOffsetScale

Inherited from VanillaPart

Offsets this part's scale, multiplying with the vanilla values
overload 1:
VanillaModelPart:setOffsetScale(offsetScale)
Method Property Fluent Description Representation
offsetScale accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:setOffsetScale(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.setOffsetRot

Inherited from VanillaPart

Offsets this part's rotation, adding on top of the vanilla values
overload 1:
VanillaModelPart:setOffsetRot(offsetRot)
Method Property Fluent Description Representation
offsetRot accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:setOffsetRot(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.setVisible

Inherited from VanillaPart

Sets this part to be visible or invisible
overload 1:
VanillaModelPart:setVisible(visible)
Method Property Fluent Description Representation
visible accepts a Boolean
Return Value a VanillaPart

VanillaModelPart.getVisible

Inherited from VanillaPart

Gets whether you have set this part to be visible or invisible
overload 1:
VanillaModelPart:getVisible()
Method Property Fluent Description Representation
Return Value a Boolean

VanillaModelPart.scale

Inherited from VanillaPart

Set this part's scale
overload 1:
VanillaModelPart:scale(scale)
Method Property Fluent Description Representation
scale accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:scale(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.pos

Inherited from VanillaPart

Set this part's position, preserving the previous values
overload 1:
VanillaModelPart:pos(pos)
Method Property Fluent Description Representation
pos accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:pos(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.rot

Inherited from VanillaPart

Set this part's rotation
overload 1:
VanillaModelPart:rot(rot)
Method Property Fluent Description Representation
rot accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:rot(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.offsetScale

Inherited from VanillaPart

Offsets this part's scale, multiplying with the vanilla values
overload 1:
VanillaModelPart:offsetScale(offsetScale)
Method Property Fluent Description Representation
offsetScale accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:offsetScale(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.offsetRot

Inherited from VanillaPart

Offsets this part's rotation, adding on top of the vanilla values
overload 1:
VanillaModelPart:offsetRot(offsetRot)
Method Property Fluent Description Representation
offsetRot accepts a Vector3
Return Value a VanillaPart
overload 2:
VanillaModelPart:offsetRot(x, y, z)
Method Property Fluent Description Representation
x accepts a Number
y accepts a Number
z accepts a Number
Return Value a VanillaPart

VanillaModelPart.visible

Inherited from VanillaPart

Sets this part to be visible or invisible
overload 1:
VanillaModelPart:visible(visible)
Method Property Fluent Description Representation
visible accepts a Boolean
Return Value a VanillaPart
a a