2019-03-23 20:58:50 +01:00
|
|
|
package com.minelittlepony.model;
|
2018-05-11 13:52:42 +02:00
|
|
|
|
2019-11-23 18:28:42 +01:00
|
|
|
import net.minecraft.client.render.VertexConsumer;
|
|
|
|
import net.minecraft.client.util.math.MatrixStack;
|
|
|
|
|
2019-01-06 17:07:42 +01:00
|
|
|
import java.util.UUID;
|
|
|
|
|
2019-05-27 17:59:15 +02:00
|
|
|
public interface IPart extends PonyModelConstants {
|
2018-05-11 13:52:42 +02:00
|
|
|
/**
|
|
|
|
* Sets the model's various rotation angles.
|
|
|
|
*
|
|
|
|
* See {@link AbstractPonyMode.setRotationAndAngle} for an explanation of the various parameters.
|
|
|
|
*/
|
2019-01-06 17:07:42 +01:00
|
|
|
default void setRotationAndAngles(boolean rainboom, UUID interpolatorId, float move, float swing, float bodySwing, float ticks) {
|
2018-08-15 17:14:40 +02:00
|
|
|
|
2018-10-12 18:09:40 +02:00
|
|
|
}
|
2018-05-11 13:52:42 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Renders this model component.
|
|
|
|
*/
|
2019-11-23 18:28:42 +01:00
|
|
|
void renderPart(MatrixStack stack, VertexConsumer vertices, int overlayUv, int lightUv, float red, float green, float blue, float alpha, UUID interpolatorId);
|
2018-06-02 18:05:33 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets whether this part should be rendered.
|
|
|
|
*/
|
|
|
|
default void setVisible(boolean visible) {
|
|
|
|
|
|
|
|
}
|
2018-05-11 13:52:42 +02:00
|
|
|
}
|