MineLittlePony/src/main/java/com/minelittlepony/model/capabilities/IModelPart.java

23 lines
603 B
Java
Raw Normal View History

2018-05-11 13:52:42 +02:00
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);
}