2023-10-28 18:33:26 +02:00
|
|
|
package net.anvilcraft.anvillib.cosmetics;
|
|
|
|
|
|
|
|
import net.minecraft.util.Identifier;
|
|
|
|
|
|
|
|
public interface ICosmetic {
|
|
|
|
Identifier getAnimationFileLocation();
|
|
|
|
|
|
|
|
Identifier getModelLocation();
|
|
|
|
|
|
|
|
Identifier getTextureLocation();
|
|
|
|
|
|
|
|
default String getHead() {
|
|
|
|
return null; //head
|
|
|
|
}
|
|
|
|
|
|
|
|
default String getBody() {
|
|
|
|
return null; //body
|
|
|
|
}
|
|
|
|
|
|
|
|
default String getLeftArm() {
|
|
|
|
return null; //arm_left
|
|
|
|
}
|
|
|
|
|
|
|
|
default String getRightArm() {
|
|
|
|
return null; //arm_right
|
|
|
|
}
|
|
|
|
|
|
|
|
default String getLeftLeg() {
|
|
|
|
return null; //leg_left
|
|
|
|
}
|
|
|
|
|
|
|
|
default String getRightLeg() {
|
|
|
|
return null; //leg_right
|
|
|
|
}
|
|
|
|
|
2023-10-29 13:34:50 +01:00
|
|
|
default String getIdleAnimationName() {
|
|
|
|
return null;
|
|
|
|
}
|
2023-10-28 18:33:26 +02:00
|
|
|
|
|
|
|
default boolean readyToRender() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
Identifier getID();
|
2023-10-29 13:34:50 +01:00
|
|
|
|
|
|
|
default int getTotalFrames() {
|
|
|
|
return 1;
|
|
|
|
}
|
2023-10-28 18:33:26 +02:00
|
|
|
}
|