mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-21 11:54:22 +01:00
23 lines
603 B
Java
23 lines
603 B
Java
|
package com.minelittlepony.model.capabilities;
|
||
|
|
||
|
public interface IModelPart {
|
||
|
/**
|
||
|
* Initialises all of the boxes in this modelpart.
|
||
|
* @param yOffset
|
||
|
* @param stretch
|
||
|
*/
|
||
|
void init(float yOffset, float stretch);
|
||
|
|
||
|
/**
|
||
|
* Sets the model's various rotation angles.
|
||
|
*
|
||
|
* See {@link AbstractPonyMode.setRotationAndAngle} for an explanation of the various parameters.
|
||
|
*/
|
||
|
void setRotationAndAngles(boolean rainboom, float move, float swing, float bodySwing, float ticks);
|
||
|
|
||
|
/**
|
||
|
* Renders this model component.
|
||
|
*/
|
||
|
void render(float scale);
|
||
|
}
|